EngageBay is an affordable all-in-one CRM with marketing, sales & support solution for growing businesses to engage and convert web visitors to happy customers.
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.
EngageBay is a comprehensive customer relationship management (CRM) and marketing automation platform designed to help businesses attract, engage, and convert web visitors into customers. By leveraging the EngageBay API with Pipedream, you can automate intricate tasks, synchronize data across different applications, and create personalized customer experiences. From automating lead capture to syncing contacts and creating custom email campaigns based on user actions, Pipedream's serverless platform enables you to craft workflows that streamline your sales and marketing processes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
engagebay: {
type: "app",
app: "engagebay",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.engagebay.com/dev/api/panel/users`,
headers: {
"Authorization": `${this.engagebay.$auth.api_key}`,
"Accept": `application/json`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})