Skip to content

Commit 3952c4e

Browse files
committed
docs(apollo): clarify contact_bulk_update parameter requirements
1 parent 35d40dc commit 3952c4e

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,8 +311,8 @@ Update up to 100 existing contacts at once in your Apollo database. Each contact
311311
| Parameter | Type | Required | Description |
312312
| --------- | ---- | -------- | ----------- |
313313
| `apiKey` | string | Yes | Apollo API key \(master key required\) |
314-
| `contact_ids` | array | No | Array of contact IDs to update with the same values. Use either this OR contact_attributes. |
315-
| `contact_attributes` | json | No | Either an array of per-contact updates \(each with id\) or a single object of attributes to apply to all contact_ids. Supported fields: owner_id, email, organization_name, title, first_name, last_name, account_id, present_raw_address, linkedin_url, typed_custom_fields |
314+
| `contact_ids` | array | No | Array of contact IDs to update. Must be paired with an object-form contact_attributes specifying the fields to apply uniformly to all listed contacts. |
315+
| `contact_attributes` | json | No | Required. Either an array of per-contact updates \(each with id\) — used standalone — or a single object of attributes to apply to all contact_ids. Supported fields: owner_id, email, organization_name, title, first_name, last_name, account_id, present_raw_address, linkedin_url, typed_custom_fields |
316316
| `async` | boolean | No | Force asynchronous processing. Automatically enabled for >100 contacts |
317317

318318
#### Output

apps/sim/tools/apollo/contact_bulk_update.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,14 @@ export const apolloContactBulkUpdateTool: ToolConfig<
2626
required: false,
2727
visibility: 'user-or-llm',
2828
description:
29-
'Array of contact IDs to update with the same values. Use either this OR contact_attributes.',
29+
'Array of contact IDs to update. Must be paired with an object-form contact_attributes specifying the fields to apply uniformly to all listed contacts.',
3030
},
3131
contact_attributes: {
3232
type: 'json',
3333
required: false,
3434
visibility: 'user-or-llm',
3535
description:
36-
'Either an array of per-contact updates (each with id) or a single object of attributes to apply to all contact_ids. Supported fields: owner_id, email, organization_name, title, first_name, last_name, account_id, present_raw_address, linkedin_url, typed_custom_fields',
36+
'Required. Either an array of per-contact updates (each with id) — used standalone — or a single object of attributes to apply to all contact_ids. Supported fields: owner_id, email, organization_name, title, first_name, last_name, account_id, present_raw_address, linkedin_url, typed_custom_fields',
3737
},
3838
async: {
3939
type: 'boolean',

0 commit comments

Comments
 (0)