The “Incoming webhook” trigger starts a Mailpro automation from outside (direction C): a confirmed payment, a form filled in another tool, an event in your own application.

Setting it up

  1. In Automations, create a workflow and choose the Incoming webhook trigger.
  2. Build the actions, then activate the workflow: Mailpro shows the trigger URL, once only.
  3. Paste that URL into the sending tool (Stripe → Webhooks, Typeform → Connect, Zapier/Make/n8n → HTTP or Webhook module), using the POST method.

Test example:

curl -X POST "https://…/Automation/Webhook/Inbound/<your id>/<secret code>"
-H "Content-Type: application/json"
-d '{"email": "[email protected]", "order": "A-1042"}'
→ 202 Accepted

No developer on hand? You can connect Mailpro to Zapier, Make or n8n and trigger the same automation without writing code.

Good to know

  • The code in the URL is your secret: treat it like a password and share it only through a safe channel. An unknown code returns 404.
  • Lost the URL? Deactivate then reactivate the automation: a new code is generated and the old one stops working immediately.
  • You can send any content, up to 256 KB. Every request received starts one execution of the workflow.
  • The 202 Accepted answer means “taken into account”: the actions run within the next seconds.

Combine it with the “Send a webhook” action to send a result back to the originating tool.

Mailpro and webhooks

Beyond incoming webhooks — automate your whole email flow

Mailpro's SMTP and API deliver your transactional and marketing email with real-time events, so your app always knows what happened.

Start free with MailproExplore Mailpro SMTP

Previous question

   

Next question

You might also be interested in:

Can I test an automation before activating it?

Yes. Before turning an automation on for your whole list, you can run it end-to-end on a single test contact...

Read more

What happens if my server does not answer a webhook?

A delivery counts as successful when your URL answers with an HTTP 2xx code within 10 seconds. Anything else (timeout,...

Read more

How do I trigger an automation from an external tool (incoming webhook)?

The “Incoming webhook” trigger starts a Mailpro automation from outside (direction C): a confirmed payment, a form filled in another...

Read more

Mailpro webhooks: what are the three types of webhooks?

At Mailpro the word “webhook” covers three different mechanisms. They serve different needs and are configured in different places —...

Read more

Webhook or status query: which one should I use?

To know whether a transactional email was delivered, Mailpro offers two complementary means. Webhook email.delivered / email.bouncedGET /Send/{id}/Status PrincipleMailpro calls you as...

Read more