# Zapier — salapp Integrations
> zapier.com/apps/salapp/integrations
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

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

## Identity
salapp is a no-code business app builder for Vietnamese businesses: CRM, orders, appointments and sales pipeline in one app.

- App slug: salapp
- Operations published here: 10 (3 events, 5 functions, 1 query, 1 search-or-write action)

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

## Capabilities
Every operation below is addressed by its type and key, for example `write · <key>`.

Zap editor: every operation below is also configurable without code at zapier.com/apps/salapp/integrations — useful for a human in the loop, not usually for an agent calling the SDK or MCP directly.

### Getting Started
- **MCP**: connect salapp through mcp.zapier.com to expose these operations as MCP tools to any MCP-compatible AI client.
- **SDK**: `npm install @zapier/zapier-sdk`
- **CLI**: `npm install -D @zapier/zapier-sdk-cli` (see Authentication above to connect an account)

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

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

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

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

- **CLI**:

```bash
npx zapier-sdk run-action salapp write create_or_update_record \
  --inputs '{}'
```

Paginating results: some calls return more than fits in one response — for example, listing salapp's actions, or a search action's matches. In TypeScript, iterate with `.pages()` or `.items()` rather than assuming a single page:

```typescript
for await (const action of zapier.listActions({ app: "salapp" }).items()) {
  console.log(action.key);
}
```

From the shell, the same `--cursor`/`--max-items`/`--page-size` flags work on `list-actions` and directly on `run-action`. Add `--json` for output a script can parse instead of formatted text:

```bash
npx zapier-sdk list-actions salapp --page-size 50 --max-items 200 --json
```

### Events (3)

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

#### Deleted Record
Triggers when a record of the chosen type is moved to the Trash, where it can be restored for 30 days.

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

#### New Record
Triggers when a new record is created in the record type you choose.

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

#### Updated Record
Triggers when a record of the chosen type is edited or moves to another status or stage.

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

### Functions (5)

Functions change something in salapp.

#### Create or Update Record
Updates the record that matches the field you choose (phone, email, order code…), or creates a new one if none matches.

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

#### Create Record
Creates a new record in the record type you choose; your automations run as if it were added by hand.

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

#### Delete Record
Moves a record to the Trash, where it can be restored for 30 days.

- Type: write · Key: `delete_record`
- Requires: khoi, id
- SDK: `runAction({ app: "salapp", actionType: "write", action: "delete_record" })`
- CLI: `npx zapier-sdk run-action salapp write delete_record`

#### Update Record
Updates only the fields you map on an existing record; other fields stay unchanged.

- Type: write · Key: `update_record`
- Requires: khoi, id
- SDK: `runAction({ app: "salapp", actionType: "write", action: "update_record" })`
- CLI: `npx zapier-sdk run-action salapp write update_record`

#### Upload File to Record
Attaches a file (contract, photo, invoice… up to 20 MB) to a file field of a record.

- Type: write · Key: `upload_file`
- Requires: khoi, id, file
- Optional: ten_tep
- SDK: `runAction({ app: "salapp", actionType: "write", action: "upload_file" })`
- CLI: `npx zapier-sdk run-action salapp write upload_file`

### Queries (1)

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

#### Find Record
Finds records whose chosen field matches the value you enter (exact match; phone numbers and emails match loosely).

- Type: search · Key: `find_record`
- Requires: khoi, gia_tri
- SDK: `runAction({ app: "salapp", actionType: "search", action: "find_record" })`
- CLI: `npx zapier-sdk run-action salapp search find_record`

### Search or Write Actions (1)

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

#### Find or Create Record
Finds a record by a field value, or creates one if none is found.

- Type: search_or_write · Key: `find_record`
- Requires: khoi, gia_tri
- SDK: `runAction({ app: "salapp", actionType: "search_or_write", action: "find_record" })`
- CLI: `npx zapier-sdk run-action salapp search_or_write find_record`

## Popular integrations
- [salapp + Google Sheets](zapier.com/apps/salapp/integrations/google-sheets.md)
- [salapp + Facebook Lead Ads](zapier.com/apps/salapp/integrations/facebook-lead-ads.md)
- [salapp + Airtable](zapier.com/apps/salapp/integrations/airtable.md)
- [salapp + ActiveCampaign](zapier.com/apps/salapp/integrations/activecampaign.md)

## Links
- Full app page: zapier.com/apps/salapp/integrations
- MCP: zapier.com/mcp/salapp
- SDK: npmjs.com/package/@zapier/zapier-sdk