with Follow Up Boss 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 Follow Up Boss API allows you to interact with your customer relationship management data programmatically. With it, you can create, read, update, and delete contacts, deals, and communication logs. On Pipedream, you leverage this API to build automations and integrations that streamline your sales process, synchronize data across platforms, and trigger personalized client interactions based on specific events or conditions.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
follow_up_boss: {
type: "app",
app: "follow_up_boss",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.followupboss.com/v1/me`,
auth: {
username: `${this.follow_up_boss.$auth.api_key}`,
password: ``,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})