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

Integrate Airtable and TDCCommerce 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_crm_record_to_list`.
- **SDK**:

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action tdccommerce write add_crm_record_to_list \
  --inputs '{}'
```

## 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`

## TDCCommerce

### Identity
TDCCommerce is a ERP that connects your webstore, CRM, inventory, billing and support in one system, so every team works from the same records.

- App slug: tdccommerce
- Operations published here: 43 (25 events, 13 functions, 3 queries, 2 search-or-write actions)

### Authentication
Zapier connects to TDCCommerce 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 tdccommerce
```

### Capabilities

#### Events (25)

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

##### Campaign Recipient Added
Triggers when a recipient is added to a campaign event. Excludes test recipients.

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

##### CRM List Assigned
Triggers when a CRM profile receives a category, segmentation, or classification list.

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

##### Customer Status Changed
Triggers when a customer moves to a new status. Leads and prospects are not included.

- Type: read · Key: `customer_status_changed`
- Requires: nothing
- Optional: status, customerType
- SDK: `runAction({ app: "tdccommerce", actionType: "read", action: "customer_status_changed" })`
- CLI: `npx zapier-sdk run-action tdccommerce read customer_status_changed`

##### Invoice Paid
Triggers when a sales invoice becomes paid, including invoices created already paid.

- Type: read · Key: `invoice_paid`
- Requires: nothing
- Optional: locationId, legalEntityId, minAmount
- SDK: `runAction({ app: "tdccommerce", actionType: "read", action: "invoice_paid" })`
- CLI: `npx zapier-sdk run-action tdccommerce read invoice_paid`

##### Lead Became Prospect
Triggers when a lead is qualified and becomes a prospect.

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

##### Lead Status Changed
Triggers when a lead moves to a new configured status.

- Type: read · Key: `lead_status_changed`
- Requires: nothing
- Optional: status, customerType
- SDK: `runAction({ app: "tdccommerce", actionType: "read", action: "lead_status_changed" })`
- CLI: `npx zapier-sdk run-action tdccommerce read lead_status_changed`

##### New CRM Note
Triggers when a CRM note you can access is created.

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

##### New Customer
Triggers when a customer is created, or when a lead or prospect becomes a customer.

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

##### New Fulfilment
Triggers when a sales fulfilment is created.

- Type: read · Key: `new_fulfilment`
- Requires: nothing
- Optional: locationId, legalEntityId
- SDK: `runAction({ app: "tdccommerce", actionType: "read", action: "new_fulfilment" })`
- CLI: `npx zapier-sdk run-action tdccommerce read new_fulfilment`

##### New Invoice
Triggers when a sales invoice is created.

- Type: read · Key: `new_invoice`
- Requires: nothing
- Optional: locationId, legalEntityId, minAmount
- SDK: `runAction({ app: "tdccommerce", actionType: "read", action: "new_invoice" })`
- CLI: `npx zapier-sdk run-action tdccommerce read new_invoice`

##### New Lead
Triggers when a lead is created. A lead that later becomes a customer fires New Customer instead.

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

##### New Opportunity
Triggers when a sales opportunity is created.

- Type: read · Key: `new_opportunity`
- Requires: nothing
- Optional: locationId, legalEntityId, minAmount
- SDK: `runAction({ app: "tdccommerce", actionType: "read", action: "new_opportunity" })`
- CLI: `npx zapier-sdk run-action tdccommerce read new_opportunity`

##### New Payment
Triggers when a customer payment is recorded.

- Type: read · Key: `new_payment`
- Requires: nothing
- Optional: locationId, legalEntityId, minAmount, paymentMethod
- SDK: `runAction({ app: "tdccommerce", actionType: "read", action: "new_payment" })`
- CLI: `npx zapier-sdk run-action tdccommerce read new_payment`

##### New Quote
Triggers when a sales quote is created.

- Type: read · Key: `new_quote`
- Requires: nothing
- Optional: locationId, legalEntityId, storeId, minAmount, source
- SDK: `runAction({ app: "tdccommerce", actionType: "read", action: "new_quote" })`
- CLI: `npx zapier-sdk run-action tdccommerce read new_quote`

##### New Sales Order
Triggers when a sales order is created. Webstore carts count once checkout completes.

- Type: read · Key: `new_sales_order`
- Requires: nothing
- Optional: locationId, legalEntityId, storeId, minAmount, source
- SDK: `runAction({ app: "tdccommerce", actionType: "read", action: "new_sales_order" })`
- CLI: `npx zapier-sdk run-action tdccommerce read new_sales_order`

##### New Support Case
Triggers when a support case is opened.

- Type: read · Key: `new_support_case`
- Requires: nothing
- Optional: locationId, legalEntityId, storeId, source, type, category, priority
- SDK: `runAction({ app: "tdccommerce", actionType: "read", action: "new_support_case" })`
- CLI: `npx zapier-sdk run-action tdccommerce read new_support_case`

##### New Support Case Reply
Triggers when a support reply is published, including accepted AI drafts.

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

##### Opportunity Lost
Triggers when an opportunity enters the lost status you choose.

- Type: read · Key: `opportunity_lost`
- Requires: status
- Optional: locationId, legalEntityId, minAmount
- SDK: `runAction({ app: "tdccommerce", actionType: "read", action: "opportunity_lost" })`
- CLI: `npx zapier-sdk run-action tdccommerce read opportunity_lost`

##### Opportunity Status Changed
Triggers when a sales opportunity moves to a new status, such as won or lost.

- Type: read · Key: `opportunity_status_changed`
- Requires: nothing
- Optional: status, locationId, legalEntityId, minAmount
- SDK: `runAction({ app: "tdccommerce", actionType: "read", action: "opportunity_status_changed" })`
- CLI: `npx zapier-sdk run-action tdccommerce read opportunity_status_changed`

##### Opportunity Won
Triggers when an opportunity enters the won status you choose.

- Type: read · Key: `opportunity_won`
- Requires: status
- Optional: locationId, legalEntityId, minAmount
- SDK: `runAction({ app: "tdccommerce", actionType: "read", action: "opportunity_won" })`
- CLI: `npx zapier-sdk run-action tdccommerce read opportunity_won`

##### Quote Status Changed
Triggers when a sales quote moves to a new status, such as approved or expired.

- Type: read · Key: `quote_status_changed`
- Requires: nothing
- Optional: status, locationId, legalEntityId, storeId, minAmount, source
- SDK: `runAction({ app: "tdccommerce", actionType: "read", action: "quote_status_changed" })`
- CLI: `npx zapier-sdk run-action tdccommerce read quote_status_changed`

##### Sales Order Status Changed
Triggers when a sales order moves to a new status, such as approved or cancelled.

- Type: read · Key: `sales_order_status_changed`
- Requires: nothing
- Optional: status, locationId, legalEntityId, storeId, minAmount, source
- SDK: `runAction({ app: "tdccommerce", actionType: "read", action: "sales_order_status_changed" })`
- CLI: `npx zapier-sdk run-action tdccommerce read sales_order_status_changed`

##### Support Case Assigned
Triggers when a staff member is assigned to a support case.

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

##### Support Case Priority Changed
Triggers when a support case priority changes.

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

##### Support Case Status Changed
Triggers when a support case moves to a new status, such as resolved or closed.

- Type: read · Key: `support_case_status_changed`
- Requires: nothing
- Optional: status, locationId, legalEntityId, storeId, source, type, category, priority
- SDK: `runAction({ app: "tdccommerce", actionType: "read", action: "support_case_status_changed" })`
- CLI: `npx zapier-sdk run-action tdccommerce read support_case_status_changed`

#### Functions (13)

Functions change something in TDCCommerce.

##### Add CRM Record to List
Assigns category, segmentation, or classification lists to a lead, prospect, or customer profile. Keeps lists you leave empty.

- Type: write · Key: `add_crm_record_to_list`
- Requires: crmEntityId
- Optional: profileId, categoryListId, segmentationListId, classificationListId
- SDK: `runAction({ app: "tdccommerce", actionType: "write", action: "add_crm_record_to_list" })`
- CLI: `npx zapier-sdk run-action tdccommerce write add_crm_record_to_list`

##### Add Support Case Reply
Adds an agent reply to a support case and sends the configured customer notifications.

- Type: write · Key: `add_support_case_reply`
- Requires: supportCaseId, text
- Optional: parentThreadId
- SDK: `runAction({ app: "tdccommerce", actionType: "write", action: "add_support_case_reply" })`
- CLI: `npx zapier-sdk run-action tdccommerce write add_support_case_reply`

##### Assign Support Case
Adds, replaces, or removes an assigned staff member. Sends configured assignment notifications.

- Type: write · Key: `assign_support_case`
- Requires: supportCaseId, assigneeId, operation
- SDK: `runAction({ app: "tdccommerce", actionType: "write", action: "assign_support_case" })`
- CLI: `npx zapier-sdk run-action tdccommerce write assign_support_case`

##### Create Customer
Creates a customer. If a customer with the same email already exists, it returns that one instead.

- Type: write · Key: `create_customer`
- Requires: type, firstName
- Optional: lastName, email, phoneCode, phone, companyName, jobTitle, comments, statusId
- SDK: `runAction({ app: "tdccommerce", actionType: "write", action: "create_customer" })`
- CLI: `npx zapier-sdk run-action tdccommerce write create_customer`

##### Create Lead
Creates a lead. If a lead with the same email already exists, it returns that one instead.

- Type: write · Key: `create_lead`
- Requires: type, firstName
- Optional: lastName, email, phoneCode, phone, companyName, jobTitle, comments, statusId
- SDK: `runAction({ app: "tdccommerce", actionType: "write", action: "create_lead" })`
- CLI: `npx zapier-sdk run-action tdccommerce write create_lead`

##### Create Support Case
Creates a customer support case and sends the configured customer notifications.

- Type: write · Key: `create_support_case`
- Requires: customerId, legalEntityId, subject, description
- Optional: priority, type, category, source, statusId, incidentDate
- SDK: `runAction({ app: "tdccommerce", actionType: "write", action: "create_support_case" })`
- CLI: `npx zapier-sdk run-action tdccommerce write create_support_case`

##### Update Customer
Changes the fields you fill in on a customer. Empty fields keep their current value.

- Type: write · Key: `update_customer`
- Requires: customerId
- Optional: firstName, lastName, email, phoneCode, phone, companyName, jobTitle, comments, statusId
- SDK: `runAction({ app: "tdccommerce", actionType: "write", action: "update_customer" })`
- CLI: `npx zapier-sdk run-action tdccommerce write update_customer`

##### Update Customer Status
Moves a customer to another status.

- Type: write · Key: `update_customer_status`
- Requires: customerId, statusId
- SDK: `runAction({ app: "tdccommerce", actionType: "write", action: "update_customer_status" })`
- CLI: `npx zapier-sdk run-action tdccommerce write update_customer_status`

##### Update Lead
Changes the fields you fill in on a lead. Empty fields keep their current value.

- Type: write · Key: `update_lead`
- Requires: leadId
- Optional: firstName, lastName, email, phoneCode, phone, companyName, jobTitle, comments, statusId
- SDK: `runAction({ app: "tdccommerce", actionType: "write", action: "update_lead" })`
- CLI: `npx zapier-sdk run-action tdccommerce write update_lead`

##### Update Lead Status
Moves a lead to another status.

- Type: write · Key: `update_lead_status`
- Requires: leadId, statusId
- SDK: `runAction({ app: "tdccommerce", actionType: "write", action: "update_lead_status" })`
- CLI: `npx zapier-sdk run-action tdccommerce write update_lead_status`

##### Update Support Case
Changes the fields you fill in. Keeps other values, tags, and assigned staff. Closing a case sends the configured customer notifications.

- Type: write · Key: `update_support_case`
- Requires: supportCaseId
- Optional: subject, description, priority, type, category, source, statusId, incidentDate
- SDK: `runAction({ app: "tdccommerce", actionType: "write", action: "update_support_case" })`
- CLI: `npx zapier-sdk run-action tdccommerce write update_support_case`

##### Update Support Case Priority
Changes the priority of a support case.

- Type: write · Key: `update_support_case_priority`
- Requires: supportCaseId, priority
- SDK: `runAction({ app: "tdccommerce", actionType: "write", action: "update_support_case_priority" })`
- CLI: `npx zapier-sdk run-action tdccommerce write update_support_case_priority`

##### Update Support Case Status
Moves a support case to another status. Closing a case sends the configured customer notifications.

- Type: write · Key: `update_support_case_status`
- Requires: supportCaseId, statusId
- SDK: `runAction({ app: "tdccommerce", actionType: "write", action: "update_support_case_status" })`
- CLI: `npx zapier-sdk run-action tdccommerce write update_support_case_status`

#### Queries (3)

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

##### Find Customer
Finds a customer by email address.

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

##### Find Lead
Finds a lead by email address.

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

##### Find Support Case
Finds a support case by its case number.

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

#### Search or Write Actions (2)

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

##### Find or Create Customer
Finds a customer by email, and creates one when there is none.

- Type: search_or_write · Key: `find_customer`
- Requires: email, type, firstName
- Optional: lastName, phoneCode, phone, companyName, jobTitle, comments, statusId
- SDK: `runAction({ app: "tdccommerce", actionType: "search_or_write", action: "find_customer" })`
- CLI: `npx zapier-sdk run-action tdccommerce search_or_write find_customer`

##### Find or Create Lead
Finds a lead by email and creates one when none matches.

- Type: search_or_write · Key: `find_lead`
- Requires: email, type, firstName
- Optional: lastName, phoneCode, phone, companyName, jobTitle, comments, statusId
- SDK: `runAction({ app: "tdccommerce", actionType: "search_or_write", action: "find_lead" })`
- CLI: `npx zapier-sdk run-action tdccommerce search_or_write find_lead`

## Frequently asked questions about automating with Airtable and TDCCommerce

### 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
- Airtable integrations: zapier.com/apps/airtable/integrations.md
- TDCCommerce integrations: zapier.com/apps/tdccommerce/integrations.md
- Full page: zapier.com/apps/airtable/integrations/tdccommerce
- SDK: npmjs.com/package/@zapier/zapier-sdk