The “Send a webhook” action lets a workflow call an external tool at a given step (direction B). It costs no extra credit: like the tag or list actions, it is included in the execution of the trigger.

1. Create the target

  1. Open Automations → Webhook targetsAdd a webhook target.
  2. Give it a name (e.g. “My Zapier”), the URL (HTTPS, reachable from the Internet) and the method (POST, PUT or PATCH).
  3. Optional: a JSON body to send, custom headers (the target tool's API key…) and a signing key.

Variables available in the JSON body: {{contact.IdContact}}, {{client.IdClient}}, {{event.IdEvent}}, {{trigger.IdTrigger}}, {{workflow.IdWorkflow}}.

{
"source": "mailpro",
"contact_id": "{{contact.IdContact}}",
"workflow_id": "{{workflow.IdWorkflow}}"
}

2. Use it in the workflow

In the automation editor, add the Send a webhook action and select the target. A target is created once and reused in all your workflows (50 targets per account at most).

Security

If you set a signing key, every call carries the X-Mailpro-Automation-Signature header (HMAC-SHA256): the target tool can verify the call really comes from Mailpro — see signature verification.

Not to be confused with the Settings → Webhooks menu: that one notifies you of what happens in Mailpro. Here, your automation calls an external tool.

Previous question

   

Next question

You might also be interested in:

When Is the Best Time to Send My Newsletter?

The honest answer: the best time depends on your audience. Industry benchmarks help you start, but only A/B testing and...

Read more

What is the best day to send my newsletter?

The honest answer: there is no universal best day — only a best day for your audience. Industry studies put...

Read more

Is there a daily sending limit?

Mailpro does not enforce a rigid daily cap. Sending volume depends on your plan and your monthly credit quota. Pro tip:...

Read more

How to Configure a SenderName for SMS

SenderName lets your SMS campaigns display your brand or company name (or a phone number) instead of the default mailpro.com...

Read more

What is a CTA or call to action?

A CTA, or call-to-action, is the prompt — usually a button or styled link — that tells your reader exactly...

Read more