with Vectera 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 Vectera API enables users to streamline scheduling and video meeting management directly within their own platforms or through integration with other services. With the Vectera API, you can automate the creation of meeting rooms, manage contacts, and handle meeting recordings. Leverage Pipedream's capabilities to trigger workflows from various events, process data, and connect Vectera with other apps to create powerful automations.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
vectera: {
type: "app",
app: "vectera",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.vectera.com/api/v1/users`,
headers: {
"Content-Type": `${this.vectera.$auth.api_token}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})