with VerifyBee 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.
VerifyBee is a powerful tool designed for validating emails and phone numbers, ensuring that your contact lists are accurate and up-to-date. By integrating VerifyBee with Pipedream, you can automate the process of cleaning your contact data across various platforms, trigger communications with confidence, and maintain the integrity of your CRM or customer databases. The API allows developers to check the validity of emails and phone numbers, which can be crucial for reducing bounce rates and improving communication efficiency.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
verifybee: {
type: "app",
app: "verifybee",
}
},
async run({steps, $}) {
const data = {
"email": `marc@salesforce.com`,
}
return await axios($, {
method: "post",
url: `https://app.verifybee.io/api/v1.3/verify/`,
headers: {
"Vb-Token": `${this.verifybee.$auth.api_key}`,
},
data,
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})