Flow reference: Triggers
Webhook Received
Runs when another service sends an HTTP request to this trigger's own URL: GitHub, Stripe, Zapier, your website or a script.
Runs when another service sends an HTTP request to this trigger's own URL: GitHub, Stripe, Zapier, Make, your website or a script.
When and how to use it
Add this trigger to an automation; it has no incoming execution connection.
In Properties press Create webhook URL, then Copy the URL.
Publish the bot, then paste the URL into the other service as its webhook (POST, JSON body), or call it yourself:
curl -X POST "https://bottly.xyz/api/public/hook/…" -H "Content-Type: application/json" -d '{"text":"Hello"}'
The request is answered at once with 202 and the automation starts within a few seconds while the bot is online. Requests wait up to an hour while the bot is offline; at most 100 wait per bot. Each account has a daily number of webhook requests (see Pricing).
Keep the URL private: anyone who has it can run this automation. New URL makes a new one and the old URL stops working at once.
Configuration fields
Webhook key — hookKey
Part of the URL, made by Create webhook URL (8-40 letters, digits, - or _). Changing it, or pressing New URL, changes the URL; the old URL then answers 404.
Input: Text.
Default: empty (press Create webhook URL).
Values from the request
{hook.method}: POST, GET, PUT or PATCH.{hook.body}: the raw body text (up to 64 KB).{hook.json} and {hook.json.field}: for a JSON body, every field, for example {hook.json.user.name} (4 levels, 300 fields).{hook.query.name}: a value from the URL after ?, for example ?name=Alex.{hook.headers.name}: a request header in lower case, for example {hook.headers.x-signature}. Cookies and proxy headers are not kept.There is no channel or member in a webhook run: give Send Message a channel ID and use IDs from the request or bot settings.
Outputs and next steps
out: Continue to the next step, for example Send Message to a channel with {hook.json.text}.Test and troubleshoot
In the Live Preview use Events → Send a test webhook (body
[Testing](/docs/flow-testing) · [Variables](/docs/flow-variables) · [Permissions](/docs/flow-permissions).
{"text":"Hello from a webhook","user":"Test"}). For a real test publish the bot, start it and send one request; the run appears in Bot → Logs. A 404 means the URL is old or the bot was deleted, 429 that the daily limit is reached or 100 requests are already waiting.[Testing](/docs/flow-testing) · [Variables](/docs/flow-variables) · [Permissions](/docs/flow-permissions).