# LeadConnector + NetSuite Integrations: Connect with Zapier MCP
> zapier.com/apps/leadconnector/integrations/netsuite
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate LeadConnector and NetSuite 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).

## 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** (default for AI clients — self-contained for OAuth clients; no further docs needed):
  - Endpoint: `https://mcp.zapier.com/api/v1/connect` (Streamable HTTP only; SSE is not supported).
  - Auth: OAuth 2.0 + PKCE + Dynamic Client Registration. Do not create a server at `mcp.zapier.com` or ask for an API token; Zapier auto-provisions the server during browser sign-in.
  - Client setup: Claude Code `claude mcp add --transport http zapier https://mcp.zapier.com/api/v1/connect`; Cursor `mcp.json` `{ "type": "http", "url": "https://mcp.zapier.com/api/v1/connect" }`; VS Code and other clients `mcp.json` `{ "type": "http", "url": "https://mcp.zapier.com/api/v1/connect" }`; OpenCode `opencode.json` `{ "type": "remote", "url": "https://mcp.zapier.com/api/v1/connect" }`; Terminal auto-installer `npx @zapier/install-zapier`.
  - Setup guides: Claude https://docs.zapier.com/mcp/get-started/connect/claude.md; Claude Code https://docs.zapier.com/mcp/get-started/connect/claude-code.md; ChatGPT https://docs.zapier.com/mcp/get-started/connect/chatgpt.md; Cursor https://docs.zapier.com/mcp/get-started/connect/cursor.md; Codex https://docs.zapier.com/mcp/get-started/connect/codex.md.
  - After sign-in: call `discover_zapier_actions` for `leadconnector` and `netsuite`, then `enable_zapier_action`. If LeadConnector or NetSuite isn't connected in Zapier yet, running an action returns a browser OAuth link for the user.
- **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**: once Attach Existing File to Record is enabled, call `netsuite_attach_existing_file_to_record`. Each operation below lists its MCP tool name.
- **SDK**:

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

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

const { data } = await zapier.runAction({
  app: "netsuite",
  actionType: "write",
  action: "attach_file",
  connection: connection.id,
  inputs: {
    recordType: "", // Record Type
    record_id: "", // Record
    file_id: "", // File to attach
  },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action netsuite write attach_file \
  --inputs '{"recordType":"","record_id":"","file_id":""}'
```

## LeadConnector

### Identity
LeadConnector is a platform for marketing agencies to manage marketing automation to customer communications and beyond.

- App slug: leadconnector
- Operations published here: 6 (1 event, 5 functions)

### Authentication
Zapier connects to LeadConnector 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.130.2 and @zapier/zapier-sdk-cli v0.93.2; 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 leadconnector
```

### Capabilities

#### Events (1)

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

##### Pipeline Stage Changed
Triggers when the pipeline stage was updated for an opportunity.

- Type: read · Key: `pipeline_trigger`
- Requires: nothing
- Optional: pipelineId, pipelineStageId
- MCP tool: `leadconnector_pipeline_stage_changed` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "leadconnector", actionType: "read", action: "pipeline_trigger" })`
- CLI: `npx zapier-sdk run-action leadconnector read pipeline_trigger`

#### Functions (5)

Functions change something in LeadConnector.

##### Add/Update Contact
Adds or updates an existing contact.

- Type: write · Key: `add_update_contact`
- Requires: lead
- Optional: firstName, lastName, name, phone, email, address1, city, state, postalCode, tags, source, notes, companyName, country, dateOfBirth
- MCP tool: `leadconnector_add_update_contact` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "leadconnector", actionType: "write", action: "add_update_contact" })`
- CLI: `npx zapier-sdk run-action leadconnector write add_update_contact`

##### Add/Update Opportunity
Adds or updates an existing opportunity.

- Type: write · Key: `add_update_opportunity`
- Requires: lead
- Optional: firstName, lastName, name, phone, email, address1, city, state, country, postalCode, tags, source, notes, pipelineId, stageId, assignedTo
- MCP tool: `leadconnector_add_update_opportunity` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "leadconnector", actionType: "write", action: "add_update_opportunity" })`
- CLI: `npx zapier-sdk run-action leadconnector write add_update_opportunity`

##### Add Lead to Workflow
Adds a lead to an existing workflow.

- Type: write · Key: `campaign`
- Requires: campaign_id
- Optional: firstName, lastName, name, phone, email, address1, city, state, postalCode, tags, source, leadSource, notes, eventStartTime
- MCP tool: `leadconnector_add_lead_to_workflow` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "leadconnector", actionType: "write", action: "campaign" })`
- CLI: `npx zapier-sdk run-action leadconnector write campaign`

##### Stop All Workflows for Lead
Stops all workflow for a lead.

- Type: write · Key: `campaign_stop_all`
- Requires: nothing
- Optional: phone, email, firstName, lastName, name
- MCP tool: `leadconnector_stop_all_workflows_for_lead` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "leadconnector", actionType: "write", action: "campaign_stop_all" })`
- CLI: `npx zapier-sdk run-action leadconnector write campaign_stop_all`

##### Add Task
Adds a task to the account.

- Type: write · Key: `task`
- Requires: title, body
- Optional: assigned_to, dueDate, firstName, lastName, phone, email
- MCP tool: `leadconnector_add_task` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "leadconnector", actionType: "write", action: "task" })`
- CLI: `npx zapier-sdk run-action leadconnector write task`

## NetSuite

### Identity
NetSuite is a cloud-based ERP that provides accounting services, financial management, CRM, inventory management, e-commerce and more

- App slug: netsuite
- Operations published here: 21 (3 events, 11 functions, 7 queries)

### Authentication
Zapier connects to NetSuite 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.130.2 and @zapier/zapier-sdk-cli v0.93.2; 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 netsuite
```

### Capabilities

#### Events (3)

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

##### New Record
Triggers when a new record is created. Supports standard and custom records.

- Type: read · Key: `record`
- Requires: recordType
- MCP tool: `netsuite_new_record` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "netsuite", actionType: "read", action: "record" })`
- CLI: `npx zapier-sdk run-action netsuite read record`

##### New Record (Saved Search)
Triggers when a new record enters your saved search results.

- Type: read · Key: `saved_search_record`
- Requires: search_record_type, saved_search
- Optional: dedupe_key_fields
- MCP tool: `netsuite_new_record_saved_search` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "netsuite", actionType: "read", action: "saved_search_record" })`
- CLI: `npx zapier-sdk run-action netsuite read saved_search_record`

##### New Or Updated Record
Triggers when a record is created or updated. Supports standard and custom records.

- Type: read · Key: `updated_record`
- Requires: recordType
- MCP tool: `netsuite_new_or_updated_record` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "netsuite", actionType: "read", action: "updated_record" })`
- CLI: `npx zapier-sdk run-action netsuite read updated_record`

#### Functions (11)

Functions change something in NetSuite.

##### Attach Existing File to Record
Attach a file from file cabinet to a record.

- Type: write · Key: `attach_file`
- Requires: recordType, record_id, file_id
- MCP tool: `netsuite_attach_existing_file_to_record` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "netsuite", actionType: "write", action: "attach_file" })`
- CLI: `npx zapier-sdk run-action netsuite write attach_file`

##### Bulk Import Records
Submits a CSV file to NetSuite using a Saved CSV Import and waits for the job to finish. Reads `final_status` to block on completion automatically.

- Type: write · Key: `bulk_import_records`
- Requires: import_map_id, csv_file
- Optional: job_name, timeout_info
- MCP tool: `netsuite_bulk_import_records` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "netsuite", actionType: "write", action: "bulk_import_records" })`
- CLI: `npx zapier-sdk run-action netsuite write bulk_import_records`

##### Create or Update Folder
Creates a new folder in File Cabinet, or updates an existing folder if a folder ID is provided.

- Type: write · Key: `create_or_update_folder`
- Requires: nothing
- Optional: folderId, name, parent, description
- MCP tool: `netsuite_create_or_update_folder` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "netsuite", actionType: "write", action: "create_or_update_folder" })`
- CLI: `npx zapier-sdk run-action netsuite write create_or_update_folder`

##### Delete Record
Deletes an existing record. Supports standard and custom records.

- Type: write · Key: `delete_record`
- Requires: recordType, recordId
- MCP tool: `netsuite_delete_record` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "netsuite", actionType: "write", action: "delete_record" })`
- CLI: `npx zapier-sdk run-action netsuite write delete_record`

##### Detach File from Record
Removes an existing file from file cabinet from a record.

- Type: write · Key: `detach_file`
- Requires: recordType, record_id, file_id
- MCP tool: `netsuite_detach_file_from_record` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "netsuite", actionType: "write", action: "detach_file" })`
- CLI: `npx zapier-sdk run-action netsuite write detach_file`

##### Run SuiteQL Query
Executes an SuiteQL query over records in NetSuite.

- Type: write · Key: `execute_suiteql_query`
- Requires: query
- Optional: limit, offset
- MCP tool: `netsuite_run_suiteql_query` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "netsuite", actionType: "write", action: "execute_suiteql_query" })`
- CLI: `npx zapier-sdk run-action netsuite write execute_suiteql_query`

##### Create Record
Creates a new record. Supports standard and custom records.

- Type: write · Key: `record_v2`
- Requires: recordType
- MCP tool: `netsuite_create_record` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "netsuite", actionType: "write", action: "record_v2" })`
- CLI: `npx zapier-sdk run-action netsuite write record_v2`

##### Transform Record
Transforms a record from one type into another.

- Type: write · Key: `transform_record`
- Requires: sourceRecordType, sourceRecordId
- MCP tool: `netsuite_transform_record` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "netsuite", actionType: "write", action: "transform_record" })`
- CLI: `npx zapier-sdk run-action netsuite write transform_record`

##### Update Record
Updates an existing record. Supports standard and custom records.

- Type: write · Key: `update_record_v2`
- Requires: recordType, recordId
- MCP tool: `netsuite_update_record` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "netsuite", actionType: "write", action: "update_record_v2" })`
- CLI: `npx zapier-sdk run-action netsuite write update_record_v2`

##### Upload File to File Cabinet
Uploads a new file to the File Cabinet.

- Type: write · Key: `upload_file`
- Requires: folder, file, name, file_type
- Optional: description, is_online, is_private
- MCP tool: `netsuite_upload_file_to_file_cabinet` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "netsuite", actionType: "write", action: "upload_file" })`
- CLI: `npx zapier-sdk run-action netsuite write upload_file`

##### Upsert (Create or Update) Record
Creates a new record if it does not exist. If the record already exists, it will be updated. Supports standard and custom records.

- Type: write · Key: `upsert_record_v2`
- Requires: recordType, externalId
- MCP tool: `netsuite_upsert_create_or_update_record` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "netsuite", actionType: "write", action: "upsert_record_v2" })`
- CLI: `npx zapier-sdk run-action netsuite write upsert_record_v2`

#### Queries (7)

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

##### Get Bulk Import Status
Checks a NetSuite CSV import job by Task ID. Use this for jobs submitted out-of-band — the Bulk Import Records action already waits for completion automatically.

- Type: search · Key: `find_bulk_import_status`
- Requires: task_id
- Optional: submitted_at, temp_file_id
- MCP tool: `netsuite_get_bulk_import_status` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "netsuite", actionType: "search", action: "find_bulk_import_status" })`
- CLI: `npx zapier-sdk run-action netsuite search find_bulk_import_status`

##### Find Case Notes
Finds case notes associated with a given Case ID.

- Type: search · Key: `find_case_notes`
- Requires: case_id
- MCP tool: `netsuite_find_case_notes` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "netsuite", actionType: "search", action: "find_case_notes" })`
- CLI: `npx zapier-sdk run-action netsuite search find_case_notes`

##### Find File In File Cabinet
Finds a file in file cabinet based on search criteria.

- Type: search · Key: `find_file`
- Requires: search_type
- Optional: download_file
- MCP tool: `netsuite_find_file_in_file_cabinet` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "netsuite", actionType: "search", action: "find_file" })`
- CLI: `npx zapier-sdk run-action netsuite search find_file`

##### Find Record
Finds a record based on search field(s) of your choice. Supports Standard and Custom NetSuite record types

- Type: search · Key: `find_record`
- Requires: recordType, primary_field
- Optional: and_or_operator, secondary_field
- MCP tool: `netsuite_find_record` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "netsuite", actionType: "search", action: "find_record" })`
- CLI: `npx zapier-sdk run-action netsuite search find_record`

##### Find Records (Saved Search)
Finds records in a saved search optionally filtered by columns and search terms.

- Type: search · Key: `find_records_saved_search_v2`
- Requires: search_record_type, saved_search
- Optional: filter_info, search_columns, search_terms, search_operators
- MCP tool: `netsuite_find_records_saved_search` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "netsuite", actionType: "search", action: "find_records_saved_search_v2" })`
- CLI: `npx zapier-sdk run-action netsuite search find_records_saved_search_v2`

##### Find Records (with line-item support)
Finds and returns Standard/Custom records that match your search.

- Type: search · Key: `find_records_v2`
- Requires: recordType, primary_field
- Optional: limit, and_or_operator, secondary_field
- MCP tool: `netsuite_find_records_with_line-item_support` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "netsuite", actionType: "search", action: "find_records_v2" })`
- CLI: `npx zapier-sdk run-action netsuite search find_records_v2`

##### Get Record Type (Object) Schema
Retrieves details & metadata on a record type/object of your choice a record based on search field(s) of your choice. Supports Standard and Custom NetSuite record types

- Type: search · Key: `record_schema`
- Requires: recordType
- MCP tool: `netsuite_get_record_type_object_schema` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "netsuite", actionType: "search", action: "record_schema" })`
- CLI: `npx zapier-sdk run-action netsuite search record_schema`

## Frequently asked questions about automating with LeadConnector and NetSuite

### 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
- LeadConnector integrations: zapier.com/apps/leadconnector/integrations.md
- NetSuite integrations: zapier.com/apps/netsuite/integrations.md
- Full page: zapier.com/apps/leadconnector/integrations/netsuite
- MCP quickstart (non-OAuth / connection-token clients): docs.zapier.com/mcp/get-started/quickstart.md
- SDK: npmjs.com/package/@zapier/zapier-sdk