Send details to a web address
Post an automation's details as signed JSON to software outside Magpie, and check the signature where it arrives.
Send the details to a web address is a step that posts details to software outside Magpie, as a webhook does. The software receives them as JSON, signed with a secret you choose.
Add the step
- Add a Do something step, and choose Automations, then Send the details to a web address.
- In Web address, enter the address the software gives you. It must be
a public
https://address, with no user name or password in it. - In Details to send, choose Insert a detail for each detail to send. Words typed there are not sent.
- In Secret to sign with, type a long secret, and give the same secret to the software.
Test says how many details would be sent and to which address, and sends nothing.
What is sent
Magpie sends a POST with Content-Type: application/json and this body:
{
"id": "evt_3f9a1c0b5e7d2a8f4c61",
"type": "automation.details",
"created_at": "2026-11-16T14:05:00+00:00",
"data": {
"event": "forms.answered",
"details": {
"first_email": "dana@example.com",
"first_name": "Dana",
"s2.name": "Dana Reyes"
}
}
}
eventis the key of what started the automation.- A detail of what started it is named by its key, such as
first_email. - A detail of a step is named by the step's id and its key, such as
s2.name.
The keys are listed in Import an automation from JSON. A person or a record is sent as an object, and a list as an array.
Check the signature
Each POST has these headers:
X-Magpie-Event:automation.details.X-Magpie-Id: the same on every try of one step of one run. Store it and ignore a repeat.X-Magpie-Timestamp: when it was signed, in seconds since 1970.X-Magpie-Signature:t=<timestamp>,v1=<signature>.
To check it:
- Join the timestamp, a full stop and the raw body.
- Compute the HMAC-SHA256 of that text with your secret, in hexadecimal.
- Compare it with the
v1value. Use the body only if they are equal.
Answers and tries
Answer with any 2xx status within 5 seconds. A redirect is not followed.
- Any other answer, or none: Magpie tries the step again after 1 minute, 5 minutes, 30 minutes and 2 hours, then the run fails.
- An address that is not a public https address: the step fails at once.
- An address of Magpie's own, such as a dev site: the step fails at once.
- No detail chosen: the step is skipped.
The step gives later steps It answered, which an Only if step can check.
If the software receives something these steps do not explain, Support kontaktieren.
Den Magpie-Support fragen
Senden Sie dem Magpie-Team eine Frage zu allem, was dieser Artikel nicht beantwortet.