with Revamp CRM 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 Revamp CRM API provides a suite of tools for managing customer relationships and sales processes. Integrating Revamp CRM with Pipedream allows users to automate actions based on CRM events, sync data between multiple platforms, and create custom workflows to streamline business operations. With Pipedream's serverless platform, you can trigger workflows from Revamp CRM events, perform operations on your CRM data, and connect Revamp CRM with other apps to power up your sales and marketing efforts.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
revamp_crm: {
type: "app",
app: "revamp_crm",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.revampcrm.com/api/1.0/User/WhoAmI`,
auth: {
username: `${this.revamp_crm.$auth.email}`,
password: `${this.revamp_crm.$auth.api_key}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})