with AeroLeads 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.
AeroLeads API offers a robust solution for automating lead generation and prospecting activities. By leveraging this API on Pipedream, you can streamline the process of finding potential contacts, enriching their data, and syncing with your CRM or marketing tools. To maximize efficiency, you can set up workflows that react to specific triggers, process the data, and perform actions such as creating leads, updating contact lists, and sending personalized outreach emails.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
aeroleads: {
type: "app",
app: "aeroleads",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://aeroleads.com/apis/details`,
params: {
api_key: `${this.aeroleads.$auth.api_key}`,
first_name: `pushkar`,
last_name: `gaikwad`,
company_url: `inboundio.com`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})