Omnisend webhooks
Omnisend webhooks are HTTP POST requests that a Webhook block in an automation workflow sends to your endpoint when a contact reaches that block, with a JSON body you write yourself.
How Omnisend webhooks work
An automation calls your endpoint when a contact reaches the Webhook block, so your app doesn't have to poll Omnisend for what happened. Each request has Content-Type: application/json, your custom headers, and your template with its tags filled in. A block placed after a delay sends that much later than the trigger. Webhooks in automations need a paid plan.
Omnisend defines no webhook event types, envelope or version. Workflow triggers such as subscribed to marketing and placed order aren't sent unless you type them into the body, so name the event in each template, as Omnisend's example does with "event": "subscribed". Tags such as [[contact.email]] and [[event.raw.<property>]] supply the rest, and a tag with no data is left blank.
Key facts
Setting up Omnisend webhooks
- In an automation workflow, drag a Webhook block to the point where the request should go, then enter your URL, headers and JSON body. Through the API it's the
sendWebhookaction, which needs theautomations.writescope and creates the workflow disabled. - The URL must be HTTPS on a fully qualified domain on port 443, so Omnisend can't call localhost.
hookdeck listen 3000 omnisend --path /webhooks/omnisendgives you a public URL that forwards to your machine. - Test the block and check your endpoint returned
200, then enable the automation and put a test contact through it. - Omnisend documents no way to resend a single request.
Delivery behaviour
Not documented Omnisend publishes no limit, so respond as fast as you can Retries Not documented Omnisend publishes no retry policy for a failed request After a failure Not documented no redelivery or way to resend a single request is described Delivery ID None documented put a unique value in your template to catch repeats Known failure modes
From Hookdeck's Omnisend guide →-
A failed request may not come back
Omnisend documents no timeout or retry policy, so treat a request your endpoint didn't accept as possibly lost. Keep the endpoint available and compare against Omnisend's API where a miss would matter.
Plan for missing retries → -
The same contact sends the request again
A contact who re-enters a workflow reaches the Webhook block again, unless the frequency limiter is set to
Handle duplicates →once. Put a unique value in the template and skip values you've processed. -
Requests with nothing to route on
Omnisend adds no event name, so nothing tells your endpoint which workflow sent a request unless the body says so. Add an
Name your events →eventfield to every template. -
A blank field breaks your parser
Omnisend leaves a tag blank when a contact has no data for it, and the request still goes out. Validate each field and handle an empty value as a normal case.
Handle template limits →
Omnisend webhook best practices
- Name the event in every template.
Omnisend adds no event field. Send a fixed
eventvalue from each Webhook block, so one endpoint can route requests from many workflows. - Put a unique value in the body. Omnisend documents no delivery ID. Build one from the contact email and a property of the trigger event, then skip values you've processed.
- Return a 2xx quickly. Omnisend publishes no timeout, so don't assume you have long. Store the request, respond, and do the work afterwards.
- Plan for a request that never comes back. With no documented retries, keep your endpoint available and compare against Omnisend's API on a schedule where a miss would matter.
- Treat every tag as possibly blank. A tag with no data is left blank, so validate each field rather than assuming the contact has it.
In this hub
| MCP events → | How an agent subscribes to Omnisend events as MCP events. |
| Verify signatures → | Signature facts, verification code and common failures. |
| Production guide → | Production problems, such as timeouts and retries, and how to handle them. |
| Agent skill → | Install the webhook skill in your coding agent. npx skills add hookdeck/webhook-skills --skill omnisend-webhooks |
Keep an outage from losing Omnisend requests.
Omnisend documents no retries. Event Gateway accepts each request as it arrives, checks your secret header, then queues it and retries to your service on your schedule.