AI agents with Zendesk webhooks

Receive Zendesk webhooks on Trigger.dev and use them to start, resume or message your AI agents.

Get started now

What you can do with Zendesk webhooks

Start an agent

Zendesk events can start a new agent run. For example, an agent that triages your Zendesk tickets.

Resume an agent

An agent can pause until the Zendesk event it needs arrives, for up to 90 days, and costs nothing while it waits.

Message an agent

Zendesk events can land in a running agent's conversation, so it acts on them with full context.

Zendesk events

Every webhook Zendesk sends reaches your endpoint. See Zendesk's docs for what it can send.

Example

An agent that triages your Zendesk tickets

import { webhook, webhooks } from "@trigger.dev/sdk";
export const zendesk = webhooks.endpoint.define({
id: "zendesk",
source: webhooks.zendesk(),
});
export const zendeskEvents = webhook({
id: "zendesk-events",
endpoint: zendesk,
onEvent: async ({ event }) => {
// Start, resume or message your agent with the event
console.log(event);
},
});

Handled for you

Verified for you

webhooks.zendesk() checks the X-Zendesk-Webhook-Signature header on every request. Bad requests are rejected before anything runs.

Retries don't run twice

Retries are matched on the x-zendesk-webhook-invocation-id header, so a retried webhook doesn't start a second run.

Filter before anything runs

Only the Zendesk events you care about start a run. Filtered webhooks use no compute.

See every delivery

Every webhook is recorded with its payload, headers and the agents it reached, so you can debug it and replay it.

Get started

  1. 1

    Set up the agent

    Copy the starter prompt into your coding agent, like Claude Code, Cursor or Codex. It creates a Trigger.dev project and adds the webhook endpoint. Prefer to write it yourself? Start from the example above.

  2. 2

    Add the webhook in Zendesk

    Deploy your project, or run trigger dev, and the endpoint appears on the Webhooks page of the Trigger.dev dashboard with its URL. Add that URL in Zendesk's webhook settings and pick the events you need. The endpoint's Copy setup prompt button gives your coding agent the exact steps.

  3. 3

    Add a signing secret

    On the endpoint's page in the Trigger.dev dashboard, choose Generate secret. Then paste it into Zendesk's webhook settings, so Trigger.dev can check every request really came from Zendesk.

  4. 4

    Try it

    Send a test event from Zendesk, or use the endpoint's Test tab. It appears on the endpoint's Deliveries tab, with the agents it reached.

Related integrations

Ready to build with Zendesk webhooks?

Declare an endpoint, deploy, and paste the URL into your provider.

Get started for free