Webhooks
Have FoxFlow post lead events to any URL you control — Zapier, Make, a spreadsheet, or your own app.
Webhooks are the escape hatch. When FoxFlow doesn't integrate with something directly, this is how you connect it anyway.
What It Does
When something happens to a lead, FoxFlow sends an HTTP POST to a URL you provide, carrying the details as JSON.
You can create up to 5 endpoints, each listening for the events it cares about and, optionally, only for specific flows.
The Events
| Event | Fires when |
|---|---|
lead.created | A new lead arrives, from any source |
lead.status_changed | A lead moves to a different step |
lead.converted | A lead moves into the flow's conversion step |
lead.followup_needed | A lead was confirmed not on iMessage, and the organization has an agent key |
lead.assigned | A person is assigned to the lead. data.assigned is that person |
lead.converted is a convenience: it's a status change, but it's the one you probably want to
act on. If you subscribe to both, you'll get both for a conversion.
lead.assigned fires once for each person added. Removing someone does not send it. Assigning
the same person again does. Endpoints you already have do not receive it until you check
Lead Assigned.
lead.followup_needed is a nudge. It includes the lead's iMessage status, why follow-up is
needed, and the current step's script. The message history is not on this event. A bot that
needs the full brief reads it from the agent API. Grok Bot is the setup
for drafting that email on the lead. You approve it there, and Grok sends it from Gmail.
Setting One Up
Organization Settings → Integrations → Webhooks, then add an endpoint:
- URL — must be HTTPS.
- Events — which of them you want.
- Flows — leave empty for all flows, or restrict it.
There's a send test action so you can confirm your receiver works before relying on it, and you can rotate an endpoint's secret at any time.
What Arrives
A POST with JSON in this shape:
{
"id": "delivery-id",
"event": "lead.created",
"created_at": "2026-08-19T14:02:11.000Z",
"data": {
"lead": {
"id": "abc123",
"flow_id": "flow456",
"flow_name": "Connect Cards",
"name": "Sarah Jones",
"email": "sarah@example.com",
"phone": "+15551234567",
"status": "init_status",
"status_label": "New lead",
"source": "meta_lead_ad",
"created_at": "2026-08-19T14:02:10.000Z",
"assignees": [
{ "id": "user123", "name": "Coach Lee", "email": "lee@example.com" }
]
}
}
}
Every lead payload includes data.lead.assignees: id, name, and email for each person on
the card. A card can have more than one person. The array is empty when nobody is assigned.
Phone numbers of teammates are not included.
lead.assigned adds data.assigned for the person who was just added:
{
"id": "delivery-id",
"event": "lead.assigned",
"created_at": "2026-08-19T14:05:00.000Z",
"data": {
"assigned": { "id": "user123", "name": "Coach Lee", "email": "lee@example.com" },
"lead": {
"id": "abc123",
"flow_id": "flow456",
"flow_name": "Connect Cards",
"name": "Sarah Jones",
"assignees": [
{ "id": "user123", "name": "Coach Lee", "email": "lee@example.com" }
]
}
}
}
Use data.assigned.email when the alert should go to the coach who just received the card.
data.lead.assignees is the full list, including that person.
source tells you where the lead came from — a Meta lead ad, a FlowForm submission, the public
form, or a manual entry. On a status change you also get the previous status and its label.
Verifying the Request
Each request carries headers identifying the event and delivery, plus a signature. The signature is an HMAC-SHA256 of a timestamp and the request body, computed with your endpoint's secret.
Check it before trusting the data. That's what stops anyone who discovers your URL from posting fake leads at it.
Retries and Failure
FoxFlow allows about five seconds for your endpoint to respond, then retries failures with growing gaps — a few minutes, then longer, spread over several hours. Five attempts in total.
An endpoint that keeps failing is eventually disabled automatically, after around twenty consecutive failures. That's a safety valve, not a punishment: it stops a dead URL being retried forever. Fix it and re-enable.
Delivery attempts are logged, so you can see what was sent and how your endpoint responded.
What People Actually Use Them For
What It Won't Do
- It's outbound only. You can't post leads into FoxFlow this way — use a form for that.
- It doesn't send contact events, only lead events.
- It won't deliver to plain HTTP.
Common questions
- Do I need a developer to use webhooks?
- Not necessarily. Zapier and Make both accept a webhook URL and can put the data into a spreadsheet, a Slack channel or thousands of other tools without any code.
- How do I know a request really came from FoxFlow?
- Every request is signed. FoxFlow sends a signature header built from your endpoint's secret and the request body, so your receiver can verify it before trusting the data.
- What happens if my endpoint is down?
- FoxFlow retries with increasing delays over several hours. If an endpoint keeps failing it is eventually disabled automatically so it stops being retried forever.