Setu Recipes: reusable digital workers across every app.Browse templates

Integrations / Apollo

Apollo

Sales intelligence: search and enrich people and companies, search and create contacts.

5 actions API key 3 read2 write Calls api.apollo.io

Connect

TypeScript
const conn = await setu.connections.initiate({ userId: "user_1", toolkit: "apollo" });
console.log(conn.connectUrl); // show this to your user
await conn.waitUntilActive();

Permissions requested

This toolkit uses a single credential and requests no scopes.

Actions

Create contactwriteapollo.create_contactSave a new contact in your Apollo account. With run_dedupe true, an existing match is updated and returned instead of creating a duplicate.
InputTypeDescription
first_namestringOptionalFirst name
last_namestringOptionalLast name
emailstringOptionalEmail address
organization_namestringOptionalEmployer
titlestringOptionalJob title
run_dedupebooleanOptionalUpdate an existing matching contact instead of duplicating
TypeScript
await setu.execute({
  userId: "user_1",
  action: "apollo.create_contact",
  input: {},
});
Enrich organizationreadapollo.enrich_organizationLook up a company by domain (or LinkedIn URL / website) and return Apollo's firmographics. Costs 1 Apollo credit per company.
InputTypeDescription
domainstringOptionalCompany domain without www, e.g. apollo.io
linkedin_urlstringOptionalCompany LinkedIn URL
websitestringOptionalFull website URL
namestringOptionalCompany name, only to improve a match on another identifier
TypeScript
await setu.execute({
  userId: "user_1",
  action: "apollo.enrich_organization",
  input: {},
});
Enrich personwriteapollo.enrich_personMatch one person by email, name plus company, or LinkedIn URL and return their Apollo profile, including email. Spends Apollo credits.
InputTypeDescription
emailstringOptionalEmail address
first_namestringOptionalFirst name
last_namestringOptionalLast name
namestringOptionalFull name
organization_namestringOptionalEmployer name
domainstringOptionalEmployer domain without www
linkedin_urlstringOptionalLinkedIn profile URL
idstringOptionalApollo person id
TypeScript
await setu.execute({
  userId: "user_1",
  action: "apollo.enrich_person",
  input: {},
});
Search contactsreadapollo.search_contactsSearch the contacts already saved in your Apollo account by name, title, employer or email keywords.
InputTypeDescription
q_keywordsstringOptionalKeywords: names, titles, employers or emails
pageintegerOptionalPage number
per_pageintegerOptionalResults per page (max 100)
TypeScript
await setu.execute({
  userId: "user_1",
  action: "apollo.search_contacts",
  input: {},
});
Search peoplereadapollo.search_peopleSearch Apollo's database for people by keywords, name, title, location, seniority or employer domain. Free of credits; results hide emails and phones, use enrich_person for those.
InputTypeDescription
q_keywordsstringOptionalKeywords
q_person_namestringOptionalPerson name
person_titlestringOptionalOne job title to match
person_locationstringOptionalOne person location, e.g. California, US
person_senioritystringOptionalOne seniority, e.g. vp, director, manager
organization_domainstringOptionalOne employer domain, e.g. apollo.io
pageintegerOptionalPage number
per_pageintegerOptionalResults per page (max 100)
TypeScript
await setu.execute({
  userId: "user_1",
  action: "apollo.search_people",
  input: {},
});