Skip to content

Commit 49c9248

Browse files
committed
Updated intro and moved stripe webhooks into the webhooks section
1 parent a6dbf84 commit 49c9248

File tree

4 files changed

+23
-11
lines changed

4 files changed

+23
-11
lines changed

docs/guides/examples/stripe-webhook.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "Trigger a task from Stripe webhook events"
3-
sidebarTitle: "Stripe webhook"
3+
sidebarTitle: "Stripe webhooks"
44
description: "This example demonstrates how to handle Stripe webhook events using Trigger.dev."
55
---
66

docs/guides/frameworks/webhooks-guides-overview.mdx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,17 @@ A webhook handler is code that executes in response to an event. They can be end
2727
>
2828
How to create a webhook handler in a Remix app, and trigger a task from it.
2929
</Card>
30+
<Card title="Stripe webhooks" icon="webhook" href="/guides/examples/stripe-webhook">
31+
How to create a Stripe webhook handler and trigger a task when a `checkout.session.completed`
32+
event is received.
33+
</Card>
34+
<Card
35+
title="Supabase database webhooks guide"
36+
icon="webhook"
37+
href="/guides/frameworks/supabase-edge-functions-database-webhooks"
38+
>
39+
Learn how to trigger a task from a Supabase edge function when an event occurs in your database.
40+
</Card>
3041
</CardGroup>
3142

3243
<Note>

docs/guides/introduction.mdx

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,15 @@ import CardSupabase from "/snippets/card-supabase.mdx";
2424

2525
Get set up fast using our detailed walk-through guides.
2626

27-
| Guide | Description |
28-
| :----------------------------------------------------------------------------------------- | :------------------------------------------------------------ |
29-
| [Prisma](/guides/frameworks/prisma) | How to setup Prisma with Trigger.dev |
30-
| [Sequin database triggers](/guides/frameworks/sequin) | How to trigger tasks from database changes using Sequin |
31-
| [Supabase edge function hello world](/guides/frameworks/supabase-edge-functions-basic) | How to trigger a task from a Supabase edge function |
32-
| [Supabase database webhooks](/guides/frameworks/supabase-edge-functions-database-webhooks) | How to trigger a task using a Supabase database webhook |
33-
| [Webhooks](/guides/frameworks/webhooks-guides-overview) | How to setup webhooks with Trigger.dev and various frameworks |
27+
| Guide | Description |
28+
| :----------------------------------------------------------------------------------------- | :------------------------------------------------ |
29+
| [Prisma](/guides/frameworks/prisma) | How to setup Prisma with Trigger.dev |
30+
| [Sequin database triggers](/guides/frameworks/sequin) | Trigger tasks from database changes using Sequin |
31+
| [Supabase edge function hello world](/guides/frameworks/supabase-edge-functions-basic) | Trigger tasks from Supabase edge function |
32+
| [Supabase database webhooks](/guides/frameworks/supabase-edge-functions-database-webhooks) | Trigger tasks using Supabase database webhooks |
33+
| [Using webhooks in Next.js](/guides/frameworks/nextjs-webhooks) | Trigger tasks from a webhook in Next.js |
34+
| [Using webhooks in Remix](/guides/frameworks/remix-webhooks) | Trigger tasks from a webhook in Remix |
35+
| [Stripe webhooks](/guides/examples/stripe-webhook) | Trigger tasks from incoming Stripe webhook events |
3436

3537
## Example tasks
3638

@@ -47,7 +49,6 @@ Tasks you can copy and paste to get started with Trigger.dev. They can all be ex
4749
| [Puppeteer](/guides/examples/puppeteer) | Use Puppeteer to generate a PDF or scrape a webpage. |
4850
| [Resend email sequence](/guides/examples/resend-email-sequence) | Send a sequence of emails over several days using Resend with Trigger.dev. |
4951
| [Sharp image processing](/guides/examples/sharp-image-processing) | Use Sharp to process an image and save it to Cloudflare R2. |
50-
| [Stripe webhook](/guides/examples/stripe-webhook) | Trigger a task from Stripe webhook events. |
5152
| [Supabase database operations](/guides/examples/supabase-database-operations) | Run basic CRUD operations on a table in a Supabase database using Trigger.dev. |
5253
| [Supabase Storage upload](/guides/examples/supabase-storage-upload) | Download a video from a URL and upload it to Supabase Storage using S3. |
5354
| [Vercel AI SDK](/guides/examples/vercel-ai-sdk) | Use Vercel AI SDK to generate text using OpenAI. |

docs/mint.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,8 @@
293293
"pages": [
294294
"guides/frameworks/webhooks-guides-overview",
295295
"guides/frameworks/nextjs-webhooks",
296-
"guides/frameworks/remix-webhooks"
296+
"guides/frameworks/remix-webhooks",
297+
"guides/examples/stripe-webhook"
297298
]
298299
}
299300
]
@@ -308,7 +309,6 @@
308309
"guides/examples/pdf-to-image",
309310
"guides/examples/puppeteer",
310311
"guides/examples/sharp-image-processing",
311-
"guides/examples/stripe-webhook",
312312
"guides/examples/supabase-database-operations",
313313
"guides/examples/supabase-storage-upload",
314314
"guides/examples/react-pdf",

0 commit comments

Comments
 (0)