# Apollo

> Automate Apollo.io: enrich people and companies, search Apollo's B2B database, and manage contacts and accounts with an API key.

App · Contact Management · 8 actions. Web page: https://docs.lodol.com/docs/integrations/apollo

## Actions

### Create account

Add a new account (a company your team is tracking) to your Apollo account.

**Inputs**

- Name (`name`, text, required): Name of the company
- Domain (`domain`, text): Domain of the company (e.g. apollo.io)
- Phone (`phone`, text): Primary phone number for the company
- Address (`raw_address`, text): Company address, written as ordinary text

**Outputs**: None.

**Example output**

```json
{
  "account": {}
}
```

### Create contact

Add a new contact to your team's Apollo account.

**Inputs**

- First name (`first_name`, text): First name of the contact
- Last name (`last_name`, text): Last name of the contact
- Email (`email`, text): Email address of the contact
- Title (`title`, text): Job title of the contact
- Organization name (`organization_name`, text): Name of the contact's employer
- Account ID (`account_id`, text): ID of the Apollo account (company) to link the contact to
- Website URL (`website_url`, text): Website URL of the contact's employer
- List names (`label_names`, list): Names of the Apollo lists to add the contact to

**Outputs**: None.

**Example output**

```json
{
  "contact": {}
}
```

### Enrich organization

Enrich a single company by its domain.

**Inputs**

- Domain (`domain`, text, required): Company domain to enrich (e.g. apollo.io)

**Outputs**: None.

**Example output**

```json
{
  "organization": {}
}
```

### Enrich person

Enrich a single person with Apollo data such as title, company, and (optionally) personal email addresses.

**Inputs**

- Email (`email`, text): Email address of the person
- First name (`first_name`, text): First name of the person
- Last name (`last_name`, text): Last name of the person
- Name (`name`, text): Full name of the person
- Organization name (`organization_name`, text): Name of the person's employer
- Domain (`domain`, text): Domain of the person's employer (e.g. apollo.io)
- Reveal personal emails (`reveal_personal_emails`, true/false): Set to true to include the person's personal email addresses. This uses Apollo credits.

**Outputs**: None.

**Example output**

```json
{
  "person": {}
}
```

### Search contacts

Search the contacts that already exist in your Apollo account.

**Inputs**

- Keywords (`q_keywords`, text): Keywords to search for, such as a name or company
- Page (`page`, number): Page number (starts at 1)
- Per page (`per_page`, number): Results per page (1-100)

**Outputs**

- `contacts` (list)

**Example output**

```json
{
  "contacts": [],
  "pagination": {}
}
```

### Search organizations

Search Apollo's database of companies using filters.

**Inputs**

- Company name (`q_organization_name`, text): Company name to search for
- Organization locations (`organization_locations`, list): Company headquarters locations to filter by, e.g. 'Texas' or 'Japan'
- Employee count ranges (`organization_num_employees_ranges`, list): Employee count ranges, each written as 'min,max' (e.g. '1,10' or '11,50')
- Page (`page`, number): Page number (starts at 1)
- Per page (`per_page`, number): Results per page (1-100)

**Outputs**

- `organizations` (list)

**Example output**

```json
{
  "organizations": [],
  "pagination": {}
}
```

### Search people

Search Apollo's B2B database of people using filters. Results do not include email addresses or phone numbers; use 'Enrich person' to reveal a matched person's contact details.

**Inputs**

- Keywords (`q_keywords`, text): Keywords to search for, such as a name or job title
- Person titles (`person_titles`, list): Job titles to filter by, e.g. 'CEO' or 'VP of Sales'
- Person locations (`person_locations`, list): Where the people are based, e.g. 'California' or 'United Kingdom'
- Organization domains (`organization_domains`, list): Employer domains to filter by (e.g. apollo.io)
- Page (`page`, number): Page number (starts at 1)
- Per page (`per_page`, number): Results per page (1-100)

**Outputs**

- `people` (list)

**Example output**

```json
{
  "pagination": {},
  "people": []
}
```

### Update contact

Update an existing Apollo contact by its ID.

**Inputs**

- Contact ID (`contact_id`, text, required): ID of the Apollo contact to update
- First name (`first_name`, text): First name of the contact
- Last name (`last_name`, text): Last name of the contact
- Email (`email`, text): Email address of the contact
- Title (`title`, text): Job title of the contact
- Organization name (`organization_name`, text): Name of the contact's employer
- Account ID (`account_id`, text): ID of the Apollo account (company) to link the contact to

**Outputs**: None.

**Example output**

```json
{
  "contact": {}
}
```
