The leading data-first sales acceleration platform.
Adds one or more contacts to a sequence in Apollo.io. See the documentation
Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.
The Apollo.io API on Pipedream enables you to automate sales processes by giving you programmatic access to your Apollo.io data. Through this API, you can manage leads, contacts, and opportunities, or sync data with your CRM. Pipedream's serverless platform allows you to connect Apollo.io with hundreds of other apps to automate workflows like lead enrichment, data syncing between apps, and triggering personalized communication based on prospect actions.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
apollo_io: {
type: "app",
app: "apollo_io",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.apollo.io/v1/users/search`,
headers: {
"Cache-Control": `no-cache`,
"Content-Type": `application/json`,
},
params: {
api_key: `${this.apollo_io.$auth.api_key}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})