| title | Using webhooks with Trigger.dev |
|---|---|
| sidebarTitle | Overview |
| description | Guides for using webhooks with Trigger.dev. |
Webhooks are a way to send and receive events from external services. Triggering tasks using webhooks allow you to add real-time, event driven functionality to your app.
A webhook handler is code that executes in response to an event. They can be endpoints in your framework's routing which can be triggered by an external service.
How to create a webhook handler in a Next.js app, and trigger a task from it. How to create a webhook handler in a Remix app, and trigger a task from it. How to create a Stripe webhook handler and trigger a task when a 'checkout session completed' event is received. Use Hookdeck to receive webhooks and forward them to Trigger.dev tasks with logging and replay capabilities. Learn how to trigger a task from a Supabase edge function when an event occurs in your database.