Skip to content
Onfleet logoOnfleet logo

Onfleet Integrations

Product Management

Build Onfleet automations with your AI agent. Run them on Zapier.

Add Zapier to Claude, ChatGPT, Cursor, or another AI agent, and your agent can build automations across Onfleet and 10,000+ other apps.
apps to connect
10,000+
ways to start a workflow
14
available app actions
7
  • Dependable AI workflows
  • Full audit trails and controls
  • Easy visual workflow manager
  • Free tier available
  • SOC 2 Type II, SOC 3, GDPR, and CCPA compliant

Top teams trust Zapier to automate work

  • Samsung
  • Okta
  • Mastercard
  • Nvidia
  • Airbnb

Onfleet MCP server: connect Onfleet to your AI agent with Zapier

Install Zapier once, then tell your agent what you want done. Behind the scenes, Zapier MCP finds the right triggers and actions to use with Onfleet and runs them—all with your credentials managed by Zapier and kept out of the model.

Paste into any AI tool
Connect to Zapier MCP at https://mcp.zapier.com/api/v1/connect and help me sign in to Zapier or sign up. Then connect my Onfleet account and help me build a Zap with Onfleet: ask me what I want to automate. Read the setup steps at https://zapier.com/AGENTS.md if you can't connect.

Paste this prompt into Claude, ChatGPT, Cursor, or your preferred AI agent to build Onfleet automations.

MCP server · Streamable HTTP
https://mcp.zapier.com/api/v1/connect

Install this server in Claude, ChatGPT, Cursor, VS Code, or any MCP client. You sign in once with OAuth.

Terminal · in your project
npm install @zapier/zapier-sdk
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection onfleet

Call any app action from TypeScript. Zapier handles OAuth, token refresh, retries, and rate limits.

Terminal · no project
npx @zapier/install-zapier

Run this command to print setup instructions for your client, then follow the prompts to sign in.

Ask your AI agent to do it

Tell Claude, ChatGPT, or your go-to AI agent to install Zapier MCP, and it’ll get you started with Zapier.

Wire it into your own code

Connect your agent to Onfleet and 10,000+ more apps with the TypeScript SDK. Zapier handles OAuth and token refresh.

Set it up from your terminal

Tell your coding agent to run one command. It installs Zapier MCP so your agent can use Onfleet and other apps.

Use a premade Onfleet automation template to start building from anywhere: in your go-to agent interface, in code, or in Zapier.

With Zapier MCP installed, your AI agent can build automations across 10,000+ apps and 90,000+ triggers and actions. Automations run reliably on Zapier from an app event, on a schedule (cron), or from a webhook. Here are the Onfleet triggers and actions your agent can build with right away.

  • 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.

  • Task Arrival

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

  • Task Assigned

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

  • 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.

  • Task Complete

    Triggers when an Onfleet task is completed by a driver.

  • Task Created

    Triggers when an Onfleet task is created.

  • Task Delayed

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

  • Task Deleted

    Triggers when an Onfleet task is deleted.

Your agent picks the right Onfleet action from what you ask. Connect Zapier once and it can use 21 Onfleet tools, each with typed inputs. Zapier handles Onfleet’s login, so you never paste an API key. The same actions run from TypeScript through the Zapier SDK.

Set up Onfleet MCP in Claude, Claude Code, ChatGPT, Cursor, and Codex

Zapier MCP works with any MCP client that supports Streamable HTTP. Connect or add Zapier in your AI tool, sign in when prompted, then ask for Onfleet.

MCP server · Streamable HTTP · OAuth
https://mcp.zapier.com/api/v1/connect
  • Claude

    Connect Zapier in Claude and sign in when prompted. Claude setup guide

  • Claude Code

    Install Zapier MCP in Claude Code, then sign in from the terminal. Claude Code setup guide

  • ChatGPT

    Connect Zapier in ChatGPT and approve the sign-in. ChatGPT setup guide

  • Cursormcp.json

    Add Zapier to Cursor and sign in. Cursor setup guide

  • Codex

    Add Zapier to Codex and sign in. Codex setup guide

  • VS Code and other clientsmcp.json

    Add Zapier to any MCP client that supports Streamable HTTP.

  • OpenCodeopencode.json

    Add Zapier to OpenCode.

  • Terminal auto-installer

    Install Zapier MCP in whichever client you have.

How your agent gets these tools

  1. Connect Zapier to your AI tool (pick yours above) and sign in once in the browser. Zapier sets up your MCP server, with no token to paste.
  2. Ask your agent to connect Onfleet. It calls discover_zapier_actions to find the Onfleet actions, then enable_zapier_action to add them.
  3. Approve the Onfleet sign-in when prompted. If Onfleet isn’t connected yet, the first call returns a sign-in link.
  4. Ask for what you want done in plain language. Each enabled action becomes its own tool, named as below. Until then, execute_zapier_read_action and execute_zapier_write_action run it.

Use Onfleet in 36 AI tools with Zapier MCP

21 Onfleet MCP tools

ToolMCP nameWhat it does
SMS Recipient Response Missedonfleet_sms_recipient_response_missed

Trigger · Read-only. 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.

Required: name

Task Arrivalonfleet_task_arrival

Trigger · Read-only. Triggers when a driver is arriving, at or closer than threshold value provided, in meters.

Required: name, distance

Task Assignedonfleet_task_assigned

Trigger · Read-only. Triggers when an Onfleet task is assigned to a driver or a team.

Required: name

Task Clonedonfleet_task_cloned

Trigger · Read-only. 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.

Required: name

Task Completeonfleet_task_complete

Trigger · Read-only. Triggers when an Onfleet task is completed by a driver.

Required: name

Task Createdonfleet_task_created

Trigger · Read-only. Triggers when an Onfleet task is created.

Required: name

Task Delayedonfleet_task_delayed

Trigger · Read-only. Triggers when an Onfleet task has a delay time greater than or equal to a user-defined threshold, in seconds.

Required: delay, name

Task Deletedonfleet_task_deleted

Trigger · Read-only. Triggers when an Onfleet task is deleted.

Required: name

Task ETAonfleet_task_eta

Trigger · Read-only. Triggers when the Onfleet task ETA is less than or equal to a user-defined threshold.

Required: name, eta (ETA Threshold)

Task Failedonfleet_task_failed

Trigger · Read-only. Triggers when an Onfleet task is completed with a failure.

Required: name

Task Startedonfleet_task_started

Trigger · Read-only. Triggers when an Onfleet task is started.

Required: name

Task Unassignedonfleet_task_unassigned

Trigger · Read-only. Triggers when an Onfleet task is unassigned from a driver or a team.

Required: name

Task Updatedonfleet_task_updated

Trigger · Read-only. Triggers when an Onfleet task is updated, including assignment, feedback, and attachment (photo, signature) changes.

Required: name

Worker Dutyonfleet_worker_duty

Trigger · Read-only. Triggers when a driver (worker) changes status (0 for off-duty, 1 for on-duty).

Required: name

Cancel Orderonfleet_cancel_order

Action · Writes data. Cancel an order in Onfleet given the order ID

Required: orderId (Order ID)

Clone Orderonfleet_clone_order

Action · Writes data. Creates a copy of an order in Onfleet given the order ID

Required: orderId (Order ID)

Create Orderonfleet_create_order

Action · Writes data. Creates an order in Onfleet

Required: pickupRecipient (Pickup Recipient), dropoffRecipient (Dropoff Recipient), pickupAddress__line1 (Pickup Address Line 1), pickupAddress__city (Pickup Address City), pickupAddress__country (Pickup Address Country), address__line1 (Dropoff Address Line 1), address__city (Dropoff Address City), address__country (Dropoff Address Country)

Optional: pickupAddress__line2 (Pickup Address Line 2), pickupAddress__state (Pickup Address State), pickupAddress__postalCode (Pickup Address Post Code / ZIP), pickupTaskNotes (Pickup Details), pickup__requirements__signature (Pickup Signature Requirement), pickup__requirements__photo (Pickup Photo Requirement), pickup__requirements__notes (Pickup Notes Requirement), address__line2 (Dropoff Address Line 2), address__state (Dropoff Address State), address__postalCode (Dropoff Address Post Code / ZIP), taskNotes (Dropoff Details), requirements__signature (Dropoff Signature Requirement), requirements__photo (Dropoff Photo Requirement), requirements__notes (Dropoff Notes Requirement), completeAfter (Complete After Timestamp), completeBefore (Complete Before Timestamp), quantity

Create Taskonfleet_create_task

Action · Writes data. Creates a pickup or dropoff task.

Required: merchant, executor, taskType (Task Type), hasRecipient (Task Recipient), hasCoordinates (Location Coordinates), hasAutoAssign (Assignment)

Optional: dependencyId (Dependency), quantity, serviceTime (Service Time), requirements__signature (Signature Requirement), requirements__photo (Photo Requirement), requirements__notes (Notes Requirement), requirements__minimumAge (Minimum Age Requirement), customFields (Custom Fields)

Create Linked Pickup & Dropoff Tasksonfleet_create_linked_pickup_dropoff_tasks

Action · Writes data. Creates a linked pickup and dropoff task.

Required: merchant, executor, pickupRecipient (Pickup Recipient), dropoffRecipient (Dropoff Recipient), hasCoordinates (Location Coordinates), dependencyOrder (Task Link Order), hasAutoAssign (Assignment)

Optional: quantity, serviceTime (Service Time), requirements__minimumAge (Minimum Age Requirement), requirements__notes (Notes Requirement), requirements__photo (Photo Requirement), requirements__signature (Signature Requirement)

Create Task (Template Use)onfleet_create_task_template_use

Action · Writes data. Creates a single task. Used for simple zap templates only.

Required: merchant, executor, recipientName (Recipient Name), recipientPhone (Recipient Phone), address__line1 (Address Line 1), address__city (Address City), address__state (Address State / Province), address__postalCode (Address Post Code / Zip), address__country (Address Country), taskType (Task Type), hasAutoAssign (Assignment)

Optional: recipientNotes (Recipient Notes), longitude, latitude, address__line2 (Address Line 2), taskNotes (Task Details), completeAfter (Complete After Timestamp), completeBefore (Complete Before Timestamp), quantity, serviceTime (Service Time), requirements__signature (Signature Requirement), requirements__photo (Photo Requirement), requirements__notes (Notes Requirement), requirements__minimumAge (Minimum Age Requirement)

Update Orderonfleet_update_order

Action · Writes data. Updates an order in Onfleet given the order ID

Required: orderId (Order ID), pickupRecipient (Pickup Recipient), dropoffRecipient (Dropoff Recipient)

Optional: pickupTaskNotes (Pickup Details), pickup__requirements__signature (Pickup Signature Requirement), pickup__requirements__photo (Pickup Photo Requirement), pickup__requirements__notes (Pickup Notes Requirement), taskNotes (Dropoff Details), requirements__signature (Dropoff Signature Requirement), requirements__photo (Dropoff Photo Requirement), requirements__notes (Dropoff Notes Requirement), quantity

Onfleet API with the Zapier SDK, without pasting an API key

The Zapier SDK gives your code one way to call Onfleet. You connect your account once, and your code references that connection instead of a raw token.

cancelOrder (Cancel Order) requires orderId. Every Onfleet action and its inputs are listed under Onfleet triggers and actions above. Zapier handles OAuth, token refresh, retries and rate limits. Read the SDK docs

Terminal · in your project
npm install @zapier/zapier-sdk
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection onfleet
TypeScript
import { createZapierSdk } from "@zapier/zapier-sdk";

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

const { data } = await zapier.runAction({
  app: "onfleet",
  actionType: "write",
  action: "cancelOrder",
  connection: connection.id,
  inputs: {
    orderId: "", // Order ID
  },
});
Zapier SDK CLI
npx zapier-sdk run-action onfleet write cancelOrder \
  --inputs '{"orderId":""}'

Frequently asked questions about automating with Onfleet

How do I connect Onfleet to Claude?

Connect Zapier in Claude, sign in to Zapier, then ask Claude to connect Onfleet. Claude finds the Onfleet actions and adds them. If Onfleet needs a sign-in, you approve it once.

Can I use the Onfleet API without managing API keys?

With the Zapier SDK you connect your Onfleet account to Zapier once, and your code runs actions through that connection. Zapier handles Onfleet’s login, so you never paste an API key into your code.

What can an AI agent do with Onfleet?

Through Zapier MCP, your agent can use 21 Onfleet tools, such as SMS Recipient Response Missed, Task Arrival, and Task Assigned. 14 tools only read data, so you can start with those before you let your agent make changes.

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.

Point your AI agent to this page’s markdown file to build Onfleet automations. It covers how Onfleet connects, every trigger and action with its inputs, and how to run them with Zapier MCP, the SDK, or the CLI. To start from a ready-made Zap instead, have it search zapier.sh.

About Onfleet

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.

Related categories: Product Management