Sending events
Tell Pedibee what people do in your product.
Events are what start, move and stop automations. Each is a name (user_signed_up), who it's about (an email, or your own user id), and optional properties (plan, amount, invoice_id).
The quickest start: Automations → Connect tools → Connect your app. Pick From my code or From Zapier, Make or a form, and the wizard makes the key (or a webhook URL) for you and shows ready-to-paste code. It then waits for your first event to arrive, and opens an automation for it in one click.
There are four ways to send them:
- The API:
POST /api/v1/eventsfrom your backend with an API key that can Send events (Settings → API keys). See Record an event. - An incoming webhook: a secret URL for Zapier, Make, n8n or a form tool. See Incoming webhooks.
- Pedibee itself:
pedibee.contact_created,pedibee.stage_changed(withfromandto),pedibee.added_to_list(withlist_name),pedibee.contact_unsubscribed(withvia,reason,feedback,source_kindandsource_id),pedibee.contact_resubscribedandpedibee.chat_lead_captured(withfit,rated,reason,bot_name,conversation_id,page_urland oneanswer_<question>per answer; see Capture leads) andpedibee.form_submitted(withform_id,form_name,submission_id,page_url,contact_created,viaand onefield_<name>per field; see Forms). These are recorded only while an automation uses them.
Good habits
- Send your own
idwith each event. Retries are then safe: the same id never starts anything twice. - Name events by what happened, in the past tense:
trial_started,invoice.payment_failed. - Send the dates automations wait for as ISO dates (
"trial_ends_at": "2026-11-01"). - Keep secrets out. Passwords, card numbers and the like are refused.
The Events tab
Automations → Events shows Your events: each event name you've sent, how many arrived in the last 90 days, and which automations use it. Ones nothing uses are marked, with Create automation to start one from it. Send a test event sends one by hand, exactly as your app would.
Activity
Workspace → Activity is the log. It shows ten entries a page, newest first, with arrows to go back in time, and three kinds to switch between:
- Events received: every event from the last 90 days. Filter by event name, source (API, webhook, an AI assistant, sent by hand, or Pedibee itself) or the automation it reached. Open one to see who it was about, its properties, and, for each automation that could use it, what happened: started it, ended their run, or why not. For example, the event didn't match the automation's conditions, the person isn't in who can enter, they're already in it, they've been through it before, it was too old, or the automation is paused or not published yet. Each links to the run, with where it is now.
- Automation runs: every person's journey across all automations. Filter by automation or status, search by email or name, and open a run for its step-by-step history.
- Webhook deliveries: every request to your incoming webhooks, with whether it was processed, unmatched or rejected and why. Open one to see the payload. The last 100 per source are kept for 14 days.
