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

Integrate NetSuite and TeamGram 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_contacttag`.
- **SDK**:

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action teamgram write add_contacttag \
  --inputs '{}'
```

## 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.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 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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 &amp; 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
- SDK: `runAction({ app: "netsuite", actionType: "search", action: "record_schema" })`
- CLI: `npx zapier-sdk run-action netsuite search record_schema`

## TeamGram

### Identity
TeamGram is a CRM and collaboration tool that helps businesses close more sales and get more done.

- App slug: teamgram
- Operations published here: 33 (15 events, 12 functions, 3 queries, 3 search-or-write actions)

### Authentication
Zapier connects to TeamGram 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 teamgram
```

### Capabilities

#### Events (15)

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

##### Company Created
Triggers when a company is created.

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

##### Company Updated
Triggers when a company is updated.

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

##### Contact Created
Triggers when a contact is created.

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

##### Contact Updated
Triggers when a contact is updated.

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

##### Get Lead Sequences
Used for getting sequences for your leads.

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

##### Get Regions
Used for getting regions

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

##### Lead Created
Triggers when a lead is created.

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

##### Lead Tag Added
Trigger when tags are added to a lead

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

##### Lead Updated
Triggers when a lead is updated.

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

##### New Lead
Trigger when a new lead is created.

- Type: read · Key: `newLead`
- Requires: domain, channelId
- SDK: `runAction({ app: "teamgram", actionType: "read", action: "newLead" })`
- CLI: `npx zapier-sdk run-action teamgram read newLead`

##### Opportunity Closed
Triggerds when an opportunity is closed.

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

##### Opportunity Won
Triggers when an opportunity is won.

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

##### Order Created
Triggers when an order is created.

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

##### Order Updated
Triggers when an order is updated.

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

##### Quote Accepted
Triggers when a quote is accepted.

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

#### Functions (12)

Functions change something in TeamGram.

##### Add Tag to Contact
Add tags to contact using name, lastname or email.

- Type: write · Key: `add_contacttag`
- Requires: domain
- Optional: Name, LastName, Email, CompanyName, Tags
- SDK: `runAction({ app: "teamgram", actionType: "write", action: "add_contacttag" })`
- CLI: `npx zapier-sdk run-action teamgram write add_contacttag`

##### Add Note to Lead
Adds a note to a lead.

- Type: write · Key: `add_leadnote`
- Requires: domain, RelatedId, Body
- SDK: `runAction({ app: "teamgram", actionType: "write", action: "add_leadnote" })`
- CLI: `npx zapier-sdk run-action teamgram write add_leadnote`

##### Add Tag to Lead
Adds tags to a lead.

- Type: write · Key: `add_leadtag`
- Requires: domain
- Optional: Name, LastName, Email, CompanyName, Tags
- SDK: `runAction({ app: "teamgram", actionType: "write", action: "add_leadtag" })`
- CLI: `npx zapier-sdk run-action teamgram write add_leadtag`

##### Add Note by Id
Adds a note to an entity by internal id of the entity.

- Type: write · Key: `add_note_byid`
- Requires: domain, RelatedId, Body
- SDK: `runAction({ app: "teamgram", actionType: "write", action: "add_note_byid" })`
- CLI: `npx zapier-sdk run-action teamgram write add_note_byid`

##### Add Note to Order by Reference
Adds note to an order using reference number

- Type: write · Key: `add_ordernote`
- Requires: domain, ReferenceId, Body
- SDK: `runAction({ app: "teamgram", actionType: "write", action: "add_ordernote" })`
- CLI: `npx zapier-sdk run-action teamgram write add_ordernote`

##### Add Tag by Id
Adds tags to an entity by internal id of the entity.

- Type: write · Key: `add_tag_byid`
- Requires: domain, Id, Tags
- SDK: `runAction({ app: "teamgram", actionType: "write", action: "add_tag_byid" })`
- CLI: `npx zapier-sdk run-action teamgram write add_tag_byid`

##### Create Custom Document
Creates a new document in a custom application.

- Type: write · Key: `createDocument`
- Requires: domain, customAppId
- SDK: `runAction({ app: "teamgram", actionType: "write", action: "createDocument" })`
- CLI: `npx zapier-sdk run-action teamgram write createDocument`

##### Create Company
Creates a new company.

- Type: write · Key: `create_company`
- Requires: domain, Name
- Optional: Address, EmailWork, PhoneWork, TaxNo, TaxOffice, Website, Description
- SDK: `runAction({ app: "teamgram", actionType: "write", action: "create_company" })`
- CLI: `npx zapier-sdk run-action teamgram write create_company`

##### Create Contact
Creates a new contact.

- Type: write · Key: `create_contact`
- Requires: domain, Name
- Optional: LastName, CompanyName, Position, EmailWork, PhoneWork, PhoneMobile, Description
- SDK: `runAction({ app: "teamgram", actionType: "write", action: "create_contact" })`
- CLI: `npx zapier-sdk run-action teamgram write create_contact`

##### Create Lead
Creates a new lead.

- Type: write · Key: `create_lead`
- Requires: domain, Name, RegionId
- Optional: UsePool, SequenceId, ChannelId, LastName, CompanyName, Position, EmailWork, PhoneWork, PhoneMobile, AddressWork, Website, Description
- SDK: `runAction({ app: "teamgram", actionType: "write", action: "create_lead" })`
- CLI: `npx zapier-sdk run-action teamgram write create_lead`

##### Create Order
Creates a new order.

- Type: write · Key: `create_order`
- Requires: domain, RelatedEntityId, ProductId, ProductQuantity, ProductPrice, ProductCurrency
- Optional: OrderDate, ScheduledFulfilment, DeliveryAddress, BillingAddress, Description, DiscountType, Discount, ProductDescription
- SDK: `runAction({ app: "teamgram", actionType: "write", action: "create_order" })`
- CLI: `npx zapier-sdk run-action teamgram write create_order`

##### Create Product
Creates a new product.

- Type: write · Key: `create_product`
- Requires: domain, Description
- Optional: Brand, ProdModel, Sku, Details, UnitName, Price, Vat, Currency, Inventory, Cost, CostCurrency
- SDK: `runAction({ app: "teamgram", actionType: "write", action: "create_product" })`
- CLI: `npx zapier-sdk run-action teamgram write create_product`

#### Queries (3)

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

##### Find Customer
Finds an existing customer which can be a contact or a company.

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

##### Find Lead
Finds existing (non converted) leads.

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

##### Find Product
Finds an existing product in your database.

- Type: search · Key: `find_product`
- Requires: domain, query
- SDK: `runAction({ app: "teamgram", actionType: "search", action: "find_product" })`
- CLI: `npx zapier-sdk run-action teamgram search find_product`

#### Search or Write Actions (3)

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

##### Find or Create Customer
Find or Create Customer

- Type: search_or_write · Key: `find_customer`
- Requires: domain, query, Name
- Optional: LastName, CompanyName, Position, EmailWork, PhoneWork, PhoneMobile, Description
- SDK: `runAction({ app: "teamgram", actionType: "search_or_write", action: "find_customer" })`
- CLI: `npx zapier-sdk run-action teamgram search_or_write find_customer`

##### Find or Create Lead
Finds existing (non converted) leads.

- Type: search_or_write · Key: `find_lead`
- Requires: domain, query, Name, RegionId
- Optional: UsePool, SequenceId, ChannelId, LastName, CompanyName, Position, EmailWork, PhoneWork, PhoneMobile, AddressWork, Website, Description
- SDK: `runAction({ app: "teamgram", actionType: "search_or_write", action: "find_lead" })`
- CLI: `npx zapier-sdk run-action teamgram search_or_write find_lead`

##### Find or Create Product
Find or Create Product

- Type: search_or_write · Key: `find_product`
- Requires: domain, query, Description
- Optional: Brand, ProdModel, Sku, Details, UnitName, Price, Vat, Currency, Inventory, Cost, CostCurrency
- SDK: `runAction({ app: "teamgram", actionType: "search_or_write", action: "find_product" })`
- CLI: `npx zapier-sdk run-action teamgram search_or_write find_product`

## Links
- NetSuite integrations: zapier.com/apps/netsuite/integrations.md
- TeamGram integrations: zapier.com/apps/teamgram/integrations.md
- Full page: zapier.com/apps/netsuite/integrations/teamgram
- SDK: npmjs.com/package/@zapier/zapier-sdk