with Qwilr 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 Qwilr API offers a programmable way to generate and manage proposals, quotes, and web-based documents. Using Pipedream, you can automate document lifecycle events, streamline proposal approvals, and synchronize Qwilr data with CRM platforms or other databases. Leverage the power of serverless workflows to react to new document events, update records in real-time, and create notifications or follow-ups that enhance collaboration and efficiency.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
qwilr: {
type: "app",
app: "qwilr",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.qwilr.com/v1/blocks/saved`,
headers: {
Authorization: `Bearer ${this.qwilr.$auth.access_token}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})