Skip to content

Commit 6a00685

Browse files
waleedlatif1claude
andauthored
improvement(apollo): align tools and block with Apollo API docs (#4487)
* improvement(apollo): align tools and block with Apollo API docs * improvement(apollo): fix tool outputs to match Apollo API response shapes * chore(apollo): regenerate docs for output changes * fix(apollo): address PR review comments * fix(apollo): allow skipped_contact_ids as hash per Apollo docs * docs * fix(apollo): add runtime guard for account_bulk_update empty body * fix(apollo): require contact_attributes for bulk_update * fix(apollo): add subblock id migrations for renamed opportunity fields * fix(apollo): tighten account_bulk_update guard and accept object attrs * fix(apollo): require contact_ids with object-form contact_attributes * docs(apollo): clarify contact_bulk_update parameter requirements * fix(apollo): handle flat and wrapped contact response shapes * validate * fix(apollo): mirror bulk_update guard, preserve update fields in migration, expose account_bulk_create options * fix(apollo): don't clobber user contact_attributes in migration; simplify task_create created flag * fix(apollo): drop undocumented task type, preserve mixed-array IDs, migrate note→task_notes * fix(apollo): align tools and block with live API docs Final pass over the Apollo integration after a per-tool forensic audit against Apollo.io docs. Notable fixes: - organization_enrich: GET+querystring -> POST+JSON body (canonical, non master-key) - organization_bulk_enrich: ?domains[]= -> JSON body { organizations } - people_search: declare/forward organization_num_employees_ranges; fix contact_email_status placeholder ("likely to engage", with spaces) - account_bulk_create: surface failed_accounts and failed count - contact_bulk_create: expand documented per-contact fields (CRM IDs, phone_numbers, contact_emails, typed_custom_fields, etc.) - sequence_add_contacts: surface remaining documented filter params - task_create: confirm wire field name (note) and remap from task_notes - types: tighten params/responses for the above Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> * docs * fix(apollo): add _removed_* migrations for retired opportunity subblocks * fix(apollo): expose webhook_url subblock for people enrich phone reveal * fix(apollo): drop colliding account_ids migration, enforce contact bulk limit, expose async toggle for accounts * fix(apollo): cap account_attributes at 1000 in bulk update * fix(apollo): drop bare-id merging in bulk update migration to avoid empty attribute objects * fix(apollo): reject ambiguous account/contact_ids + array-form attributes --------- Co-authored-by: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 408669d commit 6a00685

30 files changed

Lines changed: 1955 additions & 692 deletions

apps/docs/content/docs/en/tools/apollo.mdx

Lines changed: 141 additions & 72 deletions
Large diffs are not rendered by default.

apps/sim/app/(landing)/integrations/data/integrations.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -862,7 +862,7 @@
862862
},
863863
{
864864
"name": "Bulk Create Accounts",
865-
"description": "Create up to 100 accounts at once in your Apollo database. Note: Apollo does not apply deduplication - duplicate accounts may be created if entries share similar names or domains. Master key required."
865+
"description": "Create up to 100 accounts at once in your Apollo database. Set run_dedupe=true to deduplicate by domain, organization_id, and name. Master key required."
866866
},
867867
{
868868
"name": "Bulk Update Accounts",
@@ -894,7 +894,7 @@
894894
},
895895
{
896896
"name": "Create Task",
897-
"description": "Create a new task in Apollo"
897+
"description": "Create one or more tasks in Apollo (one task per contact_id, master key required)"
898898
},
899899
{
900900
"name": "Search Tasks",

0 commit comments

Comments
 (0)