Receive data by webhook
Start a flow when another system, such as a form or a website, sends data to a Tolky address.
A flow that starts with the Receive external data step gets its own web address (URL). When another system sends a request to that address, the flow runs with the data it received. Use it for website forms, e-commerce events, CRM updates or any tool that can call a webhook.
Before you start
- Access to Flows in the platform.
- A system that can send an HTTP request (most tools call this a "webhook" setting).
Set up the webhook
Create the flow
Save to get the URLs
Choose the method
Declare the parameters
email or order_id. They become available under Input Data.Build the rest of the flow
Test URL and Production URL
The step shows two addresses:
| Test URL | Production URL | |
|---|---|---|
| What runs | The current draft of the flow, as it is in the editor | The published version of the flow |
| When it works | Always, even with the flow disabled | Only with Flow active in production turned on |
| Where you see the result | In the editor, live | In Runs |
To test, click Test (listen) and send a request to the Test URL, or click Send test call to send an example. When you are done, open the Production URL tab and turn on Flow active in production. Turning it on publishes the current version automatically. Give the Production URL to the other system.
Reply to the caller
By default, the production address answers right away that the call was received, and the flow runs in the background. If the other system needs an answer, such as a result or a confirmation code, add the Reply to caller step at the point where the answer is ready. The address then waits for the flow to reach that step and returns what it defines.
Protection against repeated calls
- Automatic protection (always on): each address accepts at most one call per interval. The interval is shown in the step. Faster calls get a "wait and try again" answer and do not run the flow. The Test and Production URLs share the same limit.
- Ignore repeated calls: optional. Choose a declared parameter and a time window. Calls with the same value inside the window run the flow only once.
Common problems
| Symptom | What to do |
|---|---|
| The Production URL answers "Fluxo desativado" | Turn on Flow active in production in the Production URL tab. |
| "Fluxo ainda não publicado" | Turn on Flow active in production. If it is already on, fix the flow warnings that block publishing. |
| Call blocked by the automatic protection | The system called too fast. Wait and send again. If your integration needs more calls per second, contact Tolky support. |
| Call ignored: repeated | A call with the same parameter value arrived inside the repeat window. This is the expected behavior of Ignore repeated calls. |
Anyone who has the address can call it. Share it only with the system that needs it. To check the caller, send a secret value in a header and check it with a Decision (if / then) step at the start of the flow.
AdvancedTechnical details
Address format (the node ID is replaced by the URL path if you set one):
Production: https://api.tolky.to/api/automations/webhooks/<flow-id>/<node-id>
Test: https://api.tolky.to/api/automations/webhooks/test/<flow-id>/<node-id>curl -X POST "https://api.tolky.to/api/automations/webhooks/<flow-id>/<node-id>" \
-H "Content-Type: application/json" \
-d '{ "email": "customer@example.com", "order_id": "A-1001" }'- The flow receives
body,headersandqueryof the request. JSON and form bodies arrive as objects; other bodies arrive as text inbody.raw. - URL path: only
a-z,0-9,-and_, up to 64 characters. - The repeat window goes from 1 second to 24 hours. Test and production count separate windows.
Production responses:
| Status | When |
|---|---|
202 | No Reply to caller step: { "success": true, "status": "enqueued", "runId": "..." }. |
| As defined | With Reply to caller: the status, headers and body set in that step. |
200 with "status": "deduped" | Ignored as a repeated call. |
409 | Flow disabled or not published. |
429 | Automatic protection. Read the Retry-After header. |
504 | The flow did not reach Reply to caller in time. |
Related
- Call external APIs: the opposite direction, when Tolky calls another system.
- n8n and Make: connect automation tools in both directions.
- HubSpot: HubSpot records go to dedicated routes.