with Biztera and Formatting?
Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.
Format a date string to another date string. For more examples on formatting, see the Sugar Date Format documentation.
The Biztera API allows users to automate their decision-making processes and approval workflows, offering features like requesting approvals, tracking decision status, and integrating with other business tools. Leveraging the Biztera API on Pipedream, you can craft serverless workflows that streamline how approvals are managed within your organization, trigger notifications based on decision changes, and synchronize Biztera data with other systems such as CRMs, project management tools, or custom databases.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
biztera: {
type: "app",
app: "biztera",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://biztera.com/api/v1/me`,
headers: {
Authorization: `Bearer ${this.biztera.$auth.oauth_access_token}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})