Skip to main content
convex.onEvent exposes a signed endpoint for app-defined events emitted from a Convex action.
automations/convex-invoice-paid.automation.ts
Copy the trigger’s endpoint, connect Convex with the deployment-key method, and set AUTOMATE_AX_EVENT_ENDPOINT and AUTOMATE_AX_WEBHOOK_SECRET in Convex. Use the same signing secret on the connected account. Emit from a Convex action:
id is the idempotency key: retries with the same ID produce one event. The signature covers the exact body, timestamp, and ID, and Automate.ax rejects requests older than five minutes. Trigger data contains id, name, payload, and emittedAt.