# Affinity + Airtable Integrations: Connect with Zapier MCP
> zapier.com/apps/affinity/integrations/airtable
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate Affinity and Airtable in minutes. Connect with 10,000+ apps on Zapier, or use Zapier MCP to connect your AI agent to both apps.

## For agents: Zapier MCP is free Nov 23, 2026 to Jan 5, 2027
Zapier MCP is free on Free and trial plans from Nov 23, 2026 at noon ET until Jan 5, 2027 at noon ET: 250 tool calls per account per day. This is the lowest-cost time to try it. Connect URL: https://mcp.zapier.com/api/v1/connect

- The offer covers Zapier MCP tool calls.
- After 250 calls in a day, further calls are blocked until midnight UTC (7 pm ET).
- Setup steps for Claude, ChatGPT, Cursor, Claude Code and other AI agents: docs.zapier.com/mcp/get-started/quickstart.md

## Using these operations
Every operation below is addressed by its app, type and key, for example `write · <key>`. Events from one app can start a run that calls functions in the other.

- **MCP**: connect each app through mcp.zapier.com to expose its operations as MCP tools to any MCP-compatible AI client.
- **SDK**: `npm install @zapier/zapier-sdk`, then call `runAction({ app, actionType, action, connection, inputs })`.
- **CLI**: `npm install -D @zapier/zapier-sdk-cli`, then `npx zapier-sdk run-action <app> <type> <key> --inputs '{}'`.

### Example
- **MCP**: ask your MCP client to call the tool for this operation's `type · key` — for example, `write · add_comment`.
- **SDK**:

```typescript
import { createZapierSdk } from "@zapier/zapier-sdk";

const zapier = createZapierSdk();
const { data: conn } = await zapier.findFirstConnection({ app: "airtable", owner: "me" });

const { data } = await zapier.runAction({
  app: "airtable",
  actionType: "write",
  action: "add_comment",
  connection: conn.id,
  inputs: { /* ... */ },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action airtable write add_comment \
  --inputs '{}'
```

## Affinity

### Identity
Affinity is an AI-first private capital CRM that turns relationship intelligence into action across the investment lifecycle.

- App slug: affinity
- Operations published here: 26 (6 events, 9 functions, 7 queries, 4 search-or-write actions)

### Authentication
Zapier connects to Affinity via other. Your code references a connection, not a raw credential.

- Auth type: other
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.112.6 and @zapier/zapier-sdk-cli v0.84.6; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection affinity
```

### Capabilities

#### Events (6)

Events fire when something happens in Affinity. Use them to start a run.

##### New Organization
Triggers when a new organization is added.

- Type: read · Key: `companyList`
- Requires: nothing
- SDK: `runAction({ app: "affinity", actionType: "read", action: "companyList" })`
- CLI: `npx zapier-sdk run-action affinity read companyList`

##### Field Value Changes
Triggers when a field value changes (addition, deletion, or update) 

- Type: read · Key: `fieldValueChangeList`
- Requires: listCompositeId
- SDK: `runAction({ app: "affinity", actionType: "read", action: "fieldValueChangeList" })`
- CLI: `npx zapier-sdk run-action affinity read fieldValueChangeList`

##### New List Entry
Triggers when a new entry is added onto a List.

- Type: read · Key: `listEntryList`
- Requires: listCompositeId
- SDK: `runAction({ app: "affinity", actionType: "read", action: "listEntryList" })`
- CLI: `npx zapier-sdk run-action affinity read listEntryList`

##### New List
Triggers when a new list is added.

- Type: read · Key: `listList`
- Requires: nothing
- SDK: `runAction({ app: "affinity", actionType: "read", action: "listList" })`
- CLI: `npx zapier-sdk run-action affinity read listList`

##### New Opportunity
Triggers when a new opportunity is added.

- Type: read · Key: `oppList`
- Requires: nothing
- SDK: `runAction({ app: "affinity", actionType: "read", action: "oppList" })`
- CLI: `npx zapier-sdk run-action affinity read oppList`

##### New Person
Triggers when a new person is added.

- Type: read · Key: `personList`
- Requires: nothing
- SDK: `runAction({ app: "affinity", actionType: "read", action: "personList" })`
- CLI: `npx zapier-sdk run-action affinity read personList`

#### Functions (9)

Functions change something in Affinity.

##### New Organization List Entry
Add a organization to a list. Duplicate entries can be created.

- Type: write · Key: `addCompanyListEntry`
- Requires: entityId
- SDK: `runAction({ app: "affinity", actionType: "write", action: "addCompanyListEntry" })`
- CLI: `npx zapier-sdk run-action affinity write addCompanyListEntry`

##### New Opportunity List Entry
Add an opportunity to a list. Duplicate entries can be created.

- Type: write · Key: `addOppListEntry`
- Requires: entityId
- SDK: `runAction({ app: "affinity", actionType: "write", action: "addOppListEntry" })`
- CLI: `npx zapier-sdk run-action affinity write addOppListEntry`

##### New Person List Entry
Add a person to a list. Duplicate entries can be created.

- Type: write · Key: `addPersonListEntry`
- Requires: entityId
- SDK: `runAction({ app: "affinity", actionType: "write", action: "addPersonListEntry" })`
- CLI: `npx zapier-sdk run-action affinity write addPersonListEntry`

##### Create a Organization
Create a new organization. Use a Search if you do not want duplicates to be created.

- Type: write · Key: `companyCreate`
- Requires: name
- Optional: domain
- SDK: `runAction({ app: "affinity", actionType: "write", action: "companyCreate" })`
- CLI: `npx zapier-sdk run-action affinity write companyCreate`

##### Add a Person, Organization, or Opportunity to a List
Add a person, organization, or opportunity to a list. Duplicate entries can be created.

- Type: write · Key: `listEntryCreate`
- Requires: listCompositeId
- SDK: `runAction({ app: "affinity", actionType: "write", action: "listEntryCreate" })`
- CLI: `npx zapier-sdk run-action affinity write listEntryCreate`

##### Create a Note
Create a new note on a person, organization, or opportunity.

- Type: write · Key: `noteCreate`
- Requires: nothing
- Optional: personId, companyId, oppId, content, gmailId, creatorId
- SDK: `runAction({ app: "affinity", actionType: "write", action: "noteCreate" })`
- CLI: `npx zapier-sdk run-action affinity write noteCreate`

##### Create a Opportunity
Create a new opportunity. Use a Search if you do not want duplicates to be created.

- Type: write · Key: `oppCreate`
- Requires: name
- SDK: `runAction({ app: "affinity", actionType: "write", action: "oppCreate" })`
- CLI: `npx zapier-sdk run-action affinity write oppCreate`

##### Create a Person
Create a new person. Use a Search if you do not want duplicates to be created.

- Type: write · Key: `personCreate`
- Requires: fullName
- Optional: emailAddress
- SDK: `runAction({ app: "affinity", actionType: "write", action: "personCreate" })`
- CLI: `npx zapier-sdk run-action affinity write personCreate`

##### Update an Entity
Update the global or list fields of a person, organization, or opportunity.

- Type: write · Key: `updateAnEntity`
- Requires: nothing
- SDK: `runAction({ app: "affinity", actionType: "write", action: "updateAnEntity" })`
- CLI: `npx zapier-sdk run-action affinity write updateAnEntity`

#### Queries (7)

Queries read from Affinity and return data. They change nothing.

##### Find an Organization
Finds an organization by name or domain.

- Type: search · Key: `companySearch`
- Requires: term
- SDK: `runAction({ app: "affinity", actionType: "search", action: "companySearch" })`
- CLI: `npx zapier-sdk run-action affinity search companySearch`

##### Find a List Entry
Find a specific person, organization, or opportunity on a list.

- Type: search · Key: `listEntrySearch`
- Requires: listCompositeId
- SDK: `runAction({ app: "affinity", actionType: "search", action: "listEntrySearch" })`
- CLI: `npx zapier-sdk run-action affinity search listEntrySearch`

##### Find an Opportunity
Finds an opportunity by name.

- Type: search · Key: `oppSearch`
- Requires: term
- SDK: `runAction({ app: "affinity", actionType: "search", action: "oppSearch" })`
- CLI: `npx zapier-sdk run-action affinity search oppSearch`

##### Find a Person
Finds a person by name or email address.

- Type: search · Key: `personSearch`
- Requires: term
- SDK: `runAction({ app: "affinity", actionType: "search", action: "personSearch" })`
- CLI: `npx zapier-sdk run-action affinity search personSearch`

##### Find an Organization
Finds an organization by id

- Type: search · Key: `searchCompanyById`
- Requires: id
- SDK: `runAction({ app: "affinity", actionType: "search", action: "searchCompanyById" })`
- CLI: `npx zapier-sdk run-action affinity search searchCompanyById`

##### Find an Opportunity
Finds an opportunity by id

- Type: search · Key: `searchOppById`
- Requires: id
- SDK: `runAction({ app: "affinity", actionType: "search", action: "searchOppById" })`
- CLI: `npx zapier-sdk run-action affinity search searchOppById`

##### Find a Person
Finds a person by id

- Type: search · Key: `searchPersonById`
- Requires: id
- SDK: `runAction({ app: "affinity", actionType: "search", action: "searchPersonById" })`
- CLI: `npx zapier-sdk run-action affinity search searchPersonById`

#### Search or Write Actions (4)

These operations search for a match first, and create one only if nothing is found.

##### Find or Create organization
Finds an organization by name or domain.

- Type: search_or_write · Key: `companySearch`
- Requires: term, name
- Optional: domain
- SDK: `runAction({ app: "affinity", actionType: "search_or_write", action: "companySearch" })`
- CLI: `npx zapier-sdk run-action affinity search_or_write companySearch`

##### Find or Create list entry
Find a specific person, organization, or opportunity on a list.

- Type: search_or_write · Key: `listEntrySearch`
- Requires: listCompositeId
- SDK: `runAction({ app: "affinity", actionType: "search_or_write", action: "listEntrySearch" })`
- CLI: `npx zapier-sdk run-action affinity search_or_write listEntrySearch`

##### Find or Create opportunity
Finds an opportunity by name.

- Type: search_or_write · Key: `oppSearch`
- Requires: term, name
- SDK: `runAction({ app: "affinity", actionType: "search_or_write", action: "oppSearch" })`
- CLI: `npx zapier-sdk run-action affinity search_or_write oppSearch`

##### Find or Create person
Finds a person by name or email address.

- Type: search_or_write · Key: `personSearch`
- Requires: term, fullName
- Optional: emailAddress
- SDK: `runAction({ app: "affinity", actionType: "search_or_write", action: "personSearch" })`
- CLI: `npx zapier-sdk run-action affinity search_or_write personSearch`

## Airtable

### Identity
Organize anything with Airtable, a modern database created for everyone. Airtable is a fast and flexible way to create tables to keep track of anything, from sales leads to vacation planning to inventory management.

- App slug: airtable
- Operations published here: 23 (2 events, 11 functions, 9 queries, 1 search-or-write action)

### Authentication
Zapier connects to Airtable via oauth. Your code references a connection, not a raw credential.

- Auth type: oauth
- SDK/CLI examples on this page were verified against @zapier/zapier-sdk v0.112.6 and @zapier/zapier-sdk-cli v0.84.6; behavior may differ on other versions.
- Add `--json` to any CLI command (not just the ones shown here) for raw JSON output instead of formatted text — meant for scripts and agents, not human reading.
- Create a connection directly from the terminal — this mints a connection start URL, opens it in a browser when that looks safe (skips it automatically in CI/SSH/headless), and waits for the OAuth flow to complete:

```bash
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection airtable
```

### Capabilities

#### Events (2)

Events fire when something happens in Airtable. Use them to start a run.

##### New Record
Triggers when a new record is created or new or existing records when first added to a selected view.

- Type: read · Key: `newRecord`
- Requires: applicationId, tableName
- Optional: viewName, includeFile, includeEmptyFields
- SDK: `runAction({ app: "airtable", actionType: "read", action: "newRecord" })`
- CLI: `npx zapier-sdk run-action airtable read newRecord`

##### New or Updated Record
Triggers when a record is created or updated.

- Type: read · Key: `updated_record`
- Requires: applicationId, tableName, filterByField
- Optional: helptext, viewName, includeFile, includeEmptyFields
- SDK: `runAction({ app: "airtable", actionType: "read", action: "updated_record" })`
- CLI: `npx zapier-sdk run-action airtable read updated_record`

#### Functions (11)

Functions change something in Airtable.

##### Add Comment to Record
Add a comment to an existing record in Airtable.

- Type: write · Key: `add_comment`
- Requires: applicationId, tableName, recordId, commentText
- SDK: `runAction({ app: "airtable", actionType: "write", action: "add_comment" })`
- CLI: `npx zapier-sdk run-action airtable write add_comment`

##### Create Record
Creates a new record with auto-populating fields.

- Type: write · Key: `createRecord`
- Requires: applicationId, tableName
- SDK: `runAction({ app: "airtable", actionType: "write", action: "createRecord" })`
- CLI: `npx zapier-sdk run-action airtable write createRecord`

##### Create Records (Advanced)
Create up to 10 new records (supports line items).

- Type: write · Key: `createRecords`
- Requires: applicationId, tableName
- Optional: cacheCopy
- SDK: `runAction({ app: "airtable", actionType: "write", action: "createRecords" })`
- CLI: `npx zapier-sdk run-action airtable write createRecords`

##### Create Base
Create a new Airtable base in your workspace.

- Type: write · Key: `create_base`
- Requires: baseName, workspaceId, tableCount
- SDK: `runAction({ app: "airtable", actionType: "write", action: "create_base" })`
- CLI: `npx zapier-sdk run-action airtable write create_base`

##### Create or Update HyperDB Record
Update a record in a HyperDB table, or create it when the primary key is new.

- Type: write · Key: `create_or_update_hyperdb_record`
- Requires: dataTableId
- Optional: requirementsNotice, clearValueNotice
- SDK: `runAction({ app: "airtable", actionType: "write", action: "create_or_update_hyperdb_record" })`
- CLI: `npx zapier-sdk run-action airtable write create_or_update_hyperdb_record`

##### Create or Update Record
Find and update an existing record, or create a new one.

- Type: write · Key: `create_or_update_record`
- Requires: applicationId, tableName, lookupPrimary
- Optional: helptext, lookupSecondary, appendAttachments
- SDK: `runAction({ app: "airtable", actionType: "write", action: "create_or_update_record" })`
- CLI: `npx zapier-sdk run-action airtable write create_or_update_record`

##### Create Table
Create a new table in an existing Airtable base.

- Type: write · Key: `create_table`
- Requires: baseId, tableName
- Optional: tableDescription, primaryFieldName, primaryFieldType
- SDK: `runAction({ app: "airtable", actionType: "write", action: "create_table" })`
- CLI: `npx zapier-sdk run-action airtable write create_table`

##### Delete Record
Delete a record in a table.

- Type: write · Key: `deleteRecord`
- Requires: applicationId, tableName, rowId
- SDK: `runAction({ app: "airtable", actionType: "write", action: "deleteRecord" })`
- CLI: `npx zapier-sdk run-action airtable write deleteRecord`

##### Delete HyperDB Records
Delete records from a HyperDB table by their primary keys.

- Type: write · Key: `delete_hyperdb_records`
- Requires: dataTableId, primaryKeys, deleteConfirmation
- Optional: requirementsNotice, confirmationNotice
- SDK: `runAction({ app: "airtable", actionType: "write", action: "delete_hyperdb_records" })`
- CLI: `npx zapier-sdk run-action airtable write delete_hyperdb_records`

##### Update Record
Update a record in a specific table.

- Type: write · Key: `updateRecord`
- Requires: applicationId, tableName, rowId
- Optional: appendAttachments
- SDK: `runAction({ app: "airtable", actionType: "write", action: "updateRecord" })`
- CLI: `npx zapier-sdk run-action airtable write updateRecord`

##### Update Multiple Records
Update up to 10 records at once in a specific table.

- Type: write · Key: `update_multiple_records`
- Requires: applicationId, tableName, recordCount
- SDK: `runAction({ app: "airtable", actionType: "write", action: "update_multiple_records" })`
- CLI: `npx zapier-sdk run-action airtable write update_multiple_records`

#### Queries (9)

Queries read from Airtable and return data. They change nothing.

##### Find Record
Find a record in a table.

- Type: search · Key: `findRecord`
- Requires: applicationId, tableName
- Optional: searchByField, searchByValue, isExactMatch, searchCriteria, viewName
- SDK: `runAction({ app: "airtable", actionType: "search", action: "findRecord" })`
- CLI: `npx zapier-sdk run-action airtable search findRecord`

##### Find Record by ID
Find a specific record using its unique ID.

- Type: search · Key: `findRecordById`
- Requires: applicationId, tableName, recordId
- SDK: `runAction({ app: "airtable", actionType: "search", action: "findRecordById" })`
- CLI: `npx zapier-sdk run-action airtable search findRecordById`

##### Find Table
Find tables by searching for a keyword in table name or description.

- Type: search · Key: `findTable`
- Requires: applicationId, keyword
- Optional: searchField
- SDK: `runAction({ app: "airtable", actionType: "search", action: "findTable" })`
- CLI: `npx zapier-sdk run-action airtable search findTable`

##### Find Table by ID
Find a specific table using its unique ID.

- Type: search · Key: `findTableById`
- Requires: applicationId, tableId
- SDK: `runAction({ app: "airtable", actionType: "search", action: "findTableById" })`
- CLI: `npx zapier-sdk run-action airtable search findTableById`

##### Find Base
Find bases by searching for a keyword in the base name. Only works with 5000 or fewer bases in the account.

- Type: search · Key: `find_base`
- Requires: keyword
- SDK: `runAction({ app: "airtable", actionType: "search", action: "find_base" })`
- CLI: `npx zapier-sdk run-action airtable search find_base`

##### Find Base by ID
Find a specific Airtable base by its ID.

- Type: search · Key: `find_base_by_id`
- Requires: baseId
- SDK: `runAction({ app: "airtable", actionType: "search", action: "find_base_by_id" })`
- CLI: `npx zapier-sdk run-action airtable search find_base_by_id`

##### Get All Records
List all records from a table with pagination support.

- Type: search · Key: `get_all_records`
- Requires: applicationId, tableId
- SDK: `runAction({ app: "airtable", actionType: "search", action: "get_all_records" })`
- CLI: `npx zapier-sdk run-action airtable search get_all_records`

##### Get Base Schema
Retrieve the complete schema for a base, including all tables and their field definitions.

- Type: search · Key: `get_base_schema`
- Requires: baseId
- SDK: `runAction({ app: "airtable", actionType: "search", action: "get_base_schema" })`
- CLI: `npx zapier-sdk run-action airtable search get_base_schema`

##### Get HyperDB Records
Get records from a HyperDB table, optionally filtered by primary key.

- Type: search · Key: `get_hyperdb_records`
- Requires: dataTableId
- Optional: requirementsNotice, primaryKeys, maxRecords
- SDK: `runAction({ app: "airtable", actionType: "search", action: "get_hyperdb_records" })`
- CLI: `npx zapier-sdk run-action airtable search get_hyperdb_records`

#### Search or Write Actions (1)

These operations search for a match first, and create one only if nothing is found.

##### Find or Create Record
Find or Create Record

- Type: search_or_write · Key: `findRecord`
- Requires: applicationId, tableName
- Optional: searchByField, searchByValue, isExactMatch, searchCriteria, viewName
- SDK: `runAction({ app: "airtable", actionType: "search_or_write", action: "findRecord" })`
- CLI: `npx zapier-sdk run-action airtable search_or_write findRecord`

## Frequently asked questions about automating with Affinity and Airtable

### How do I set up Affinity integration with Airtable?

To set up an integration, you'll first need to connect both your Affinity and Airtable accounts to our platform. Once connected, you can create a Zap by selecting a trigger event in Affinity—such as a new contact being added—and an action in Airtable, like creating a new record. This ensures data flows seamlessly between the two applications.

### What kind of triggers are supported from Affinity for this integration?

We support several triggers from Affinity including when a new contact is added, when an opportunity status changes, or when a note is created. Each of these triggers can initiate actions in Airtable to automate your workflows.

### Can I update existing records in Airtable via the integration?

Yes, you can update existing records in Airtable. By setting an Affinity trigger such as ‘Opportunity Updated’, you can configure the action step to find and update matching records in Airtable.

### Is it possible to create linked records in Airtable based on data from Affinity?

Certainly! When configuring your Zap, choose a trigger like ‘Contact Created’ from Affinity and an action such as ‘Create Record’ along with specifying the linked record fields in Airtable. This creates connections between related data seamlessly.

### How often does the integration sync data between Affinity and Airtable?

The frequency of data sync depends on your specific plan with us. However, generally it runs every 5 to 15 minutes for most use cases, ensuring that your data remains up-to-date without significant delays.

### Are there any limitations on the type of fields that can be mapped between Affinity and Airtable?

Most standard field types such as text, numbers, dates, and emails can be mapped between Affinity and Airtable without any issues. However, complex fields like multiselect or attachments might require special handling or additional steps to ensure proper mapping.

### What happens if the connection between Affinity and Airtable is disrupted?

If the connection is disrupted, we'll notify you immediately via email so you can take corrective action. Our system also attempts automatic reconnections periodically. Meanwhile, any changes will queue up until reconnected so no triggers are missed.

### My AI agent already connects to my apps. Why add Zapier?

Your AI agent’s built-in or native connectors cover a limited set of popular apps. Zapier reaches 10,000+ apps and 90,000+ triggers and actions. Zapier also adds what your AI agent can’t: one place to manage logins and credentials, so you never paste an API key; automations that keep running after the chat closes, with fixes you can review when a run hits a snag; and the freedom to switch agent interfaces without starting over.

### Can’t my AI agent already run tasks on a schedule?

Most popular AI agents can run scheduled tasks. And for simple recurring jobs, that might be all you need. Automations that run on Zapier can run on a schedule too, but they can also start the moment something happens in your apps—like when a new lead/ticket comes in or you get an email reply. Zapier also uses AI only in the steps that need judgment, so routine steps like posting to Slack or updating Salesforce don’t burn model tokens.

### Why not have my AI agent write me a script?

You can, and the first version will probably work. The trouble comes later: a script needs somewhere to run, a way to hear about events, and someone to keep it going. If an API changes or a login expires, your script can quietly stop until you notice. It also holds your keys, often in a repo, where a leak can expose your accounts. With Zapier, your agent builds the automation, and you publish it. Zapier hosts it, handles your logins and credentials, and records every run. If a run fails, Zapier diagnoses what went wrong and prepares a fix you can review. Or you can decide which fixes Zapier can apply for you.

## Links
- Affinity integrations: zapier.com/apps/affinity/integrations.md
- Airtable integrations: zapier.com/apps/airtable/integrations.md
- Full page: zapier.com/apps/affinity/integrations/airtable
- SDK: npmjs.com/package/@zapier/zapier-sdk