Sales & CRM · Marketing

Apollo MCP

Search and enrich people and companies, manage contacts, accounts, deals, tasks and sequences, and run Apollo AI agents through Apollo.io's hosted MCP server.

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • Apollo accounts bulk create

    Create many accounts (companies) in one call. Pass an array of account objects under accounts. No deduplication is applied by default: each object becomes a new account even if it matches one you already have. Set run_dedupe to true to skip entries that already exist; those come back under existing_accounts, unchanged. Pass run_dedupe at the top level, next to accounts — never inside an account object. Maximum 100 accounts per call. Entries are not compared against each other, so collapse repeated domains before sending. Creating an account cannot be undone. Use Update an Account to change one that already exists. To set custom fields, first call the List Custom Fields tool (apollo_fields_index) and use the field whose modality is 'account', then pass typed_custom_fields keyed by the returned field IDs on each account object. If this tool returns an unexpected, empty, or unhelpful result, call `apollo_feedback_log` to report it.

  • Apollo accounts create

    Use the Create an Account endpoint to add a new account to your team's Apollo account. Use this when adding a single account; to add several at once, use the Bulk Create Accounts tool (apollo_accounts_bulk_create). In Apollo terminology, an account is a company that your team has explicitly added to your database. Apollo does not apply deduplication processes when you create a new account via the API. If your entry has the same name, domain, or other details as an existing account, Apollo will create a new account instead of updating the existing account. Creating an account cannot be undone. To update an existing account, use the Update an Account endpoint instead. To set custom fields, first call the List Custom Fields tool (apollo_fields_index) and use the field whose modality is 'account', then pass typed_custom_fields keyed by the returned field IDs. If this tool returns an unexpected, empty, or unhelpful result, call `apollo_feedback_log` to report it.

  • Apollo accounts update

    Use the Update an Account endpoint to update existing accounts in your team's Apollo account. The values you send overwrite the account's current values, and that cannot be undone. In Apollo terminology, an account is a company that your team has explicitly added to your database. To create a new account, use the Create an Account endpoint instead. To set custom fields, first call the List Custom Fields tool (apollo_fields_index) and use the field whose modality is 'account', then pass typed_custom_fields keyed by the returned field IDs. To change the owner or stage of one account, pass owner_id or account_stage_id. These follow the same permissions as the Apollo app. If this tool returns an unexpected, empty, or unhelpful result, call `apollo_feedback_log` to report it.

  • Apollo agent analyze performance

    Run open-ended sales & marketing performance analysis, synthesized reports, and dashboards across emails, calls, meetings, sequences, pipeline/stages, and rep productivity. (For a single deterministic metric pull, prefer `apollo_analytics_sync_report`. To find out why a sequence gets few opens/replies and what to change in it, use `apollo_agent_optimize_sequences`.) Examples: - "How is my team performing on outbound?" (synthesized narrative report) - "Build a 6-report dashboard segmented by user, week over week." Apollo terminology (for non-Apollo agents mapping user language): "Plays" = workflows; "power-ups" / "magic columns" = AI research fields; "sequences" / "campaigns" = multi-step outreach; "Context Center" = the team's ICP & product profile; ICP = ideal customer profile, TAM = total addressable market; "conversation intelligence" = recorded calls & meetings. Do NOT use this tool — use the dedicated tool instead — for deterministic data operations: - People/company search when you ALREADY have a structured filter set → dedicated `apollo_mixed_people_api_search`, `apollo_mixed_companies_search`. (For natural-language prospecting, use `apollo_agent_find_prospects` instead.) - Field enrichment of 10 or fewer named people, or of companies → `apollo_people_match`, `apollo_people_bulk_match`, `apollo_organizations_enrich`; more than 10 people or a search's results → `apollo_agent_bulk_enrich` - Contact/account create/update → `apollo_contacts_*`, `apollo_accounts_*` - Mechanical sequence create/update/search/activate → `apollo_sequences_*`, `apollo_emailer_campaigns_*` (AI drafting → `apollo_agent_draft_sequence_copy`; improving an existing sequence's results → `apollo_agent_optimize_sequences`) - Tasks → `apollo_tasks_*` | Deals → `apollo_deals_*` - A single structured metric pull → `apollo_analytics_sync_report` - Raw email bounce/spam/open data, or why an email wasn't sent → `apollo_emailer_messages_search`, `apollo_emailer_messages_email_send_status` - List mailboxes / the default sender / current sending limits → `apollo_email_accounts_index` - A company's current job postings → `apollo_organizations_job_postings` - Simple credit-balance check → `apollo_usage_stats_credit_usage_stats`, `apollo_users_api_profile` - Context Center (ICP/product) edits → `apollo_context_center_*` --- Task protocol (START and REPLY go through any `apollo_agent_*` tool; POLL goes through `apollo_agent_poll_task`. A `task_id` started via any `apollo_agent_*` tool can be replied to with any other, since they all run on the same Apollo AI Agent; replying with the tool you started with is clearer but not required) --- ## TWO TOOLS - This tool (any `apollo_agent_*` tool), `instruction` required: 1. without `task_id` → START: creates a new Agent task, appends your message, and starts the agent. Returns `task_id`, any messages so far, and `cursor`. 2. with `task_id` → REPLY: appends your message to the SAME task and resumes the agent with the full conversation so far. If the agent is still working, the message is NOT delivered and you get `next_action: task_busy`. This tool never polls: a call without `instruction` is rejected. - `apollo_agent_poll_task`, `task_id` (plus `cursor`) → POLL: reads messages added after `cursor` and the current `next_action`. Safe to repeat; sends nothing to the agent. ## THE LOOP 1. START with `instruction` (the user's request, verbatim). 2. Store `task_id` and `cursor` from every response. 3. POLL with `apollo_agent_poll_task` (`task_id` + latest `cursor`), waiting `poll_after_ms` between calls, until `next_action` is `inspect_and_decide` or `failed`. `poll_after_ms` grows from 15 seconds to 3 minutes the longer the task runs. While polling, surface any new messages to the user. Minutes without new messages are normal while the agent works (`idle_seconds` is the time since its last activity): keep polling, and do not START a new task because it seems slow. 4. `waiting_on_async_operation`: the agent is paused on a long-running operation (`waiting_on.type`, e.g. `background_job`, `tool_call`). Keep polling, waiting `poll_after_ms`; do NOT send a new message. If a background job runs past an hour, `next_action` becomes `inspect_and_decide` with `waiting_on` still set: ask the user whether to keep waiting, then REPLY with exactly `keep waiting` or `stop`, as `instructions` says. 5. `inspect_and_decide`: the agent stopped and can take input. Read every assistant message you received since your last message. If it asked something you can answer from the conversation, REPLY with `task_id` + `instruction`. If only the human can answer, ask the human, then REPLY with their answer verbatim. If the work is done, present it. `end_of_reply` / `need_user_reply` on a message are hints, not a verdict: read the text. If `failure_reason` is set, the last turn ended in an error: tell the user, and REPLY on the same `task_id` if they want to retry. 6. `task_busy`: your message was not delivered. Poll until `inspect_and_decide`, then resend. 7. `failed`: read `failure_reason` and the messages, tell the user; START a new task only if they want to retry. Never START a new task to continue the same conversation: that loses all context. Prefer REPLY to START for anything that builds on an earlier task. To start a request that should NOT carry any prior context, omit `task_id` and START a new task. ## RESPONSE FIELDS (both tools) `task_id`; `messages[]` (`seq_num`, `role`, `content`, optional `tool_calls` names, `end_of_reply`, `need_user_reply`); `cursor` (send back on the next call); `latest_seq_num`; `next_action` (`poll_again` | `waiting_on_async_operation` | `inspect_and_decide` | `task_busy` | `failed`); `poll_after_ms`; `instructions` (follow them); optional `waiting_on` (`type`, `since`, `elapsed_seconds`), `idle_seconds`, `failure_reason`, `message_accepted` (`apollo_agent_*` tools only), `artifacts[]` (files the task produced: finished CSV exports (`source` `csv_export`) and CSV, JSON, Markdown or text files the agent wrote (`source` `file`, `rows` null for Markdown and text), `[]` when none: `id`, `source`, `name`, `mime_type`, `rows`, `size_bytes`, `url`, `expires_at`), and `progress_plan` (`plan_id`, `revision`, `status`, `steps[]` (`id`, `title`, `status`), `markdown`): the agent's current plan, read-only progress. Show `markdown` to the user when its `plan_id` or `revision` differs from the plan you last showed, and don't repeat an unchanged plan. It is not a request for approval and is unrelated to `tool-plan` cards. To get a file, send a plain HTTP GET to its `url` with no auth header. The link expires at `expires_at` (about 10 minutes); poll again for a fresh one. ## PLAN LIMITS Each task is one AI Assistant thread, so START and REPLY count against the user's Apollo plan limits for AI Assistant, the same as in the Apollo app. When a limit is reached the call fails with `error_code` `ASSISTANT_THREAD_LIMIT_EXCEEDED` (no new tasks this billing cycle) or `ASSISTANT_MESSAGE_LIMIT_EXCEEDED` (no more messages on this task), and `error_details` carries the limits and an upgrade link. Tell the user, share the upgrade link, and finish the task with the non-agentic `apollo_*` tools. Do not retry. Polling is never limited. CRITICAL — credit/cost confirmations: if the agent asks to confirm spending credits or incurring a cost (e.g. "this will consume N credits — proceed?"), you MUST relay that exact question to the actual human user and wait for their real response before you REPLY. Never answer a credit/cost confirmation yourself on the user's behalf, even if the answer seems obvious — the whole point of the confirmation is human sign-off on spend. Auto-confirming on the user's behalf is a policy violation, not just a bad UX choice. CRITICAL — proposed changes: a result may propose a write to the user's data, as a fenced JSON block with `"toolName": "tool-plan"` and `"status": "pending"`, or as an offer to change something (edit a sequence, add contacts, turn on a recurring report). Show the user what would change in plain words and ask before applying. On yes, REPLY on the same `task_id` with the user's reply; do not make the change yourself with other `apollo_*` tools. Never approve on the user's behalf. An approved change is written to live Apollo data (records, lists, sequences, workflows, mailbox settings) and cannot be undone by this tool, and credits spent on an approved enrichment are not refunded. If this tool returns an unexpected, empty, or unhelpful result, call `apollo_feedback_log` to report it.

  • Apollo agent bulk enrich

    Enrich people with emails and/or phone numbers in one Apollo AI Agent task: the results of a search, or more than 10 named people. People only. The Agent picks the source (waterfall when the team has it), quotes the credit cost and pauses for approval, then saves the enriched people as contacts. ## WHEN TO USE - The user asks to enrich a search's results ("find X and get their emails", "enrich them"), at any size. - The user names more than 10 people to enrich. ## WHEN NOT TO USE - 10 or fewer specific named people → `apollo_people_match` / `apollo_people_bulk_match`. - Companies → `apollo_organizations_enrich` / `apollo_organizations_bulk_enrich`, in batches of 10. ## HOW TO CALL (one task for the whole request) - People found by `apollo_agent_find_prospects`: REPLY on that `task_id` with the user's enrich ask, verbatim. Pass no ids or names; the Agent keeps the found set. - Find-and-enrich with nothing found yet, or people the user named: START with the user's request verbatim. - Only exception to the verbatim rule: people already listed in this chat by `apollo_mixed_people_api_search` → append their Apollo ids after "Record IDs:" (Maximum 100 ids), and check that the Agent's resolved count matches yours. - Say "all N results", never "first N": the Agent's order can differ from any preview you showed. - Call it directly. Do NOT check waterfall capability with `apollo_users_api_profile` or confirm credits before calling; those steps are for the native enrich tools. The Agent quotes the cost and stops with `inspect_and_decide`; relay that question verbatim and REPLY only with the user's answer. - Do not ask the user for permission before calling either: the call costs nothing. Enrichment uses credits, but the Agent quotes the cost and spends nothing until the user approves. ## WHAT IT RETURNS Found / not-found counts per field and up to 5 sample rows. Every enriched person is saved as a contact. For the full set, ask on the same `task_id` for a CSV export. ## TERMINOLOGY Apollo terminology (for non-Apollo agents mapping user language): "Plays" = workflows; "power-ups" / "magic columns" = AI research fields; "sequences" / "campaigns" = multi-step outreach; "Context Center" = the team's ICP & product profile; ICP = ideal customer profile, TAM = total addressable market; "conversation intelligence" = recorded calls & meetings. --- Task protocol (START and REPLY go through any `apollo_agent_*` tool; POLL goes through `apollo_agent_poll_task`. A `task_id` started via any `apollo_agent_*` tool can be replied to with any other, since they all run on the same Apollo AI Agent; replying with the tool you started with is clearer but not required) --- ## TWO TOOLS - This tool (any `apollo_agent_*` tool), `instruction` required: 1. without `task_id` → START: creates a new Agent task, appends your message, and starts the agent. Returns `task_id`, any messages so far, and `cursor`. 2. with `task_id` → REPLY: appends your message to the SAME task and resumes the agent with the full conversation so far. If the agent is still working, the message is NOT delivered and you get `next_action: task_busy`. This tool never polls: a call without `instruction` is rejected. - `apollo_agent_poll_task`, `task_id` (plus `cursor`) → POLL: reads messages added after `cursor` and the current `next_action`. Safe to repeat; sends nothing to the agent. ## THE LOOP 1. START with `instruction` (the user's request, verbatim). 2. Store `task_id` and `cursor` from every response. 3. POLL with `apollo_agent_poll_task` (`task_id` + latest `cursor`), waiting `poll_after_ms` between calls, until `next_action` is `inspect_and_decide` or `failed`. `poll_after_ms` grows from 15 seconds to 3 minutes the longer the task runs. While polling, surface any new messages to the user. Minutes without new messages are normal while the agent works (`idle_seconds` is the time since its last activity): keep polling, and do not START a new task because it seems slow. 4. `waiting_on_async_operation`: the agent is paused on a long-running operation (`waiting_on.type`, e.g. `background_job`, `tool_call`). Keep polling, waiting `poll_after_ms`; do NOT send a new message. If a background job runs past an hour, `next_action` becomes `inspect_and_decide` with `waiting_on` still set: ask the user whether to keep waiting, then REPLY with exactly `keep waiting` or `stop`, as `instructions` says. 5. `inspect_and_decide`: the agent stopped and can take input. Read every assistant message you received since your last message. If it asked something you can answer from the conversation, REPLY with `task_id` + `instruction`. If only the human can answer, ask the human, then REPLY with their answer verbatim. If the work is done, present it. `end_of_reply` / `need_user_reply` on a message are hints, not a verdict: read the text. If `failure_reason` is set, the last turn ended in an error: tell the user, and REPLY on the same `task_id` if they want to retry. 6. `task_busy`: your message was not delivered. Poll until `inspect_and_decide`, then resend. 7. `failed`: read `failure_reason` and the messages, tell the user; START a new task only if they want to retry. Never START a new task to continue the same conversation: that loses all context. Prefer REPLY to START for anything that builds on an earlier task. To start a request that should NOT carry any prior context, omit `task_id` and START a new task. ## RESPONSE FIELDS (both tools) `task_id`; `messages[]` (`seq_num`, `role`, `content`, optional `tool_calls` names, `end_of_reply`, `need_user_reply`); `cursor` (send back on the next call); `latest_seq_num`; `next_action` (`poll_again` | `waiting_on_async_operation` | `inspect_and_decide` | `task_busy` | `failed`); `poll_after_ms`; `instructions` (follow them); optional `waiting_on` (`type`, `since`, `elapsed_seconds`), `idle_seconds`, `failure_reason`, `message_accepted` (`apollo_agent_*` tools only), `artifacts[]` (files the task produced: finished CSV exports (`source` `csv_export`) and CSV, JSON, Markdown or text files the agent wrote (`source` `file`, `rows` null for Markdown and text), `[]` when none: `id`, `source`, `name`, `mime_type`, `rows`, `size_bytes`, `url`, `expires_at`), and `progress_plan` (`plan_id`, `revision`, `status`, `steps[]` (`id`, `title`, `status`), `markdown`): the agent's current plan, read-only progress. Show `markdown` to the user when its `plan_id` or `revision` differs from the plan you last showed, and don't repeat an unchanged plan. It is not a request for approval and is unrelated to `tool-plan` cards. To get a file, send a plain HTTP GET to its `url` with no auth header. The link expires at `expires_at` (about 10 minutes); poll again for a fresh one. ## PLAN LIMITS Each task is one AI Assistant thread, so START and REPLY count against the user's Apollo plan limits for AI Assistant, the same as in the Apollo app. When a limit is reached the call fails with `error_code` `ASSISTANT_THREAD_LIMIT_EXCEEDED` (no new tasks this billing cycle) or `ASSISTANT_MESSAGE_LIMIT_EXCEEDED` (no more messages on this task), and `error_details` carries the limits and an upgrade link. Tell the user, share the upgrade link, and finish the task with the non-agentic `apollo_*` tools. Do not retry. Polling is never limited. CRITICAL — credit/cost confirmations: if the agent asks to confirm spending credits or incurring a cost (e.g. "this will consume N credits — proceed?"), you MUST relay that exact question to the actual human user and wait for their real response before you REPLY. Never answer a credit/cost confirmation yourself on the user's behalf, even if the answer seems obvious — the whole point of the confirmation is human sign-off on spend. Auto-confirming on the user's behalf is a policy violation, not just a bad UX choice. CRITICAL — proposed changes: a result may propose a write to the user's data, as a fenced JSON block with `"toolName": "tool-plan"` and `"status": "pending"`, or as an offer to change something (edit a sequence, add contacts, turn on a recurring report). Show the user what would change in plain words and ask before applying. On yes, REPLY on the same `task_id` with the user's reply; do not make the change yourself with other `apollo_*` tools. Never approve on the user's behalf. An approved change is written to live Apollo data (records, lists, sequences, workflows, mailbox settings) and cannot be undone by this tool, and credits spent on an approved enrichment are not refunded. If this tool returns an unexpected, empty, or unhelpful result, call `apollo_feedback_log` to report it.

  • Apollo agent connect mailbox

    Connect a sending mailbox via OAuth and apply send-limit / best-practice configuration. To simply list connected mailboxes, the default sender, or current sending limits, prefer the read-only `apollo_email_accounts_index`; use this tool only to connect a new mailbox or change send settings. Examples: - "Connect my Gmail / Outlook." | "Apply best-practice send settings." - "Adjust the daily sending limit for ray@apollo.io." Apollo terminology (for non-Apollo agents mapping user language): "Plays" = workflows; "power-ups" / "magic columns" = AI research fields; "sequences" / "campaigns" = multi-step outreach; "Context Center" = the team's ICP & product profile; ICP = ideal customer profile, TAM = total addressable market; "conversation intelligence" = recorded calls & meetings. Do NOT use this tool — use the dedicated tool instead — for deterministic data operations: - People/company search when you ALREADY have a structured filter set → dedicated `apollo_mixed_people_api_search`, `apollo_mixed_companies_search`. (For natural-language prospecting, use `apollo_agent_find_prospects` instead.) - Field enrichment of 10 or fewer named people, or of companies → `apollo_people_match`, `apollo_people_bulk_match`, `apollo_organizations_enrich`; more than 10 people or a search's results → `apollo_agent_bulk_enrich` - Contact/account create/update → `apollo_contacts_*`, `apollo_accounts_*` - Mechanical sequence create/update/search/activate → `apollo_sequences_*`, `apollo_emailer_campaigns_*` (AI drafting → `apollo_agent_draft_sequence_copy`; improving an existing sequence's results → `apollo_agent_optimize_sequences`) - Tasks → `apollo_tasks_*` | Deals → `apollo_deals_*` - A single structured metric pull → `apollo_analytics_sync_report` - Raw email bounce/spam/open data, or why an email wasn't sent → `apollo_emailer_messages_search`, `apollo_emailer_messages_email_send_status` - List mailboxes / the default sender / current sending limits → `apollo_email_accounts_index` - A company's current job postings → `apollo_organizations_job_postings` - Simple credit-balance check → `apollo_usage_stats_credit_usage_stats`, `apollo_users_api_profile` - Context Center (ICP/product) edits → `apollo_context_center_*` --- Task protocol (START and REPLY go through any `apollo_agent_*` tool; POLL goes through `apollo_agent_poll_task`. A `task_id` started via any `apollo_agent_*` tool can be replied to with any other, since they all run on the same Apollo AI Agent; replying with the tool you started with is clearer but not required) --- ## TWO TOOLS - This tool (any `apollo_agent_*` tool), `instruction` required: 1. without `task_id` → START: creates a new Agent task, appends your message, and starts the agent. Returns `task_id`, any messages so far, and `cursor`. 2. with `task_id` → REPLY: appends your message to the SAME task and resumes the agent with the full conversation so far. If the agent is still working, the message is NOT delivered and you get `next_action: task_busy`. This tool never polls: a call without `instruction` is rejected. - `apollo_agent_poll_task`, `task_id` (plus `cursor`) → POLL: reads messages added after `cursor` and the current `next_action`. Safe to repeat; sends nothing to the agent. ## THE LOOP 1. START with `instruction` (the user's request, verbatim). 2. Store `task_id` and `cursor` from every response. 3. POLL with `apollo_agent_poll_task` (`task_id` + latest `cursor`), waiting `poll_after_ms` between calls, until `next_action` is `inspect_and_decide` or `failed`. `poll_after_ms` grows from 15 seconds to 3 minutes the longer the task runs. While polling, surface any new messages to the user. Minutes without new messages are normal while the agent works (`idle_seconds` is the time since its last activity): keep polling, and do not START a new task because it seems slow. 4. `waiting_on_async_operation`: the agent is paused on a long-running operation (`waiting_on.type`, e.g. `background_job`, `tool_call`). Keep polling, waiting `poll_after_ms`; do NOT send a new message. If a background job runs past an hour, `next_action` becomes `inspect_and_decide` with `waiting_on` still set: ask the user whether to keep waiting, then REPLY with exactly `keep waiting` or `stop`, as `instructions` says. 5. `inspect_and_decide`: the agent stopped and can take input. Read every assistant message you received since your last message. If it asked something you can answer from the conversation, REPLY with `task_id` + `instruction`. If only the human can answer, ask the human, then REPLY with their answer verbatim. If the work is done, present it. `end_of_reply` / `need_user_reply` on a message are hints, not a verdict: read the text. If `failure_reason` is set, the last turn ended in an error: tell the user, and REPLY on the same `task_id` if they want to retry. 6. `task_busy`: your message was not delivered. Poll until `inspect_and_decide`, then resend. 7. `failed`: read `failure_reason` and the messages, tell the user; START a new task only if they want to retry. Never START a new task to continue the same conversation: that loses all context. Prefer REPLY to START for anything that builds on an earlier task. To start a request that should NOT carry any prior context, omit `task_id` and START a new task. ## RESPONSE FIELDS (both tools) `task_id`; `messages[]` (`seq_num`, `role`, `content`, optional `tool_calls` names, `end_of_reply`, `need_user_reply`); `cursor` (send back on the next call); `latest_seq_num`; `next_action` (`poll_again` | `waiting_on_async_operation` | `inspect_and_decide` | `task_busy` | `failed`); `poll_after_ms`; `instructions` (follow them); optional `waiting_on` (`type`, `since`, `elapsed_seconds`), `idle_seconds`, `failure_reason`, `message_accepted` (`apollo_agent_*` tools only), `artifacts[]` (files the task produced: finished CSV exports (`source` `csv_export`) and CSV, JSON, Markdown or text files the agent wrote (`source` `file`, `rows` null for Markdown and text), `[]` when none: `id`, `source`, `name`, `mime_type`, `rows`, `size_bytes`, `url`, `expires_at`), and `progress_plan` (`plan_id`, `revision`, `status`, `steps[]` (`id`, `title`, `status`), `markdown`): the agent's current plan, read-only progress. Show `markdown` to the user when its `plan_id` or `revision` differs from the plan you last showed, and don't repeat an unchanged plan. It is not a request for approval and is unrelated to `tool-plan` cards. To get a file, send a plain HTTP GET to its `url` with no auth header. The link expires at `expires_at` (about 10 minutes); poll again for a fresh one. ## PLAN LIMITS Each task is one AI Assistant thread, so START and REPLY count against the user's Apollo plan limits for AI Assistant, the same as in the Apollo app. When a limit is reached the call fails with `error_code` `ASSISTANT_THREAD_LIMIT_EXCEEDED` (no new tasks this billing cycle) or `ASSISTANT_MESSAGE_LIMIT_EXCEEDED` (no more messages on this task), and `error_details` carries the limits and an upgrade link. Tell the user, share the upgrade link, and finish the task with the non-agentic `apollo_*` tools. Do not retry. Polling is never limited. CRITICAL — credit/cost confirmations: if the agent asks to confirm spending credits or incurring a cost (e.g. "this will consume N credits — proceed?"), you MUST relay that exact question to the actual human user and wait for their real response before you REPLY. Never answer a credit/cost confirmation yourself on the user's behalf, even if the answer seems obvious — the whole point of the confirmation is human sign-off on spend. Auto-confirming on the user's behalf is a policy violation, not just a bad UX choice. CRITICAL — proposed changes: a result may propose a write to the user's data, as a fenced JSON block with `"toolName": "tool-plan"` and `"status": "pending"`, or as an offer to change something (edit a sequence, add contacts, turn on a recurring report). Show the user what would change in plain words and ask before applying. On yes, REPLY on the same `task_id` with the user's reply; do not make the change yourself with other `apollo_*` tools. Never approve on the user's behalf. An approved change is written to live Apollo data (records, lists, sequences, workflows, mailbox settings) and cannot be undone by this tool, and credits spent on an approved enrichment are not refunded. If this tool returns an unexpected, empty, or unhelpful result, call `apollo_feedback_log` to report it.

  • Apollo agent draft sequence copy

    AI sequence writing only: draft net-new sequence copy/structure from a brief (using templates, gold-standard plays, or Context Center) and preview rendered steps. This is the writing layer — for mechanical create/update/search/activate of sequence records use the dedicated `apollo_sequences_*` / `apollo_emailer_campaigns_*` tools instead, and to find out why an existing sequence underperforms and what to change, use `apollo_agent_optimize_sequences`. Examples: - "Draft a 6-step multichannel sequence (3 emails, 2 calls, 1 LinkedIn) for healthcare buyers." - "Write a cold email for CTOs at Series B fintechs." Apollo terminology (for non-Apollo agents mapping user language): "Plays" = workflows; "power-ups" / "magic columns" = AI research fields; "sequences" / "campaigns" = multi-step outreach; "Context Center" = the team's ICP & product profile; ICP = ideal customer profile, TAM = total addressable market; "conversation intelligence" = recorded calls & meetings. Do NOT use this tool — use the dedicated tool instead — for deterministic data operations: - People/company search when you ALREADY have a structured filter set → dedicated `apollo_mixed_people_api_search`, `apollo_mixed_companies_search`. (For natural-language prospecting, use `apollo_agent_find_prospects` instead.) - Field enrichment of 10 or fewer named people, or of companies → `apollo_people_match`, `apollo_people_bulk_match`, `apollo_organizations_enrich`; more than 10 people or a search's results → `apollo_agent_bulk_enrich` - Contact/account create/update → `apollo_contacts_*`, `apollo_accounts_*` - Mechanical sequence create/update/search/activate → `apollo_sequences_*`, `apollo_emailer_campaigns_*` - Tasks → `apollo_tasks_*` | Deals → `apollo_deals_*` - A single structured metric pull → `apollo_analytics_sync_report` - Raw email bounce/spam/open data, or why an email wasn't sent → `apollo_emailer_messages_search`, `apollo_emailer_messages_email_send_status` - List mailboxes / the default sender / current sending limits → `apollo_email_accounts_index` - A company's current job postings → `apollo_organizations_job_postings` - Simple credit-balance check → `apollo_usage_stats_credit_usage_stats`, `apollo_users_api_profile` - Context Center (ICP/product) edits → `apollo_context_center_*` --- Task protocol (START and REPLY go through any `apollo_agent_*` tool; POLL goes through `apollo_agent_poll_task`. A `task_id` started via any `apollo_agent_*` tool can be replied to with any other, since they all run on the same Apollo AI Agent; replying with the tool you started with is clearer but not required) --- ## TWO TOOLS - This tool (any `apollo_agent_*` tool), `instruction` required: 1. without `task_id` → START: creates a new Agent task, appends your message, and starts the agent. Returns `task_id`, any messages so far, and `cursor`. 2. with `task_id` → REPLY: appends your message to the SAME task and resumes the agent with the full conversation so far. If the agent is still working, the message is NOT delivered and you get `next_action: task_busy`. This tool never polls: a call without `instruction` is rejected. - `apollo_agent_poll_task`, `task_id` (plus `cursor`) → POLL: reads messages added after `cursor` and the current `next_action`. Safe to repeat; sends nothing to the agent. ## THE LOOP 1. START with `instruction` (the user's request, verbatim). 2. Store `task_id` and `cursor` from every response. 3. POLL with `apollo_agent_poll_task` (`task_id` + latest `cursor`), waiting `poll_after_ms` between calls, until `next_action` is `inspect_and_decide` or `failed`. `poll_after_ms` grows from 15 seconds to 3 minutes the longer the task runs. While polling, surface any new messages to the user. Minutes without new messages are normal while the agent works (`idle_seconds` is the time since its last activity): keep polling, and do not START a new task because it seems slow. 4. `waiting_on_async_operation`: the agent is paused on a long-running operation (`waiting_on.type`, e.g. `background_job`, `tool_call`). Keep polling, waiting `poll_after_ms`; do NOT send a new message. If a background job runs past an hour, `next_action` becomes `inspect_and_decide` with `waiting_on` still set: ask the user whether to keep waiting, then REPLY with exactly `keep waiting` or `stop`, as `instructions` says. 5. `inspect_and_decide`: the agent stopped and can take input. Read every assistant message you received since your last message. If it asked something you can answer from the conversation, REPLY with `task_id` + `instruction`. If only the human can answer, ask the human, then REPLY with their answer verbatim. If the work is done, present it. `end_of_reply` / `need_user_reply` on a message are hints, not a verdict: read the text. If `failure_reason` is set, the last turn ended in an error: tell the user, and REPLY on the same `task_id` if they want to retry. 6. `task_busy`: your message was not delivered. Poll until `inspect_and_decide`, then resend. 7. `failed`: read `failure_reason` and the messages, tell the user; START a new task only if they want to retry. Never START a new task to continue the same conversation: that loses all context. Prefer REPLY to START for anything that builds on an earlier task. To start a request that should NOT carry any prior context, omit `task_id` and START a new task. ## RESPONSE FIELDS (both tools) `task_id`; `messages[]` (`seq_num`, `role`, `content`, optional `tool_calls` names, `end_of_reply`, `need_user_reply`); `cursor` (send back on the next call); `latest_seq_num`; `next_action` (`poll_again` | `waiting_on_async_operation` | `inspect_and_decide` | `task_busy` | `failed`); `poll_after_ms`; `instructions` (follow them); optional `waiting_on` (`type`, `since`, `elapsed_seconds`), `idle_seconds`, `failure_reason`, `message_accepted` (`apollo_agent_*` tools only), `artifacts[]` (files the task produced: finished CSV exports (`source` `csv_export`) and CSV, JSON, Markdown or text files the agent wrote (`source` `file`, `rows` null for Markdown and text), `[]` when none: `id`, `source`, `name`, `mime_type`, `rows`, `size_bytes`, `url`, `expires_at`), and `progress_plan` (`plan_id`, `revision`, `status`, `steps[]` (`id`, `title`, `status`), `markdown`): the agent's current plan, read-only progress. Show `markdown` to the user when its `plan_id` or `revision` differs from the plan you last showed, and don't repeat an unchanged plan. It is not a request for approval and is unrelated to `tool-plan` cards. To get a file, send a plain HTTP GET to its `url` with no auth header. The link expires at `expires_at` (about 10 minutes); poll again for a fresh one. ## PLAN LIMITS Each task is one AI Assistant thread, so START and REPLY count against the user's Apollo plan limits for AI Assistant, the same as in the Apollo app. When a limit is reached the call fails with `error_code` `ASSISTANT_THREAD_LIMIT_EXCEEDED` (no new tasks this billing cycle) or `ASSISTANT_MESSAGE_LIMIT_EXCEEDED` (no more messages on this task), and `error_details` carries the limits and an upgrade link. Tell the user, share the upgrade link, and finish the task with the non-agentic `apollo_*` tools. Do not retry. Polling is never limited. CRITICAL — credit/cost confirmations: if the agent asks to confirm spending credits or incurring a cost (e.g. "this will consume N credits — proceed?"), you MUST relay that exact question to the actual human user and wait for their real response before you REPLY. Never answer a credit/cost confirmation yourself on the user's behalf, even if the answer seems obvious — the whole point of the confirmation is human sign-off on spend. Auto-confirming on the user's behalf is a policy violation, not just a bad UX choice. CRITICAL — proposed changes: a result may propose a write to the user's data, as a fenced JSON block with `"toolName": "tool-plan"` and `"status": "pending"`, or as an offer to change something (edit a sequence, add contacts, turn on a recurring report). Show the user what would change in plain words and ask before applying. On yes, REPLY on the same `task_id` with the user's reply; do not make the change yourself with other `apollo_*` tools. Never approve on the user's behalf. An approved change is written to live Apollo data (records, lists, sequences, workflows, mailbox settings) and cannot be undone by this tool, and credits spent on an approved enrichment are not refunded. If this tool returns an unexpected, empty, or unhelpful result, call `apollo_feedback_log` to report it.

  • Apollo agent explain howto

    Answer "how do I…" questions about using Apollo and explain Apollo terms and product concepts (for tasks no tool performs and for terminology). Examples: - "How do I connect Apollo to Salesforce / reset my password?" - "What is a sequence? What does TAM mean? What is the Context Center?" Apollo terminology (for non-Apollo agents mapping user language): "Plays" = workflows; "power-ups" / "magic columns" = AI research fields; "sequences" / "campaigns" = multi-step outreach; "Context Center" = the team's ICP & product profile; ICP = ideal customer profile, TAM = total addressable market; "conversation intelligence" = recorded calls & meetings. Do NOT use this tool — use the dedicated tool instead — for deterministic data operations: - People/company search when you ALREADY have a structured filter set → dedicated `apollo_mixed_people_api_search`, `apollo_mixed_companies_search`. (For natural-language prospecting, use `apollo_agent_find_prospects` instead.) - Field enrichment of 10 or fewer named people, or of companies → `apollo_people_match`, `apollo_people_bulk_match`, `apollo_organizations_enrich`; more than 10 people or a search's results → `apollo_agent_bulk_enrich` - Contact/account create/update → `apollo_contacts_*`, `apollo_accounts_*` - Mechanical sequence create/update/search/activate → `apollo_sequences_*`, `apollo_emailer_campaigns_*` (AI drafting → `apollo_agent_draft_sequence_copy`; improving an existing sequence's results → `apollo_agent_optimize_sequences`) - Tasks → `apollo_tasks_*` | Deals → `apollo_deals_*` - A single structured metric pull → `apollo_analytics_sync_report` - Raw email bounce/spam/open data, or why an email wasn't sent → `apollo_emailer_messages_search`, `apollo_emailer_messages_email_send_status` - List mailboxes / the default sender / current sending limits → `apollo_email_accounts_index` - A company's current job postings → `apollo_organizations_job_postings` - Simple credit-balance check → `apollo_usage_stats_credit_usage_stats`, `apollo_users_api_profile` - Context Center (ICP/product) edits → `apollo_context_center_*` --- Task protocol (START and REPLY go through any `apollo_agent_*` tool; POLL goes through `apollo_agent_poll_task`. A `task_id` started via any `apollo_agent_*` tool can be replied to with any other, since they all run on the same Apollo AI Agent; replying with the tool you started with is clearer but not required) --- ## TWO TOOLS - This tool (any `apollo_agent_*` tool), `instruction` required: 1. without `task_id` → START: creates a new Agent task, appends your message, and starts the agent. Returns `task_id`, any messages so far, and `cursor`. 2. with `task_id` → REPLY: appends your message to the SAME task and resumes the agent with the full conversation so far. If the agent is still working, the message is NOT delivered and you get `next_action: task_busy`. This tool never polls: a call without `instruction` is rejected. - `apollo_agent_poll_task`, `task_id` (plus `cursor`) → POLL: reads messages added after `cursor` and the current `next_action`. Safe to repeat; sends nothing to the agent. ## THE LOOP 1. START with `instruction` (the user's request, verbatim). 2. Store `task_id` and `cursor` from every response. 3. POLL with `apollo_agent_poll_task` (`task_id` + latest `cursor`), waiting `poll_after_ms` between calls, until `next_action` is `inspect_and_decide` or `failed`. `poll_after_ms` grows from 15 seconds to 3 minutes the longer the task runs. While polling, surface any new messages to the user. Minutes without new messages are normal while the agent works (`idle_seconds` is the time since its last activity): keep polling, and do not START a new task because it seems slow. 4. `waiting_on_async_operation`: the agent is paused on a long-running operation (`waiting_on.type`, e.g. `background_job`, `tool_call`). Keep polling, waiting `poll_after_ms`; do NOT send a new message. If a background job runs past an hour, `next_action` becomes `inspect_and_decide` with `waiting_on` still set: ask the user whether to keep waiting, then REPLY with exactly `keep waiting` or `stop`, as `instructions` says. 5. `inspect_and_decide`: the agent stopped and can take input. Read every assistant message you received since your last message. If it asked something you can answer from the conversation, REPLY with `task_id` + `instruction`. If only the human can answer, ask the human, then REPLY with their answer verbatim. If the work is done, present it. `end_of_reply` / `need_user_reply` on a message are hints, not a verdict: read the text. If `failure_reason` is set, the last turn ended in an error: tell the user, and REPLY on the same `task_id` if they want to retry. 6. `task_busy`: your message was not delivered. Poll until `inspect_and_decide`, then resend. 7. `failed`: read `failure_reason` and the messages, tell the user; START a new task only if they want to retry. Never START a new task to continue the same conversation: that loses all context. Prefer REPLY to START for anything that builds on an earlier task. To start a request that should NOT carry any prior context, omit `task_id` and START a new task. ## RESPONSE FIELDS (both tools) `task_id`; `messages[]` (`seq_num`, `role`, `content`, optional `tool_calls` names, `end_of_reply`, `need_user_reply`); `cursor` (send back on the next call); `latest_seq_num`; `next_action` (`poll_again` | `waiting_on_async_operation` | `inspect_and_decide` | `task_busy` | `failed`); `poll_after_ms`; `instructions` (follow them); optional `waiting_on` (`type`, `since`, `elapsed_seconds`), `idle_seconds`, `failure_reason`, `message_accepted` (`apollo_agent_*` tools only), `artifacts[]` (files the task produced: finished CSV exports (`source` `csv_export`) and CSV, JSON, Markdown or text files the agent wrote (`source` `file`, `rows` null for Markdown and text), `[]` when none: `id`, `source`, `name`, `mime_type`, `rows`, `size_bytes`, `url`, `expires_at`), and `progress_plan` (`plan_id`, `revision`, `status`, `steps[]` (`id`, `title`, `status`), `markdown`): the agent's current plan, read-only progress. Show `markdown` to the user when its `plan_id` or `revision` differs from the plan you last showed, and don't repeat an unchanged plan. It is not a request for approval and is unrelated to `tool-plan` cards. To get a file, send a plain HTTP GET to its `url` with no auth header. The link expires at `expires_at` (about 10 minutes); poll again for a fresh one. ## PLAN LIMITS Each task is one AI Assistant thread, so START and REPLY count against the user's Apollo plan limits for AI Assistant, the same as in the Apollo app. When a limit is reached the call fails with `error_code` `ASSISTANT_THREAD_LIMIT_EXCEEDED` (no new tasks this billing cycle) or `ASSISTANT_MESSAGE_LIMIT_EXCEEDED` (no more messages on this task), and `error_details` carries the limits and an upgrade link. Tell the user, share the upgrade link, and finish the task with the non-agentic `apollo_*` tools. Do not retry. Polling is never limited. CRITICAL — credit/cost confirmations: if the agent asks to confirm spending credits or incurring a cost (e.g. "this will consume N credits — proceed?"), you MUST relay that exact question to the actual human user and wait for their real response before you REPLY. Never answer a credit/cost confirmation yourself on the user's behalf, even if the answer seems obvious — the whole point of the confirmation is human sign-off on spend. Auto-confirming on the user's behalf is a policy violation, not just a bad UX choice. CRITICAL — proposed changes: a result may propose a write to the user's data, as a fenced JSON block with `"toolName": "tool-plan"` and `"status": "pending"`, or as an offer to change something (edit a sequence, add contacts, turn on a recurring report). Show the user what would change in plain words and ask before applying. On yes, REPLY on the same `task_id` with the user's reply; do not make the change yourself with other `apollo_*` tools. Never approve on the user's behalf. An approved change is written to live Apollo data (records, lists, sequences, workflows, mailbox settings) and cannot be undone by this tool, and credits spent on an approved enrichment are not refunded. If this tool returns an unexpected, empty, or unhelpful result, call `apollo_feedback_log` to report it.

  • Apollo agent find prospects

    Turn a natural-language description of who to target (an ICP, persona, lookalike, or a "find me…" ask) into the right Apollo search and return a matched list of people or companies. This agent has intricate knowledge of which Apollo filters exist and are supported, translates plain language into them, escalates from structured filters to semantic search to AI research when a plain filter set can't capture the intent, and can research/qualify prospects or accounts before returning results. ## WHEN TO USE - The request is natural language and the right filters must be inferred — EVEN IF the mapping feels obvious ("hospitals", "restaurants", "law firms" are still inferred keyword/industry choices, not values the caller handed you). A location or one obvious attribute inside an otherwise plain-language ask does not make it structured. - Prospects/accounts must be researched or qualified, or the ask is similarity-based ("companies like X", "like my best customers"). - The user asks a persona/targeting question ("who should I be talking to?", "who buys X?") — route it here instead of answering from general knowledge: the agent grounds the answer in Apollo's live data and the team's profile and returns real people, not generic advice. - The ask is vague ("help me find prospects for my product") — route it here AS-IS rather than first interrogating the user for details: the agent grounds vague asks in the team's saved ICP & product profile (Context Center) and asks its own clarifying question only if it truly needs one. - The request chains a company search into a people-at-those-companies search (or vice versa) — the dedicated search tools only ever run once against one query each and cannot chain, so that orchestration is this agent's job even if each half looks simple. - The user wants records exported to a CSV or spreadsheet file — a saved list, or the results of a search ("export my list to CSV", "find X and give me a spreadsheet"). There is no native contacts/accounts export tool; this agent runs Apollo's own CSV export (all columns, no paging) and returns a download link. Do NOT page through `apollo_contacts_search` / `apollo_mixed_*` to assemble the file yourself. ## WHEN NOT TO USE - You (the calling agent) ALREADY have a concrete, structured filter set — explicit person titles, seniorities, locations, industries, employee/revenue ranges, technologies, keywords, or company domains handed to you (e.g. in structured/JSON form) that maps 1:1 onto the search API → call `apollo_mixed_people_api_search` (people) or `apollo_mixed_companies_search` (companies) directly; they are faster and deterministic. A plain-language request is NOT a structured filter set even when some of its words could be pasted into a keyword filter: if you would have to choose or expand keyword tags, decide keyword-vs-industry mappings, or translate a product/niche description into filters, that is filter inference — route it here. - Deterministic data operations → the dedicated tool: field enrichment of 10 or fewer named people, or of companies → `apollo_people_match`, `apollo_people_bulk_match`, `apollo_organizations_enrich` (more than 10 people or a search's results → `apollo_agent_bulk_enrich`); contact/account create/update → `apollo_contacts_*`, `apollo_accounts_*`; mechanical sequence create/update/search/activate → `apollo_sequences_*`, `apollo_emailer_campaigns_*` (AI drafting → `apollo_agent_draft_sequence_copy`; improving an existing sequence's results → `apollo_agent_optimize_sequences`); tasks → `apollo_tasks_*`; deals → `apollo_deals_*`; a single structured metric pull → `apollo_analytics_sync_report`; email bounce/spam/send status → `apollo_emailer_messages_search`, `apollo_emailer_messages_email_send_status`; mailboxes/senders/limits → `apollo_email_accounts_index`; job postings → `apollo_organizations_job_postings`; credit balance → `apollo_usage_stats_credit_usage_stats`, `apollo_users_api_profile`; Context Center (ICP/product) edits → `apollo_context_center_*`. ## HOW TO CALL — PASS THE USER'S REQUEST VERBATIM Set `instruction` to the user's request in the user's own words, unmodified. Do NOT paraphrase, expand, "clarify", add inferred filters/titles/ranges/synonyms, or restate it in filter vocabulary — this agent interprets raw user language against Apollo's live data and the team's profile better than any upstream rewrite, and a rewrite locks the search into YOUR interpretation, silently narrowing or skewing results. Appending your own characterization of named companies, personas, or industries counts as a rewrite — only facts the user stated in their own words qualify as context. Do NOT ask for specific output fields or formats; the agent decides what to return, and you can follow up on the same `task_id` for more. See the `instruction` parameter for the full rules. Call it without asking the user to confirm first, including find-and-enrich asks: the call costs nothing, and the Agent quotes any credit cost and waits for the user's approval to spend. ## WHAT IT RETURNS Narrative messages (polled via `task_id`): the agent explains how it interpreted the request, gives a plain-English summary of the filters it applied and the result count, and includes fenced JSON blocks with (a) a link to the full result set in Apollo (the URL encodes the chosen filters) and (b) a small preview of matched people/companies — names, title/company or domain, LinkedIn, and Apollo record URLs (each record URL contains the record's Apollo id). Consume the parts you need — cite the preview, give the user the results link, or reuse the record URLs/ids with other `apollo_*` tools. If the user wants more detail, different fields, or a refinement, REPLY on the same `task_id` instead of pre-specifying output up front. For an export, a fenced JSON block titled "CSV Export · <records>" reports it, and once the file is ready it appears in `artifacts[]`: give the user that item's `url`, a direct download that needs no login. The block's `action.url` opens Apollo and needs an Apollo login. The export can arrive while the agent is still working (`next_action` `poll_again`). To enrich the people found, REPLY on this `task_id` with `apollo_agent_bulk_enrich`; the Agent keeps the found set. ## EXAMPLES - "Find the right decision-makers to pitch my DevOps product to." (ICP → audience) - "Export the accounts in my Q4 Targets list to a CSV." (export → the agent runs Apollo's CSV export and returns a download link) - "Who should I target at mid-market fintechs that recently raised a Series B and are hiring backend engineers?" (filters must be inferred + prospects researched to qualify) - "Help me create a list of hospital chains in India and top-level decision makers at those hospitals." ("hospital" and "decision makers" feel like obvious filters, but the exact keyword/title values still must be chosen, AND the task chains a company search into a people search — both reasons this routes here, not to two direct search calls) - Not this tool → "Search people with titles ['VP Engineering'], seniorities ['vp'], locations ['United States']" (already a structured filter set → `apollo_mixed_people_api_search`). ## TERMINOLOGY Apollo terminology (for non-Apollo agents mapping user language): "Plays" = workflows; "power-ups" / "magic columns" = AI research fields; "sequences" / "campaigns" = multi-step outreach; "Context Center" = the team's ICP & product profile; ICP = ideal customer profile, TAM = total addressable market; "conversation intelligence" = recorded calls & meetings. --- Task protocol (START and REPLY go through any `apollo_agent_*` tool; POLL goes through `apollo_agent_poll_task`. A `task_id` started via any `apollo_agent_*` tool can be replied to with any other, since they all run on the same Apollo AI Agent; replying with the tool you started with is clearer but not required) --- ## TWO TOOLS - This tool (any `apollo_agent_*` tool), `instruction` required: 1. without `task_id` → START: creates a new Agent task, appends your message, and starts the agent. Returns `task_id`, any messages so far, and `cursor`. 2. with `task_id` → REPLY: appends your message to the SAME task and resumes the agent with the full conversation so far. If the agent is still working, the message is NOT delivered and you get `next_action: task_busy`. This tool never polls: a call without `instruction` is rejected. - `apollo_agent_poll_task`, `task_id` (plus `cursor`) → POLL: reads messages added after `cursor` and the current `next_action`. Safe to repeat; sends nothing to the agent. ## THE LOOP 1. START with `instruction` (the user's request, verbatim). 2. Store `task_id` and `cursor` from every response. 3. POLL with `apollo_agent_poll_task` (`task_id` + latest `cursor`), waiting `poll_after_ms` between calls, until `next_action` is `inspect_and_decide` or `failed`. `poll_after_ms` grows from 15 seconds to 3 minutes the longer the task runs. While polling, surface any new messages to the user. Minutes without new messages are normal while the agent works (`idle_seconds` is the time since its last activity): keep polling, and do not START a new task because it seems slow. 4. `waiting_on_async_operation`: the agent is paused on a long-running operation (`waiting_on.type`, e.g. `background_job`, `tool_call`). Keep polling, waiting `poll_after_ms`; do NOT send a new message. If a background job runs past an hour, `next_action` becomes `inspect_and_decide` with `waiting_on` still set: ask the user whether to keep waiting, then REPLY with exactly `keep waiting` or `stop`, as `instructions` says. 5. `inspect_and_decide`: the agent stopped and can take input. Read every assistant message you received since your last message. If it asked something you can answer from the conversation, REPLY with `task_id` + `instruction`. If only the human can answer, ask the human, then REPLY with their answer verbatim. If the work is done, present it. `end_of_reply` / `need_user_reply` on a message are hints, not a verdict: read the text. If `failure_reason` is set, the last turn ended in an error: tell the user, and REPLY on the same `task_id` if they want to retry. 6. `task_busy`: your message was not delivered. Poll until `inspect_and_decide`, then resend. 7. `failed`: read `failure_reason` and the messages, tell the user; START a new task only if they want to retry. Never START a new task to continue the same conversation: that loses all context. Prefer REPLY to START for anything that builds on an earlier task. To start a request that should NOT carry any prior context, omit `task_id` and START a new task. ## RESPONSE FIELDS (both tools) `task_id`; `messages[]` (`seq_num`, `role`, `content`, optional `tool_calls` names, `end_of_reply`, `need_user_reply`); `cursor` (send back on the next call); `latest_seq_num`; `next_action` (`poll_again` | `waiting_on_async_operation` | `inspect_and_decide` | `task_busy` | `failed`); `poll_after_ms`; `instructions` (follow them); optional `waiting_on` (`type`, `since`, `elapsed_seconds`), `idle_seconds`, `failure_reason`, `message_accepted` (`apollo_agent_*` tools only), `artifacts[]` (files the task produced: finished CSV exports (`source` `csv_export`) and CSV, JSON, Markdown or text files the agent wrote (`source` `file`, `rows` null for Markdown and text), `[]` when none: `id`, `source`, `name`, `mime_type`, `rows`, `size_bytes`, `url`, `expires_at`), and `progress_plan` (`plan_id`, `revision`, `status`, `steps[]` (`id`, `title`, `status`), `markdown`): the agent's current plan, read-only progress. Show `markdown` to the user when its `plan_id` or `revision` differs from the plan you last showed, and don't repeat an unchanged plan. It is not a request for approval and is unrelated to `tool-plan` cards. To get a file, send a plain HTTP GET to its `url` with no auth header. The link expires at `expires_at` (about 10 minutes); poll again for a fresh one. ## PLAN LIMITS Each task is one AI Assistant thread, so START and REPLY count against the user's Apollo plan limits for AI Assistant, the same as in the Apollo app. When a limit is reached the call fails with `error_code` `ASSISTANT_THREAD_LIMIT_EXCEEDED` (no new tasks this billing cycle) or `ASSISTANT_MESSAGE_LIMIT_EXCEEDED` (no more messages on this task), and `error_details` carries the limits and an upgrade link. Tell the user, share the upgrade link, and finish the task with the non-agentic `apollo_*` tools. Do not retry. Polling is never limited. CRITICAL — credit/cost confirmations: if the agent asks to confirm spending credits or incurring a cost (e.g. "this will consume N credits — proceed?"), you MUST relay that exact question to the actual human user and wait for their real response before you REPLY. Never answer a credit/cost confirmation yourself on the user's behalf, even if the answer seems obvious — the whole point of the confirmation is human sign-off on spend. Auto-confirming on the user's behalf is a policy violation, not just a bad UX choice. CRITICAL — proposed changes: a result may propose a write to the user's data, as a fenced JSON block with `"toolName": "tool-plan"` and `"status": "pending"`, or as an offer to change something (edit a sequence, add contacts, turn on a recurring report). Show the user what would change in plain words and ask before applying. On yes, REPLY on the same `task_id` with the user's reply; do not make the change yourself with other `apollo_*` tools. Never approve on the user's behalf. An approved change is written to live Apollo data (records, lists, sequences, workflows, mailbox settings) and cannot be undone by this tool, and credits spent on an approved enrichment are not refunded. If this tool returns an unexpected, empty, or unhelpful result, call `apollo_feedback_log` to report it.

  • Apollo agent fix email deliverability

    Diagnose and fix email deliverability: bounce/spam analysis, sender reputation, SPF/DKIM/DMARC authentication, sending-limit guidance, deliverability recommendations, and not-sent-email remediation. Use this tool only for root-cause diagnosis and recommendations — not for the raw data: for per-message bounce/spam/open data prefer `apollo_emailer_messages_search`, for why a specific email wasn't sent prefer `apollo_emailer_messages_email_send_status`, and for bounce/delivery RATES over a date range prefer `apollo_analytics_sync_report`. If a sequence's emails are delivered but get few opens/replies, use `apollo_agent_optimize_sequences`. Examples: - "Why are my emails bouncing, and how do I reduce it?" - "Verify my SPF/DKIM/DMARC are aligned for apollo.io." | "Show my deliverability recommendations." Apollo terminology (for non-Apollo agents mapping user language): "Plays" = workflows; "power-ups" / "magic columns" = AI research fields; "sequences" / "campaigns" = multi-step outreach; "Context Center" = the team's ICP & product profile; ICP = ideal customer profile, TAM = total addressable market; "conversation intelligence" = recorded calls & meetings. Do NOT use this tool — use the dedicated tool instead — for deterministic data operations: - People/company search when you ALREADY have a structured filter set → dedicated `apollo_mixed_people_api_search`, `apollo_mixed_companies_search`. (For natural-language prospecting, use `apollo_agent_find_prospects` instead.) - Field enrichment of 10 or fewer named people, or of companies → `apollo_people_match`, `apollo_people_bulk_match`, `apollo_organizations_enrich`; more than 10 people or a search's results → `apollo_agent_bulk_enrich` - Contact/account create/update → `apollo_contacts_*`, `apollo_accounts_*` - Mechanical sequence create/update/search/activate → `apollo_sequences_*`, `apollo_emailer_campaigns_*` (AI drafting → `apollo_agent_draft_sequence_copy`; improving an existing sequence's results → `apollo_agent_optimize_sequences`) - Tasks → `apollo_tasks_*` | Deals → `apollo_deals_*` - A single structured metric pull → `apollo_analytics_sync_report` - Raw email bounce/spam/open data, or why an email wasn't sent → `apollo_emailer_messages_search`, `apollo_emailer_messages_email_send_status` - List mailboxes / the default sender / current sending limits → `apollo_email_accounts_index` - A company's current job postings → `apollo_organizations_job_postings` - Simple credit-balance check → `apollo_usage_stats_credit_usage_stats`, `apollo_users_api_profile` - Context Center (ICP/product) edits → `apollo_context_center_*` --- Task protocol (START and REPLY go through any `apollo_agent_*` tool; POLL goes through `apollo_agent_poll_task`. A `task_id` started via any `apollo_agent_*` tool can be replied to with any other, since they all run on the same Apollo AI Agent; replying with the tool you started with is clearer but not required) --- ## TWO TOOLS - This tool (any `apollo_agent_*` tool), `instruction` required: 1. without `task_id` → START: creates a new Agent task, appends your message, and starts the agent. Returns `task_id`, any messages so far, and `cursor`. 2. with `task_id` → REPLY: appends your message to the SAME task and resumes the agent with the full conversation so far. If the agent is still working, the message is NOT delivered and you get `next_action: task_busy`. This tool never polls: a call without `instruction` is rejected. - `apollo_agent_poll_task`, `task_id` (plus `cursor`) → POLL: reads messages added after `cursor` and the current `next_action`. Safe to repeat; sends nothing to the agent. ## THE LOOP 1. START with `instruction` (the user's request, verbatim). 2. Store `task_id` and `cursor` from every response. 3. POLL with `apollo_agent_poll_task` (`task_id` + latest `cursor`), waiting `poll_after_ms` between calls, until `next_action` is `inspect_and_decide` or `failed`. `poll_after_ms` grows from 15 seconds to 3 minutes the longer the task runs. While polling, surface any new messages to the user. Minutes without new messages are normal while the agent works (`idle_seconds` is the time since its last activity): keep polling, and do not START a new task because it seems slow. 4. `waiting_on_async_operation`: the agent is paused on a long-running operation (`waiting_on.type`, e.g. `background_job`, `tool_call`). Keep polling, waiting `poll_after_ms`; do NOT send a new message. If a background job runs past an hour, `next_action` becomes `inspect_and_decide` with `waiting_on` still set: ask the user whether to keep waiting, then REPLY with exactly `keep waiting` or `stop`, as `instructions` says. 5. `inspect_and_decide`: the agent stopped and can take input. Read every assistant message you received since your last message. If it asked something you can answer from the conversation, REPLY with `task_id` + `instruction`. If only the human can answer, ask the human, then REPLY with their answer verbatim. If the work is done, present it. `end_of_reply` / `need_user_reply` on a message are hints, not a verdict: read the text. If `failure_reason` is set, the last turn ended in an error: tell the user, and REPLY on the same `task_id` if they want to retry. 6. `task_busy`: your message was not delivered. Poll until `inspect_and_decide`, then resend. 7. `failed`: read `failure_reason` and the messages, tell the user; START a new task only if they want to retry. Never START a new task to continue the same conversation: that loses all context. Prefer REPLY to START for anything that builds on an earlier task. To start a request that should NOT carry any prior context, omit `task_id` and START a new task. ## RESPONSE FIELDS (both tools) `task_id`; `messages[]` (`seq_num`, `role`, `content`, optional `tool_calls` names, `end_of_reply`, `need_user_reply`); `cursor` (send back on the next call); `latest_seq_num`; `next_action` (`poll_again` | `waiting_on_async_operation` | `inspect_and_decide` | `task_busy` | `failed`); `poll_after_ms`; `instructions` (follow them); optional `waiting_on` (`type`, `since`, `elapsed_seconds`), `idle_seconds`, `failure_reason`, `message_accepted` (`apollo_agent_*` tools only), `artifacts[]` (files the task produced: finished CSV exports (`source` `csv_export`) and CSV, JSON, Markdown or text files the agent wrote (`source` `file`, `rows` null for Markdown and text), `[]` when none: `id`, `source`, `name`, `mime_type`, `rows`, `size_bytes`, `url`, `expires_at`), and `progress_plan` (`plan_id`, `revision`, `status`, `steps[]` (`id`, `title`, `status`), `markdown`): the agent's current plan, read-only progress. Show `markdown` to the user when its `plan_id` or `revision` differs from the plan you last showed, and don't repeat an unchanged plan. It is not a request for approval and is unrelated to `tool-plan` cards. To get a file, send a plain HTTP GET to its `url` with no auth header. The link expires at `expires_at` (about 10 minutes); poll again for a fresh one. ## PLAN LIMITS Each task is one AI Assistant thread, so START and REPLY count against the user's Apollo plan limits for AI Assistant, the same as in the Apollo app. When a limit is reached the call fails with `error_code` `ASSISTANT_THREAD_LIMIT_EXCEEDED` (no new tasks this billing cycle) or `ASSISTANT_MESSAGE_LIMIT_EXCEEDED` (no more messages on this task), and `error_details` carries the limits and an upgrade link. Tell the user, share the upgrade link, and finish the task with the non-agentic `apollo_*` tools. Do not retry. Polling is never limited. CRITICAL — credit/cost confirmations: if the agent asks to confirm spending credits or incurring a cost (e.g. "this will consume N credits — proceed?"), you MUST relay that exact question to the actual human user and wait for their real response before you REPLY. Never answer a credit/cost confirmation yourself on the user's behalf, even if the answer seems obvious — the whole point of the confirmation is human sign-off on spend. Auto-confirming on the user's behalf is a policy violation, not just a bad UX choice. CRITICAL — proposed changes: a result may propose a write to the user's data, as a fenced JSON block with `"toolName": "tool-plan"` and `"status": "pending"`, or as an offer to change something (edit a sequence, add contacts, turn on a recurring report). Show the user what would change in plain words and ask before applying. On yes, REPLY on the same `task_id` with the user's reply; do not make the change yourself with other `apollo_*` tools. Never approve on the user's behalf. An approved change is written to live Apollo data (records, lists, sequences, workflows, mailbox settings) and cannot be undone by this tool, and credits spent on an approved enrichment are not refunded. If this tool returns an unexpected, empty, or unhelpful result, call `apollo_feedback_log` to report it.

  • Apollo agent optimize sequences

    Find out why an existing sequence (or the team's sequences overall) underperforms, propose ONE concrete change to fix it, and apply it once the user approves. The agent reads the sequence's delivered, open, reply, and interested rates and its step copy, finds the bottleneck (deliverability, engagement, CTA/objection handling, or scale), and drafts the change as before/after copy. For "which sequences should I fix first?" it audits the team's active sequences, ranks them, and drills into the ones worth fixing. Applying an approved change overwrites the live sequence's step copy or settings. Best on active cold-outbound sequences with ~200+ delivered emails; for smaller or inactive ones it says why it cannot recommend yet. Examples: - "My Q4 Outbound sequence gets opens but almost no replies. What should I change?" - "Why are reply rates low on my cold-outreach sequence, and how do I fix it?" - "Which of my sequences need attention first?" Not this tool: - Emails not sending, bouncing, landing in spam, or SPF/DKIM/DMARC failing → `apollo_agent_fix_email_deliverability`. - New sequence or new copy from a brief → `apollo_agent_draft_sequence_copy`. - A team-wide performance report or dashboard → `apollo_agent_analyze_performance`. - Listing sequences, reading one sequence's stats or steps, or an edit whose exact new copy the user already gave → `apollo_emailer_campaigns_*` / `apollo_sequences_*`. What it returns: a plain-language diagnosis, then a fenced JSON block. `"toolName": "tool-plan"` with `"status": "pending"` is a proposed change; `args.changes[]` holds each step's `before` and `after` copy. `"toolName": "tool-plan-report"` is a read-only report (not eligible, blocked on deliverability, advice only, or already applied): nothing to approve. Summarize the JSON for the user rather than pasting it. Approval follows the CRITICAL — proposed changes rule below. Apollo terminology (for non-Apollo agents mapping user language): "Plays" = workflows; "power-ups" / "magic columns" = AI research fields; "sequences" / "campaigns" = multi-step outreach; "Context Center" = the team's ICP & product profile; ICP = ideal customer profile, TAM = total addressable market; "conversation intelligence" = recorded calls & meetings. Do NOT use this tool — use the dedicated tool instead — for deterministic data operations: - People/company search when you ALREADY have a structured filter set → dedicated `apollo_mixed_people_api_search`, `apollo_mixed_companies_search`. (For natural-language prospecting, use `apollo_agent_find_prospects` instead.) - Field enrichment of 10 or fewer named people, or of companies → `apollo_people_match`, `apollo_people_bulk_match`, `apollo_organizations_enrich`; more than 10 people or a search's results → `apollo_agent_bulk_enrich` - Contact/account create/update → `apollo_contacts_*`, `apollo_accounts_*` - Mechanical sequence create/update/search/activate → `apollo_sequences_*`, `apollo_emailer_campaigns_*` (AI drafting → `apollo_agent_draft_sequence_copy`) - Tasks → `apollo_tasks_*` | Deals → `apollo_deals_*` - A single structured metric pull → `apollo_analytics_sync_report` - Raw email bounce/spam/open data, or why an email wasn't sent → `apollo_emailer_messages_search`, `apollo_emailer_messages_email_send_status` - List mailboxes / the default sender / current sending limits → `apollo_email_accounts_index` - A company's current job postings → `apollo_organizations_job_postings` - Simple credit-balance check → `apollo_usage_stats_credit_usage_stats`, `apollo_users_api_profile` - Context Center (ICP/product) edits → `apollo_context_center_*` --- Task protocol (START and REPLY go through any `apollo_agent_*` tool; POLL goes through `apollo_agent_poll_task`. A `task_id` started via any `apollo_agent_*` tool can be replied to with any other, since they all run on the same Apollo AI Agent; replying with the tool you started with is clearer but not required) --- ## TWO TOOLS - This tool (any `apollo_agent_*` tool), `instruction` required: 1. without `task_id` → START: creates a new Agent task, appends your message, and starts the agent. Returns `task_id`, any messages so far, and `cursor`. 2. with `task_id` → REPLY: appends your message to the SAME task and resumes the agent with the full conversation so far. If the agent is still working, the message is NOT delivered and you get `next_action: task_busy`. This tool never polls: a call without `instruction` is rejected. - `apollo_agent_poll_task`, `task_id` (plus `cursor`) → POLL: reads messages added after `cursor` and the current `next_action`. Safe to repeat; sends nothing to the agent. ## THE LOOP 1. START with `instruction` (the user's request, verbatim). 2. Store `task_id` and `cursor` from every response. 3. POLL with `apollo_agent_poll_task` (`task_id` + latest `cursor`), waiting `poll_after_ms` between calls, until `next_action` is `inspect_and_decide` or `failed`. `poll_after_ms` grows from 15 seconds to 3 minutes the longer the task runs. While polling, surface any new messages to the user. Minutes without new messages are normal while the agent works (`idle_seconds` is the time since its last activity): keep polling, and do not START a new task because it seems slow. 4. `waiting_on_async_operation`: the agent is paused on a long-running operation (`waiting_on.type`, e.g. `background_job`, `tool_call`). Keep polling, waiting `poll_after_ms`; do NOT send a new message. If a background job runs past an hour, `next_action` becomes `inspect_and_decide` with `waiting_on` still set: ask the user whether to keep waiting, then REPLY with exactly `keep waiting` or `stop`, as `instructions` says. 5. `inspect_and_decide`: the agent stopped and can take input. Read every assistant message you received since your last message. If it asked something you can answer from the conversation, REPLY with `task_id` + `instruction`. If only the human can answer, ask the human, then REPLY with their answer verbatim. If the work is done, present it. `end_of_reply` / `need_user_reply` on a message are hints, not a verdict: read the text. If `failure_reason` is set, the last turn ended in an error: tell the user, and REPLY on the same `task_id` if they want to retry. 6. `task_busy`: your message was not delivered. Poll until `inspect_and_decide`, then resend. 7. `failed`: read `failure_reason` and the messages, tell the user; START a new task only if they want to retry. Never START a new task to continue the same conversation: that loses all context. Prefer REPLY to START for anything that builds on an earlier task. To start a request that should NOT carry any prior context, omit `task_id` and START a new task. ## RESPONSE FIELDS (both tools) `task_id`; `messages[]` (`seq_num`, `role`, `content`, optional `tool_calls` names, `end_of_reply`, `need_user_reply`); `cursor` (send back on the next call); `latest_seq_num`; `next_action` (`poll_again` | `waiting_on_async_operation` | `inspect_and_decide` | `task_busy` | `failed`); `poll_after_ms`; `instructions` (follow them); optional `waiting_on` (`type`, `since`, `elapsed_seconds`), `idle_seconds`, `failure_reason`, `message_accepted` (`apollo_agent_*` tools only), `artifacts[]` (files the task produced: finished CSV exports (`source` `csv_export`) and CSV, JSON, Markdown or text files the agent wrote (`source` `file`, `rows` null for Markdown and text), `[]` when none: `id`, `source`, `name`, `mime_type`, `rows`, `size_bytes`, `url`, `expires_at`), and `progress_plan` (`plan_id`, `revision`, `status`, `steps[]` (`id`, `title`, `status`), `markdown`): the agent's current plan, read-only progress. Show `markdown` to the user when its `plan_id` or `revision` differs from the plan you last showed, and don't repeat an unchanged plan. It is not a request for approval and is unrelated to `tool-plan` cards. To get a file, send a plain HTTP GET to its `url` with no auth header. The link expires at `expires_at` (about 10 minutes); poll again for a fresh one. ## PLAN LIMITS Each task is one AI Assistant thread, so START and REPLY count against the user's Apollo plan limits for AI Assistant, the same as in the Apollo app. When a limit is reached the call fails with `error_code` `ASSISTANT_THREAD_LIMIT_EXCEEDED` (no new tasks this billing cycle) or `ASSISTANT_MESSAGE_LIMIT_EXCEEDED` (no more messages on this task), and `error_details` carries the limits and an upgrade link. Tell the user, share the upgrade link, and finish the task with the non-agentic `apollo_*` tools. Do not retry. Polling is never limited. CRITICAL — credit/cost confirmations: if the agent asks to confirm spending credits or incurring a cost (e.g. "this will consume N credits — proceed?"), you MUST relay that exact question to the actual human user and wait for their real response before you REPLY. Never answer a credit/cost confirmation yourself on the user's behalf, even if the answer seems obvious — the whole point of the confirmation is human sign-off on spend. Auto-confirming on the user's behalf is a policy violation, not just a bad UX choice. CRITICAL — proposed changes: a result may propose a write to the user's data, as a fenced JSON block with `"toolName": "tool-plan"` and `"status": "pending"`, or as an offer to change something (edit a sequence, add contacts, turn on a recurring report). Show the user what would change in plain words and ask before applying. On yes, REPLY on the same `task_id` with the user's reply; do not make the change yourself with other `apollo_*` tools. Never approve on the user's behalf. An approved change is written to live Apollo data (records, lists, sequences, workflows, mailbox settings) and cannot be undone by this tool, and credits spent on an approved enrichment are not refunded. If this tool returns an unexpected, empty, or unhelpful result, call `apollo_feedback_log` to report it.

  • Apollo agent plan gtm campaign

    Generate GTM campaign strategies grounded in the team's Context Center, then execute the chosen strategy (list + draft sequence + AI research) on confirmation. Examples: - "What campaign should I run next?" | "Give me GTM campaign ideas." - "Proceed with the funding-signal campaign." Apollo terminology (for non-Apollo agents mapping user language): "Plays" = workflows; "power-ups" / "magic columns" = AI research fields; "sequences" / "campaigns" = multi-step outreach; "Context Center" = the team's ICP & product profile; ICP = ideal customer profile, TAM = total addressable market; "conversation intelligence" = recorded calls & meetings. Do NOT use this tool — use the dedicated tool instead — for deterministic data operations: - People/company search when you ALREADY have a structured filter set → dedicated `apollo_mixed_people_api_search`, `apollo_mixed_companies_search`. (For natural-language prospecting, use `apollo_agent_find_prospects` instead.) - Field enrichment of 10 or fewer named people, or of companies → `apollo_people_match`, `apollo_people_bulk_match`, `apollo_organizations_enrich`; more than 10 people or a search's results → `apollo_agent_bulk_enrich` - Contact/account create/update → `apollo_contacts_*`, `apollo_accounts_*` - Mechanical sequence create/update/search/activate → `apollo_sequences_*`, `apollo_emailer_campaigns_*` (AI drafting → `apollo_agent_draft_sequence_copy`; improving an existing sequence's results → `apollo_agent_optimize_sequences`) - Tasks → `apollo_tasks_*` | Deals → `apollo_deals_*` - A single structured metric pull → `apollo_analytics_sync_report` - Raw email bounce/spam/open data, or why an email wasn't sent → `apollo_emailer_messages_search`, `apollo_emailer_messages_email_send_status` - List mailboxes / the default sender / current sending limits → `apollo_email_accounts_index` - A company's current job postings → `apollo_organizations_job_postings` - Simple credit-balance check → `apollo_usage_stats_credit_usage_stats`, `apollo_users_api_profile` - Context Center (ICP/product) edits → `apollo_context_center_*` --- Task protocol (START and REPLY go through any `apollo_agent_*` tool; POLL goes through `apollo_agent_poll_task`. A `task_id` started via any `apollo_agent_*` tool can be replied to with any other, since they all run on the same Apollo AI Agent; replying with the tool you started with is clearer but not required) --- ## TWO TOOLS - This tool (any `apollo_agent_*` tool), `instruction` required: 1. without `task_id` → START: creates a new Agent task, appends your message, and starts the agent. Returns `task_id`, any messages so far, and `cursor`. 2. with `task_id` → REPLY: appends your message to the SAME task and resumes the agent with the full conversation so far. If the agent is still working, the message is NOT delivered and you get `next_action: task_busy`. This tool never polls: a call without `instruction` is rejected. - `apollo_agent_poll_task`, `task_id` (plus `cursor`) → POLL: reads messages added after `cursor` and the current `next_action`. Safe to repeat; sends nothing to the agent. ## THE LOOP 1. START with `instruction` (the user's request, verbatim). 2. Store `task_id` and `cursor` from every response. 3. POLL with `apollo_agent_poll_task` (`task_id` + latest `cursor`), waiting `poll_after_ms` between calls, until `next_action` is `inspect_and_decide` or `failed`. `poll_after_ms` grows from 15 seconds to 3 minutes the longer the task runs. While polling, surface any new messages to the user. Minutes without new messages are normal while the agent works (`idle_seconds` is the time since its last activity): keep polling, and do not START a new task because it seems slow. 4. `waiting_on_async_operation`: the agent is paused on a long-running operation (`waiting_on.type`, e.g. `background_job`, `tool_call`). Keep polling, waiting `poll_after_ms`; do NOT send a new message. If a background job runs past an hour, `next_action` becomes `inspect_and_decide` with `waiting_on` still set: ask the user whether to keep waiting, then REPLY with exactly `keep waiting` or `stop`, as `instructions` says. 5. `inspect_and_decide`: the agent stopped and can take input. Read every assistant message you received since your last message. If it asked something you can answer from the conversation, REPLY with `task_id` + `instruction`. If only the human can answer, ask the human, then REPLY with their answer verbatim. If the work is done, present it. `end_of_reply` / `need_user_reply` on a message are hints, not a verdict: read the text. If `failure_reason` is set, the last turn ended in an error: tell the user, and REPLY on the same `task_id` if they want to retry. 6. `task_busy`: your message was not delivered. Poll until `inspect_and_decide`, then resend. 7. `failed`: read `failure_reason` and the messages, tell the user; START a new task only if they want to retry. Never START a new task to continue the same conversation: that loses all context. Prefer REPLY to START for anything that builds on an earlier task. To start a request that should NOT carry any prior context, omit `task_id` and START a new task. ## RESPONSE FIELDS (both tools) `task_id`; `messages[]` (`seq_num`, `role`, `content`, optional `tool_calls` names, `end_of_reply`, `need_user_reply`); `cursor` (send back on the next call); `latest_seq_num`; `next_action` (`poll_again` | `waiting_on_async_operation` | `inspect_and_decide` | `task_busy` | `failed`); `poll_after_ms`; `instructions` (follow them); optional `waiting_on` (`type`, `since`, `elapsed_seconds`), `idle_seconds`, `failure_reason`, `message_accepted` (`apollo_agent_*` tools only), `artifacts[]` (files the task produced: finished CSV exports (`source` `csv_export`) and CSV, JSON, Markdown or text files the agent wrote (`source` `file`, `rows` null for Markdown and text), `[]` when none: `id`, `source`, `name`, `mime_type`, `rows`, `size_bytes`, `url`, `expires_at`), and `progress_plan` (`plan_id`, `revision`, `status`, `steps[]` (`id`, `title`, `status`), `markdown`): the agent's current plan, read-only progress. Show `markdown` to the user when its `plan_id` or `revision` differs from the plan you last showed, and don't repeat an unchanged plan. It is not a request for approval and is unrelated to `tool-plan` cards. To get a file, send a plain HTTP GET to its `url` with no auth header. The link expires at `expires_at` (about 10 minutes); poll again for a fresh one. ## PLAN LIMITS Each task is one AI Assistant thread, so START and REPLY count against the user's Apollo plan limits for AI Assistant, the same as in the Apollo app. When a limit is reached the call fails with `error_code` `ASSISTANT_THREAD_LIMIT_EXCEEDED` (no new tasks this billing cycle) or `ASSISTANT_MESSAGE_LIMIT_EXCEEDED` (no more messages on this task), and `error_details` carries the limits and an upgrade link. Tell the user, share the upgrade link, and finish the task with the non-agentic `apollo_*` tools. Do not retry. Polling is never limited. CRITICAL — credit/cost confirmations: if the agent asks to confirm spending credits or incurring a cost (e.g. "this will consume N credits — proceed?"), you MUST relay that exact question to the actual human user and wait for their real response before you REPLY. Never answer a credit/cost confirmation yourself on the user's behalf, even if the answer seems obvious — the whole point of the confirmation is human sign-off on spend. Auto-confirming on the user's behalf is a policy violation, not just a bad UX choice. CRITICAL — proposed changes: a result may propose a write to the user's data, as a fenced JSON block with `"toolName": "tool-plan"` and `"status": "pending"`, or as an offer to change something (edit a sequence, add contacts, turn on a recurring report). Show the user what would change in plain words and ask before applying. On yes, REPLY on the same `task_id` with the user's reply; do not make the change yourself with other `apollo_*` tools. Never approve on the user's behalf. An approved change is written to live Apollo data (records, lists, sequences, workflows, mailbox settings) and cannot be undone by this tool, and credits spent on an approved enrichment are not refunded. If this tool returns an unexpected, empty, or unhelpful result, call `apollo_feedback_log` to report it.

  • Apollo agent poll task

    Read the progress of an Apollo Agent task started with any `apollo_agent_*` tool (for example `apollo_agent_find_prospects` or `apollo_agent_bulk_enrich`). Returns the messages added after `cursor` plus a `next_action`; sends nothing to the agent, is safe to repeat, and does not count against plan limits. Call it with `task_id` and the latest `cursor`, waiting `poll_after_ms` between calls (it grows from 15 seconds to 3 minutes the longer the task runs), until `next_action` is `inspect_and_decide` (read the messages, then reply or present the result with the `apollo_agent_*` tool) or `failed`. On `waiting_on_async_operation` keep polling; do NOT send a message. `waiting_on.elapsed_seconds` is how long it has waited so far. Minutes without new messages are normal while the agent works (`idle_seconds` is the time since its last activity): keep polling, and do not start a new task because it seems slow. While the agent follows a plan, `progress_plan.markdown` is a read-only checklist of its progress: show it to the user when its `plan_id` or `revision` changes; it needs no approval. Always follow the response's `instructions`. If the agent asks to confirm spending credits or another cost, the actual human user must answer it; never confirm on their behalf. To send a message (start a task or reply on this task) use an `apollo_agent_*` tool; this tool takes no message. The full protocol is in the `apollo_agent_*` tool descriptions. If this tool returns an unexpected, empty, or unhelpful result, call `apollo_feedback_log` to report it.

  • Apollo agent research and analyze

    Run AI research ("power-ups" / "magic columns") on existing contacts or accounts to qualify, summarize/analyze, enrich, or generate hyper-personalized content. This agent reuses a matching research field or creates one, previews results, confirms credit cost, and runs it in bulk; it can browse and scrape the live web. This is for AI-generated/analytical columns only — for field enrichment of 10 or fewer named people, or of companies, use `apollo_people_match` / `apollo_people_bulk_match` / `apollo_organizations_enrich` (more than 10 people or a search's results → `apollo_agent_bulk_enrich`), and for a company's live job postings use `apollo_organizations_job_postings`. Examples: - "Which of these companies are actively hiring engineers / are carbon neutral?" - "Summarize each account's most recent funding news into a new column." - "Write a one-line personalized icebreaker for each of these contacts." Apollo terminology (for non-Apollo agents mapping user language): "Plays" = workflows; "power-ups" / "magic columns" = AI research fields; "sequences" / "campaigns" = multi-step outreach; "Context Center" = the team's ICP & product profile; ICP = ideal customer profile, TAM = total addressable market; "conversation intelligence" = recorded calls & meetings. Do NOT use this tool — use the dedicated tool instead — for deterministic data operations: - People/company search when you ALREADY have a structured filter set → dedicated `apollo_mixed_people_api_search`, `apollo_mixed_companies_search`. (For natural-language prospecting, use `apollo_agent_find_prospects` instead.) - Field enrichment of 10 or fewer named people, or of companies → `apollo_people_match`, `apollo_people_bulk_match`, `apollo_organizations_enrich`; more than 10 people or a search's results → `apollo_agent_bulk_enrich` - Contact/account create/update → `apollo_contacts_*`, `apollo_accounts_*` - Mechanical sequence create/update/search/activate → `apollo_sequences_*`, `apollo_emailer_campaigns_*` (AI drafting → `apollo_agent_draft_sequence_copy`; improving an existing sequence's results → `apollo_agent_optimize_sequences`) - Tasks → `apollo_tasks_*` | Deals → `apollo_deals_*` - A single structured metric pull → `apollo_analytics_sync_report` - Raw email bounce/spam/open data, or why an email wasn't sent → `apollo_emailer_messages_search`, `apollo_emailer_messages_email_send_status` - List mailboxes / the default sender / current sending limits → `apollo_email_accounts_index` - A company's current job postings → `apollo_organizations_job_postings` - Simple credit-balance check → `apollo_usage_stats_credit_usage_stats`, `apollo_users_api_profile` - Context Center (ICP/product) edits → `apollo_context_center_*` --- Task protocol (START and REPLY go through any `apollo_agent_*` tool; POLL goes through `apollo_agent_poll_task`. A `task_id` started via any `apollo_agent_*` tool can be replied to with any other, since they all run on the same Apollo AI Agent; replying with the tool you started with is clearer but not required) --- ## TWO TOOLS - This tool (any `apollo_agent_*` tool), `instruction` required: 1. without `task_id` → START: creates a new Agent task, appends your message, and starts the agent. Returns `task_id`, any messages so far, and `cursor`. 2. with `task_id` → REPLY: appends your message to the SAME task and resumes the agent with the full conversation so far. If the agent is still working, the message is NOT delivered and you get `next_action: task_busy`. This tool never polls: a call without `instruction` is rejected. - `apollo_agent_poll_task`, `task_id` (plus `cursor`) → POLL: reads messages added after `cursor` and the current `next_action`. Safe to repeat; sends nothing to the agent. ## THE LOOP 1. START with `instruction` (the user's request, verbatim). 2. Store `task_id` and `cursor` from every response. 3. POLL with `apollo_agent_poll_task` (`task_id` + latest `cursor`), waiting `poll_after_ms` between calls, until `next_action` is `inspect_and_decide` or `failed`. `poll_after_ms` grows from 15 seconds to 3 minutes the longer the task runs. While polling, surface any new messages to the user. Minutes without new messages are normal while the agent works (`idle_seconds` is the time since its last activity): keep polling, and do not START a new task because it seems slow. 4. `waiting_on_async_operation`: the agent is paused on a long-running operation (`waiting_on.type`, e.g. `background_job`, `tool_call`). Keep polling, waiting `poll_after_ms`; do NOT send a new message. If a background job runs past an hour, `next_action` becomes `inspect_and_decide` with `waiting_on` still set: ask the user whether to keep waiting, then REPLY with exactly `keep waiting` or `stop`, as `instructions` says. 5. `inspect_and_decide`: the agent stopped and can take input. Read every assistant message you received since your last message. If it asked something you can answer from the conversation, REPLY with `task_id` + `instruction`. If only the human can answer, ask the human, then REPLY with their answer verbatim. If the work is done, present it. `end_of_reply` / `need_user_reply` on a message are hints, not a verdict: read the text. If `failure_reason` is set, the last turn ended in an error: tell the user, and REPLY on the same `task_id` if they want to retry. 6. `task_busy`: your message was not delivered. Poll until `inspect_and_decide`, then resend. 7. `failed`: read `failure_reason` and the messages, tell the user; START a new task only if they want to retry. Never START a new task to continue the same conversation: that loses all context. Prefer REPLY to START for anything that builds on an earlier task. To start a request that should NOT carry any prior context, omit `task_id` and START a new task. ## RESPONSE FIELDS (both tools) `task_id`; `messages[]` (`seq_num`, `role`, `content`, optional `tool_calls` names, `end_of_reply`, `need_user_reply`); `cursor` (send back on the next call); `latest_seq_num`; `next_action` (`poll_again` | `waiting_on_async_operation` | `inspect_and_decide` | `task_busy` | `failed`); `poll_after_ms`; `instructions` (follow them); optional `waiting_on` (`type`, `since`, `elapsed_seconds`), `idle_seconds`, `failure_reason`, `message_accepted` (`apollo_agent_*` tools only), `artifacts[]` (files the task produced: finished CSV exports (`source` `csv_export`) and CSV, JSON, Markdown or text files the agent wrote (`source` `file`, `rows` null for Markdown and text), `[]` when none: `id`, `source`, `name`, `mime_type`, `rows`, `size_bytes`, `url`, `expires_at`), and `progress_plan` (`plan_id`, `revision`, `status`, `steps[]` (`id`, `title`, `status`), `markdown`): the agent's current plan, read-only progress. Show `markdown` to the user when its `plan_id` or `revision` differs from the plan you last showed, and don't repeat an unchanged plan. It is not a request for approval and is unrelated to `tool-plan` cards. To get a file, send a plain HTTP GET to its `url` with no auth header. The link expires at `expires_at` (about 10 minutes); poll again for a fresh one. ## PLAN LIMITS Each task is one AI Assistant thread, so START and REPLY count against the user's Apollo plan limits for AI Assistant, the same as in the Apollo app. When a limit is reached the call fails with `error_code` `ASSISTANT_THREAD_LIMIT_EXCEEDED` (no new tasks this billing cycle) or `ASSISTANT_MESSAGE_LIMIT_EXCEEDED` (no more messages on this task), and `error_details` carries the limits and an upgrade link. Tell the user, share the upgrade link, and finish the task with the non-agentic `apollo_*` tools. Do not retry. Polling is never limited. CRITICAL — credit/cost confirmations: if the agent asks to confirm spending credits or incurring a cost (e.g. "this will consume N credits — proceed?"), you MUST relay that exact question to the actual human user and wait for their real response before you REPLY. Never answer a credit/cost confirmation yourself on the user's behalf, even if the answer seems obvious — the whole point of the confirmation is human sign-off on spend. Auto-confirming on the user's behalf is a policy violation, not just a bad UX choice. CRITICAL — proposed changes: a result may propose a write to the user's data, as a fenced JSON block with `"toolName": "tool-plan"` and `"status": "pending"`, or as an offer to change something (edit a sequence, add contacts, turn on a recurring report). Show the user what would change in plain words and ask before applying. On yes, REPLY on the same `task_id` with the user's reply; do not make the change yourself with other `apollo_*` tools. Never approve on the user's behalf. An approved change is written to live Apollo data (records, lists, sequences, workflows, mailbox settings) and cannot be undone by this tool, and credits spent on an approved enrichment are not refunded. If this tool returns an unexpected, empty, or unhelpful result, call `apollo_feedback_log` to report it.

  • Apollo agent summarize calls meetings

    Summarize and extract insights from recorded calls & meetings (transcripts, next steps, follow-ups owed, deal-stage signals). Examples: - "Summarize this meeting / what was the pricing discussion?" - "What are the next steps?" | "What follow-ups do I owe?" Apollo terminology (for non-Apollo agents mapping user language): "Plays" = workflows; "power-ups" / "magic columns" = AI research fields; "sequences" / "campaigns" = multi-step outreach; "Context Center" = the team's ICP & product profile; ICP = ideal customer profile, TAM = total addressable market; "conversation intelligence" = recorded calls & meetings. Do NOT use this tool — use the dedicated tool instead — for deterministic data operations: - People/company search when you ALREADY have a structured filter set → dedicated `apollo_mixed_people_api_search`, `apollo_mixed_companies_search`. (For natural-language prospecting, use `apollo_agent_find_prospects` instead.) - Field enrichment of 10 or fewer named people, or of companies → `apollo_people_match`, `apollo_people_bulk_match`, `apollo_organizations_enrich`; more than 10 people or a search's results → `apollo_agent_bulk_enrich` - Contact/account create/update → `apollo_contacts_*`, `apollo_accounts_*` - Mechanical sequence create/update/search/activate → `apollo_sequences_*`, `apollo_emailer_campaigns_*` (AI drafting → `apollo_agent_draft_sequence_copy`; improving an existing sequence's results → `apollo_agent_optimize_sequences`) - Tasks → `apollo_tasks_*` | Deals → `apollo_deals_*` - A single structured metric pull → `apollo_analytics_sync_report` - Raw email bounce/spam/open data, or why an email wasn't sent → `apollo_emailer_messages_search`, `apollo_emailer_messages_email_send_status` - List mailboxes / the default sender / current sending limits → `apollo_email_accounts_index` - A company's current job postings → `apollo_organizations_job_postings` - Simple credit-balance check → `apollo_usage_stats_credit_usage_stats`, `apollo_users_api_profile` - Context Center (ICP/product) edits → `apollo_context_center_*` --- Task protocol (START and REPLY go through any `apollo_agent_*` tool; POLL goes through `apollo_agent_poll_task`. A `task_id` started via any `apollo_agent_*` tool can be replied to with any other, since they all run on the same Apollo AI Agent; replying with the tool you started with is clearer but not required) --- ## TWO TOOLS - This tool (any `apollo_agent_*` tool), `instruction` required: 1. without `task_id` → START: creates a new Agent task, appends your message, and starts the agent. Returns `task_id`, any messages so far, and `cursor`. 2. with `task_id` → REPLY: appends your message to the SAME task and resumes the agent with the full conversation so far. If the agent is still working, the message is NOT delivered and you get `next_action: task_busy`. This tool never polls: a call without `instruction` is rejected. - `apollo_agent_poll_task`, `task_id` (plus `cursor`) → POLL: reads messages added after `cursor` and the current `next_action`. Safe to repeat; sends nothing to the agent. ## THE LOOP 1. START with `instruction` (the user's request, verbatim). 2. Store `task_id` and `cursor` from every response. 3. POLL with `apollo_agent_poll_task` (`task_id` + latest `cursor`), waiting `poll_after_ms` between calls, until `next_action` is `inspect_and_decide` or `failed`. `poll_after_ms` grows from 15 seconds to 3 minutes the longer the task runs. While polling, surface any new messages to the user. Minutes without new messages are normal while the agent works (`idle_seconds` is the time since its last activity): keep polling, and do not START a new task because it seems slow. 4. `waiting_on_async_operation`: the agent is paused on a long-running operation (`waiting_on.type`, e.g. `background_job`, `tool_call`). Keep polling, waiting `poll_after_ms`; do NOT send a new message. If a background job runs past an hour, `next_action` becomes `inspect_and_decide` with `waiting_on` still set: ask the user whether to keep waiting, then REPLY with exactly `keep waiting` or `stop`, as `instructions` says. 5. `inspect_and_decide`: the agent stopped and can take input. Read every assistant message you received since your last message. If it asked something you can answer from the conversation, REPLY with `task_id` + `instruction`. If only the human can answer, ask the human, then REPLY with their answer verbatim. If the work is done, present it. `end_of_reply` / `need_user_reply` on a message are hints, not a verdict: read the text. If `failure_reason` is set, the last turn ended in an error: tell the user, and REPLY on the same `task_id` if they want to retry. 6. `task_busy`: your message was not delivered. Poll until `inspect_and_decide`, then resend. 7. `failed`: read `failure_reason` and the messages, tell the user; START a new task only if they want to retry. Never START a new task to continue the same conversation: that loses all context. Prefer REPLY to START for anything that builds on an earlier task. To start a request that should NOT carry any prior context, omit `task_id` and START a new task. ## RESPONSE FIELDS (both tools) `task_id`; `messages[]` (`seq_num`, `role`, `content`, optional `tool_calls` names, `end_of_reply`, `need_user_reply`); `cursor` (send back on the next call); `latest_seq_num`; `next_action` (`poll_again` | `waiting_on_async_operation` | `inspect_and_decide` | `task_busy` | `failed`); `poll_after_ms`; `instructions` (follow them); optional `waiting_on` (`type`, `since`, `elapsed_seconds`), `idle_seconds`, `failure_reason`, `message_accepted` (`apollo_agent_*` tools only), `artifacts[]` (files the task produced: finished CSV exports (`source` `csv_export`) and CSV, JSON, Markdown or text files the agent wrote (`source` `file`, `rows` null for Markdown and text), `[]` when none: `id`, `source`, `name`, `mime_type`, `rows`, `size_bytes`, `url`, `expires_at`), and `progress_plan` (`plan_id`, `revision`, `status`, `steps[]` (`id`, `title`, `status`), `markdown`): the agent's current plan, read-only progress. Show `markdown` to the user when its `plan_id` or `revision` differs from the plan you last showed, and don't repeat an unchanged plan. It is not a request for approval and is unrelated to `tool-plan` cards. To get a file, send a plain HTTP GET to its `url` with no auth header. The link expires at `expires_at` (about 10 minutes); poll again for a fresh one. ## PLAN LIMITS Each task is one AI Assistant thread, so START and REPLY count against the user's Apollo plan limits for AI Assistant, the same as in the Apollo app. When a limit is reached the call fails with `error_code` `ASSISTANT_THREAD_LIMIT_EXCEEDED` (no new tasks this billing cycle) or `ASSISTANT_MESSAGE_LIMIT_EXCEEDED` (no more messages on this task), and `error_details` carries the limits and an upgrade link. Tell the user, share the upgrade link, and finish the task with the non-agentic `apollo_*` tools. Do not retry. Polling is never limited. CRITICAL — credit/cost confirmations: if the agent asks to confirm spending credits or incurring a cost (e.g. "this will consume N credits — proceed?"), you MUST relay that exact question to the actual human user and wait for their real response before you REPLY. Never answer a credit/cost confirmation yourself on the user's behalf, even if the answer seems obvious — the whole point of the confirmation is human sign-off on spend. Auto-confirming on the user's behalf is a policy violation, not just a bad UX choice. CRITICAL — proposed changes: a result may propose a write to the user's data, as a fenced JSON block with `"toolName": "tool-plan"` and `"status": "pending"`, or as an offer to change something (edit a sequence, add contacts, turn on a recurring report). Show the user what would change in plain words and ask before applying. On yes, REPLY on the same `task_id` with the user's reply; do not make the change yourself with other `apollo_*` tools. Never approve on the user's behalf. An approved change is written to live Apollo data (records, lists, sequences, workflows, mailbox settings) and cannot be undone by this tool, and credits spent on an approved enrichment are not refunded. If this tool returns an unexpected, empty, or unhelpful result, call `apollo_feedback_log` to report it.

  • Apollo agent workflow automation

    Build and manage Apollo workflows ("Plays"): trigger + action automations that run actions over matching records when a trigger fires. Triggers are scheduled (daily/weekly/monthly/once) or event-based (email opened/replied, reply sentiment, stage changed, field updated, record created, form submitted, added to sequence, etc.); actions include add-to-sequence, create/assign a task, update a field, run research/enrichment, send a notification, add to a list, manage deals, conditional branches, and third-party connector actions (Salesforce, Slack, etc.). Examples: - "When a contact opens an email, create a follow-up task assigned to me." - "Every Monday, target leads at US financial companies and update their deal custom field." - "Notify me weekly when new US SMB recruiters are found; if fintech notify me, else add to a list." (conditional branching) - "Add a step to this workflow that adds matching companies to the 'Promising companies' list." (edit) | "Change this workflow to run monthly instead of daily." (optimize) There is no dedicated mechanical tool for workflow CRUD — this agent is the only way to build, edit, or manage Plays. An active workflow takes real actions on live records (enrolling contacts in sequences, updating fields and deals, running third-party actions), which cannot be undone by this tool. Apollo terminology (for non-Apollo agents mapping user language): "Plays" = workflows; "power-ups" / "magic columns" = AI research fields; "sequences" / "campaigns" = multi-step outreach; "Context Center" = the team's ICP & product profile; ICP = ideal customer profile, TAM = total addressable market; "conversation intelligence" = recorded calls & meetings. Do NOT use this tool — use the dedicated tool instead — for deterministic data operations: - People/company search when you ALREADY have a structured filter set → dedicated `apollo_mixed_people_api_search`, `apollo_mixed_companies_search`. (For natural-language prospecting, use `apollo_agent_find_prospects` instead.) - Field enrichment of 10 or fewer named people, or of companies → `apollo_people_match`, `apollo_people_bulk_match`, `apollo_organizations_enrich`; more than 10 people or a search's results → `apollo_agent_bulk_enrich` - Contact/account create/update → `apollo_contacts_*`, `apollo_accounts_*` - Mechanical sequence create/update/search/activate → `apollo_sequences_*`, `apollo_emailer_campaigns_*` (AI drafting → `apollo_agent_draft_sequence_copy`; improving an existing sequence's results → `apollo_agent_optimize_sequences`) - Tasks → `apollo_tasks_*` | Deals → `apollo_deals_*` - A single structured metric pull → `apollo_analytics_sync_report` - Raw email bounce/spam/open data, or why an email wasn't sent → `apollo_emailer_messages_search`, `apollo_emailer_messages_email_send_status` - List mailboxes / the default sender / current sending limits → `apollo_email_accounts_index` - A company's current job postings → `apollo_organizations_job_postings` - Simple credit-balance check → `apollo_usage_stats_credit_usage_stats`, `apollo_users_api_profile` - Context Center (ICP/product) edits → `apollo_context_center_*` --- Task protocol (START and REPLY go through any `apollo_agent_*` tool; POLL goes through `apollo_agent_poll_task`. A `task_id` started via any `apollo_agent_*` tool can be replied to with any other, since they all run on the same Apollo AI Agent; replying with the tool you started with is clearer but not required) --- ## TWO TOOLS - This tool (any `apollo_agent_*` tool), `instruction` required: 1. without `task_id` → START: creates a new Agent task, appends your message, and starts the agent. Returns `task_id`, any messages so far, and `cursor`. 2. with `task_id` → REPLY: appends your message to the SAME task and resumes the agent with the full conversation so far. If the agent is still working, the message is NOT delivered and you get `next_action: task_busy`. This tool never polls: a call without `instruction` is rejected. - `apollo_agent_poll_task`, `task_id` (plus `cursor`) → POLL: reads messages added after `cursor` and the current `next_action`. Safe to repeat; sends nothing to the agent. ## THE LOOP 1. START with `instruction` (the user's request, verbatim). 2. Store `task_id` and `cursor` from every response. 3. POLL with `apollo_agent_poll_task` (`task_id` + latest `cursor`), waiting `poll_after_ms` between calls, until `next_action` is `inspect_and_decide` or `failed`. `poll_after_ms` grows from 15 seconds to 3 minutes the longer the task runs. While polling, surface any new messages to the user. Minutes without new messages are normal while the agent works (`idle_seconds` is the time since its last activity): keep polling, and do not START a new task because it seems slow. 4. `waiting_on_async_operation`: the agent is paused on a long-running operation (`waiting_on.type`, e.g. `background_job`, `tool_call`). Keep polling, waiting `poll_after_ms`; do NOT send a new message. If a background job runs past an hour, `next_action` becomes `inspect_and_decide` with `waiting_on` still set: ask the user whether to keep waiting, then REPLY with exactly `keep waiting` or `stop`, as `instructions` says. 5. `inspect_and_decide`: the agent stopped and can take input. Read every assistant message you received since your last message. If it asked something you can answer from the conversation, REPLY with `task_id` + `instruction`. If only the human can answer, ask the human, then REPLY with their answer verbatim. If the work is done, present it. `end_of_reply` / `need_user_reply` on a message are hints, not a verdict: read the text. If `failure_reason` is set, the last turn ended in an error: tell the user, and REPLY on the same `task_id` if they want to retry. 6. `task_busy`: your message was not delivered. Poll until `inspect_and_decide`, then resend. 7. `failed`: read `failure_reason` and the messages, tell the user; START a new task only if they want to retry. Never START a new task to continue the same conversation: that loses all context. Prefer REPLY to START for anything that builds on an earlier task. To start a request that should NOT carry any prior context, omit `task_id` and START a new task. ## RESPONSE FIELDS (both tools) `task_id`; `messages[]` (`seq_num`, `role`, `content`, optional `tool_calls` names, `end_of_reply`, `need_user_reply`); `cursor` (send back on the next call); `latest_seq_num`; `next_action` (`poll_again` | `waiting_on_async_operation` | `inspect_and_decide` | `task_busy` | `failed`); `poll_after_ms`; `instructions` (follow them); optional `waiting_on` (`type`, `since`, `elapsed_seconds`), `idle_seconds`, `failure_reason`, `message_accepted` (`apollo_agent_*` tools only), `artifacts[]` (files the task produced: finished CSV exports (`source` `csv_export`) and CSV, JSON, Markdown or text files the agent wrote (`source` `file`, `rows` null for Markdown and text), `[]` when none: `id`, `source`, `name`, `mime_type`, `rows`, `size_bytes`, `url`, `expires_at`), and `progress_plan` (`plan_id`, `revision`, `status`, `steps[]` (`id`, `title`, `status`), `markdown`): the agent's current plan, read-only progress. Show `markdown` to the user when its `plan_id` or `revision` differs from the plan you last showed, and don't repeat an unchanged plan. It is not a request for approval and is unrelated to `tool-plan` cards. To get a file, send a plain HTTP GET to its `url` with no auth header. The link expires at `expires_at` (about 10 minutes); poll again for a fresh one. ## PLAN LIMITS Each task is one AI Assistant thread, so START and REPLY count against the user's Apollo plan limits for AI Assistant, the same as in the Apollo app. When a limit is reached the call fails with `error_code` `ASSISTANT_THREAD_LIMIT_EXCEEDED` (no new tasks this billing cycle) or `ASSISTANT_MESSAGE_LIMIT_EXCEEDED` (no more messages on this task), and `error_details` carries the limits and an upgrade link. Tell the user, share the upgrade link, and finish the task with the non-agentic `apollo_*` tools. Do not retry. Polling is never limited. CRITICAL — credit/cost confirmations: if the agent asks to confirm spending credits or incurring a cost (e.g. "this will consume N credits — proceed?"), you MUST relay that exact question to the actual human user and wait for their real response before you REPLY. Never answer a credit/cost confirmation yourself on the user's behalf, even if the answer seems obvious — the whole point of the confirmation is human sign-off on spend. Auto-confirming on the user's behalf is a policy violation, not just a bad UX choice. CRITICAL — proposed changes: a result may propose a write to the user's data, as a fenced JSON block with `"toolName": "tool-plan"` and `"status": "pending"`, or as an offer to change something (edit a sequence, add contacts, turn on a recurring report). Show the user what would change in plain words and ask before applying. On yes, REPLY on the same `task_id` with the user's reply; do not make the change yourself with other `apollo_*` tools. Never approve on the user's behalf. An approved change is written to live Apollo data (records, lists, sequences, workflows, mailbox settings) and cannot be undone by this tool, and credits spent on an approved enrichment are not refunded. If this tool returns an unexpected, empty, or unhelpful result, call `apollo_feedback_log` to report it.

  • Apollo analytics sync report

    Query Apollo's sales analytics data with flexible filtering, grouping, and aggregation. Supports metrics across emails, calls, meetings, tasks, opportunities, and conversation intelligence. Break down by 55+ dimensions including time, user, contact stage, account details, and more. If this tool returns an unexpected, empty, or unhelpful result, call `apollo_feedback_log` to report it.

  • Apollo contacts bulk create

    Create many contacts in a single call. Pass an array of contact objects under contacts. Apollo automatically prevents duplicates: any object that matches an existing contact by email or other details updates that existing contact instead of creating a new record. This action is destructive: for any object that matches an existing contact, the values you send overwrite that contact's current field values, and that overwrite cannot be undone. Send at most 100 contacts per call (Maximum 100, enforced by maxItems on contacts); split larger jobs into multiple calls. Contact creation is also subject to a per-team daily limit configured by your Apollo admin. Use the single Create Contact endpoint when adding only one contact; use Update Contact to modify an existing contact. Once created, contacts are not removed by subsequent calls — review the array before sending. To set custom fields, first call the List Custom Fields tool (apollo_fields_index) and use the field whose modality is 'contact', then pass typed_custom_fields keyed by the returned field IDs on each contact object. After a successful bulk create, inspect the returned contacts. For any contact whose person_id or organization_id is null, tell the user those records were saved from the details provided but were not matched to Apollo's canonical person and company data; summarize the affected count instead of asking once per contact. This is not a failure, and it does not affect any saved Account. Offer enrichment as the next step, unless the user asked not to enrich. Do not enrich automatically and do not start a per-contact match loop: if the user agrees, confirm the total scope and applicable credit disclosure using the exact confirmation rules of apollo_people_bulk_match; do not state a fixed total for waterfall enrichment, and never claim enrichment will create or attach an Account. When a contact already has both person_id and organization_id, do not flag it. Also check account_id on each returned contact. A contact whose account_id is null is not linked to an Account (a company saved in the team's Apollo database). Apollo does not link one automatically for contacts created through this tool, and enrichment does not link one either. Tell the user how many contacts are affected in one sentence, in the same message as the recommendation above when you show both, instead of flagging each contact, and offer to link them. Do not search, create, or link before the user agrees. If they want only accounts the team already has, list the distinct companies and look them up in one apollo_mixed_companies_search call using q_organization_domains_list, then use the `id` of each entry in the `accounts` bucket; leave contacts whose company is not there unlinked. If they also want missing accounts created, list the distinct companies and confirm before calling apollo_accounts_bulk_create once with run_dedupe set to true: accounts the team already has come back under existing_accounts, and the rest are created, which cannot be undone. Then pass each contact's account `id` as account_id to apollo_contacts_update. When every contact has an account_id, do not mention it. If this tool returns an unexpected, empty, or unhelpful result, call `apollo_feedback_log` to report it.

  • Apollo contacts create

    Create a new contact in Apollo. Use this when adding a single contact; to add several at once, use the Bulk Create Contacts tool (apollo_contacts_bulk_create). Apollo automatically prevents duplicates: if an entry matches an existing contact by email or other details, that existing contact is updated instead of creating a new one. This action is destructive: when it matches an existing contact, the values you send overwrite that contact's current field values, and that overwrite cannot be undone. To set custom fields, first call the List Custom Fields tool (apollo_fields_index) and use the field whose modality is 'contact', then pass typed_custom_fields keyed by the returned field IDs. After a successful create, inspect the returned contact. When person_id or organization_id is null, tell the user the contact was saved from the details they provided but has not been matched to Apollo's canonical person and company data. This is not a failure, and it does not affect any saved Account. Offer to enrich the contact as the next step, unless the user asked not to enrich. Do not enrich automatically: if the user agrees, follow the confirmation rules of apollo_people_match before calling it, and never claim enrichment will create or attach an Account. When both person_id and organization_id are present, do not show this recommendation. Also check account_id on the returned contact. When it is null, the contact is not linked to an Account (a company saved in the team's Apollo database). Apollo does not link one automatically for contacts created through this tool, and enrichment does not link one either. Tell the user this in one sentence, in the same message as the recommendation above when you show both, and offer to link the contact. Do not search, create, or link before the user agrees. If they agree, look the company up with apollo_mixed_companies_search: when it appears in the `accounts` bucket, confirm that account with the user and pass its `id` as account_id to apollo_contacts_update. When it does not appear there, offer to create it with apollo_accounts_bulk_create with run_dedupe set to true, which cannot be undone, then link the returned account the same way. When account_id is present, do not mention it. If this tool returns an unexpected, empty, or unhelpful result, call `apollo_feedback_log` to report it.

  • Apollo contacts find potential duplicate

    Use the Find Potential Duplicate Contact endpoint to check whether one contact saved in your team's Apollo account has a likely duplicate. Pass exactly one contact id from apollo_contacts_search per call; checking 500 contacts takes 500 calls. The response holds contact_id (the contact you checked) and, when Apollo finds a likely duplicate, duplicate_contact (the potential duplicate). A response with no duplicate_contact is the normal no-match answer, not an error: report "no likely duplicate" without remarking on the shape. Each call returns at most one duplicate, and calling again returns the same match until that copy is merged or deleted. To find every copy, merge the match, call again with the surviving contact, and repeat until no duplicate_contact comes back; never call the list complete after a call that returned one. When you show the pair, label each contact by its role: "Contact you checked" (contact_id; take its details from apollo_contacts_search, because this response carries only its id) and "Potential duplicate" (duplicate_contact). Never label them older and newer, or original and copy: the contact you checked can be either one, and nothing in the response says which contact to keep. The match is a suggestion, not a verdict. Apollo matches on a shared identifier (the same Apollo person, email address, Salesforce id or LinkedIn profile) or on the same name at the same company, which can be a different person. Deleted contacts and contacts that exist only from an email import are never returned. duplicate_contact carries id, name, first_name, last_name, email, title, organization_name, linkedin_url and created_at; a field the contact has no value for is left out, which is normal. A 404 means the id is not a live contact in the user's team. This tool is read-only and changes nothing. Merging is a separate, irreversible step that permanently deletes one of the two contacts. Show the user both, labelled as above, ask which one to keep, and wait for their explicit approval before calling any merge tool; never merge on the basis of this result alone. If this tool returns an unexpected, empty, or unhelpful result, call `apollo_feedback_log` to report it.

Page 1 / 5Next