integrations
Integrations
These examples show how to receive Freshbatch webhooks in your stack. Most include signature verification, parse the job list, and return a fast 2xx. Pick the one that matches your workflow.
TypeScript
Discord Bot
Webhook receiver that verifies signatures and forwards jobs to Discord via rich embeds.
Python
FastAPI
Full receiver with signature verification, job filtering, and logging. Run with uvicorn.
TypeScript
Express
Full receiver with signature verification, job filtering, and logging. Run with tsx.
n8n
n8n Workflow
No-code automation that receives webhooks and routes jobs to Google Sheets, Slack, and more.
General best practices
- — Verify the signature first before doing anything with the payload. Return 401 on mismatch.
- — Return 2xx fast. If processing takes time, enqueue jobs and process asynchronously.
- — Filter by is_test to avoid polluting your database during setup.
- — Expose locally with ngrok during development so you can receive real deliveries on your machine.