---
agent:
  instructions: "Use this search API to find a ready-to-deploy Next Gen Zap for what the user wants to automate, with keywords or a natural-language description, instead of reading every zap. Results are returned in Markdown, each with the zap's SKILL.md install guide."
  endpoint: "https://zapier.sh/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://zapier.sh/developers/"
---

# Onfleet + Repsly Integrations: Connect with Zapier MCP
> zapier.com/apps/onfleet/integrations/repsly
> Surface: zapier.com | Root map: zapier.com/llms.txt#integrations

Integrate Onfleet and Repsly 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 `onfleet` and `repsly`, then `enable_zapier_action`. If Onfleet or Repsly 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 Create Client is enabled, call `repsly_create_client`. 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: "repsly", owner: "me" });

const { data } = await zapier.runAction({
  app: "repsly",
  actionType: "write",
  action: "new_client",
  connection: connection.id,
  inputs: {
    Code: "",
    Name: "",
  },
});
```

- **CLI**:

```bash
npx zapier-sdk run-action repsly write new_client \
  --inputs '{"Code":"","Name":""}'
```

## Onfleet

### Identity
Onfleet transforms cumbersome last-mile logistics into delightful delivery management. Intuitive smartphone apps, powerful web dashboard and automatic customer notifications handle the heavy lifting so you can focus on your customer.

- App slug: onfleet
- Operations published here: 21 (14 events, 7 functions)

### Authentication
Zapier connects to Onfleet 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.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 onfleet
```

### Capabilities

#### Events (14)

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

##### SMS Recipient Response Missed
Triggers when an Onfleet recipient responds to a notification via SMS, but the organization is unable to handle it due to the task being marked as complete.

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

##### Task Arrival
Triggers when a driver is arriving, at or closer than threshold value provided, in meters.

- Type: read · Key: `task_arrival`
- Requires: name, distance
- MCP tool: `onfleet_task_arrival` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "onfleet", actionType: "read", action: "task_arrival" })`
- CLI: `npx zapier-sdk run-action onfleet read task_arrival`

##### Task Assigned
Triggers when an Onfleet task is assigned to a driver or a team.

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

##### Task Cloned
Triggers when an Onfleet task is cloned via the dashboard or the API. Note that the TaskCreated trigger will not fire when a task is simply cloned.

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

##### Task Complete
Triggers when an Onfleet task is completed by a driver.

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

##### Task Created
Triggers when an Onfleet task is created.

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

##### Task Delayed
Triggers when an Onfleet task has a delay time greater than or equal to a user-defined threshold, in seconds.

- Type: read · Key: `task_delayed`
- Requires: delay, name
- MCP tool: `onfleet_task_delayed` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "onfleet", actionType: "read", action: "task_delayed" })`
- CLI: `npx zapier-sdk run-action onfleet read task_delayed`

##### Task Deleted
Triggers when an Onfleet task is deleted.

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

##### Task ETA
Triggers when the Onfleet task ETA is less than or equal to a user-defined threshold.

- Type: read · Key: `task_eta`
- Requires: name, eta
- MCP tool: `onfleet_task_eta` (before it's enabled, `execute_zapier_read_action` runs it)
- SDK: `runAction({ app: "onfleet", actionType: "read", action: "task_eta" })`
- CLI: `npx zapier-sdk run-action onfleet read task_eta`

##### Task Failed
Triggers when an Onfleet task is completed with a failure.

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

##### Task Started
Triggers when an Onfleet task is started.

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

##### Task Unassigned
Triggers when an Onfleet task is unassigned from a driver or a team.

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

##### Task Updated
Triggers when an Onfleet task is updated, including assignment, feedback, and attachment (photo, signature) changes.

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

##### Worker Duty
Triggers when a driver (worker) changes status (0 for off-duty, 1 for on-duty).

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

#### Functions (7)

Functions change something in Onfleet.

##### Cancel Order
Cancel an order in Onfleet given the order ID

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

##### Clone Order
Creates a copy of an order in Onfleet given the order ID

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

##### Create Order
Creates an order in Onfleet

- Type: write · Key: `createOrder`
- Requires: pickupRecipient, dropoffRecipient, pickupAddress__line1, pickupAddress__city, pickupAddress__country, address__line1, address__city, address__country
- Optional: pickupAddress__line2, pickupAddress__state, pickupAddress__postalCode, pickupTaskNotes, pickup__requirements__signature, pickup__requirements__photo, pickup__requirements__notes, address__line2, address__state, address__postalCode, taskNotes, requirements__signature, requirements__photo, requirements__notes, completeAfter, completeBefore, quantity
- MCP tool: `onfleet_create_order` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "onfleet", actionType: "write", action: "createOrder" })`
- CLI: `npx zapier-sdk run-action onfleet write createOrder`

##### Create Task
Creates a pickup or dropoff task.

- Type: write · Key: `createTask`
- Requires: merchant, executor, taskType, hasRecipient, hasCoordinates, hasAutoAssign
- Optional: dependencyId, quantity, serviceTime, requirements__signature, requirements__photo, requirements__notes, requirements__minimumAge, customFields
- MCP tool: `onfleet_create_task` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "onfleet", actionType: "write", action: "createTask" })`
- CLI: `npx zapier-sdk run-action onfleet write createTask`

##### Create Linked Pickup & Dropoff Tasks
Creates a linked pickup and dropoff task.

- Type: write · Key: `createTasks`
- Requires: merchant, executor, pickupRecipient, dropoffRecipient, hasCoordinates, dependencyOrder, hasAutoAssign
- Optional: quantity, serviceTime, requirements__minimumAge, requirements__notes, requirements__photo, requirements__signature
- MCP tool: `onfleet_create_linked_pickup_dropoff_tasks` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "onfleet", actionType: "write", action: "createTasks" })`
- CLI: `npx zapier-sdk run-action onfleet write createTasks`

##### Create Task (Template Use)
Creates a single task. Used for simple zap templates only.

- Type: write · Key: `createTaskTemplate`
- Requires: merchant, executor, recipientName, recipientPhone, address__line1, address__city, address__state, address__postalCode, address__country, taskType, hasAutoAssign
- Optional: recipientNotes, longitude, latitude, address__line2, taskNotes, completeAfter, completeBefore, quantity, serviceTime, requirements__signature, requirements__photo, requirements__notes, requirements__minimumAge
- MCP tool: `onfleet_create_task_template_use` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "onfleet", actionType: "write", action: "createTaskTemplate" })`
- CLI: `npx zapier-sdk run-action onfleet write createTaskTemplate`

##### Update Order
Updates an order in Onfleet given the order ID

- Type: write · Key: `updateOrder`
- Requires: orderId, pickupRecipient, dropoffRecipient
- Optional: pickupTaskNotes, pickup__requirements__signature, pickup__requirements__photo, pickup__requirements__notes, taskNotes, requirements__signature, requirements__photo, requirements__notes, quantity
- MCP tool: `onfleet_update_order` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "onfleet", actionType: "write", action: "updateOrder" })`
- CLI: `npx zapier-sdk run-action onfleet write updateOrder`

## Repsly

### Identity
Repsly's retail execution platform provides data-driven merchandising, field sales, and promotion execution solutions to help CPG brands and merchandisers maximize the impact of their field teams.

- App slug: repsly
- Operations published here: 14 (12 events, 2 functions)

### Authentication
Zapier connects to Repsly 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.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 repsly
```

### Capabilities

#### Events (12)

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

##### New Audit With Items
Triggers when a new audit is created. Returns audit items with full headers.

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

##### New Client Status Change
Triggers when a client status is updated.

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

##### New Client With Details
Triggers when a new client is created.

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

##### New Form With Details
Triggers when a new form is created.

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

##### New Order
Triggers when a new order is created.

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

##### New Item in Order
Triggers when a new order item is added to order. Returns order items with full headers.

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

##### New Schedule
Triggers when a new schedule is created.

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

##### New Missed Schedule
Triggers when a new schedule is missed.

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

##### New Visit Start
Triggers when a new visit is created.

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

##### New Visit End
Triggers when a visit ends. Available only when the visit was explicitly ended on the mobile device.

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

##### New Workday End
Triggers when representative ends a workday.

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

##### New Workday Start
Triggers when representative starts a new workday.

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

#### Functions (2)

Functions change something in Repsly.

##### Create Client
Creates a new client.

- Type: write · Key: `new_client`
- Requires: Code, Name
- Optional: Active, Tag, Territory, RepresentativeCode, RepresentativeName, StreetAddress, ZIP, ZIPExt, City, State, Country, Email, Phone, Mobile, Website, ContactName, ContactTitle, Note, Status
- MCP tool: `repsly_create_client` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "repsly", actionType: "write", action: "new_client" })`
- CLI: `npx zapier-sdk run-action repsly write new_client`

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

- Type: write · Key: `new_product`
- Requires: Code, Name, Active, UnitPrice
- Optional: ProductGroupCode, ProductGroupName, Tag, EAN, Note
- MCP tool: `repsly_create_product` (before it's enabled, `execute_zapier_write_action` runs it)
- SDK: `runAction({ app: "repsly", actionType: "write", action: "new_product" })`
- CLI: `npx zapier-sdk run-action repsly write new_product`

## Frequently asked questions about automating with Onfleet and Repsly

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