From 5679d36a9b3934dcd18ff6d5fe710a9685676d0f Mon Sep 17 00:00:00 2001 From: Jack Bridger Date: Tue, 27 Oct 2026 13:41:09 +0000 Subject: [PATCH 1/4] docs(webhooks): link the Resend email agent example from sources --- docs/webhooks/sources.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/webhooks/sources.mdx b/docs/webhooks/sources.mdx index d8f3a2ac97f..8481628d698 100644 --- a/docs/webhooks/sources.mdx +++ b/docs/webhooks/sources.mdx @@ -106,6 +106,8 @@ Supabase database webhooks aren't signed, so `supabase()` checks a shared secret Slack also ships as a chat channel in `@trigger.dev/slack`. +For a complete project built on `resend()`, see the [Resend email agent example](https://github.com/triggerdotdev/examples/tree/main/resend-slack-email-agent). It drafts replies to a Resend inbox and waits for your approval in Slack before sending them. + ### Hookdeck `hookdeck()` verifies requests that a [Hookdeck](https://hookdeck.com) connection forwards to the endpoint. Hookdeck forwards the original provider's body unchanged, so pass that provider's event type: From fc0d5840dedce347e68624fe1943d0b2b241d400 Mon Sep 17 00:00:00 2001 From: Jack Bridger Date: Tue, 27 Oct 2026 14:04:24 +0000 Subject: [PATCH 2/4] docs: add the Resend email agent example project guide --- docs/docs.json | 1 + .../example-projects/resend-email-agent.mdx | 159 ++++++++++++++++++ docs/guides/introduction.mdx | 1 + 3 files changed, 161 insertions(+) create mode 100644 docs/guides/example-projects/resend-email-agent.mdx diff --git a/docs/docs.json b/docs/docs.json index 49794a422fd..8d5f3d3bbaa 100644 --- a/docs/docs.json +++ b/docs/docs.json @@ -618,6 +618,7 @@ "guides/example-projects/product-image-generator", "guides/example-projects/realtime-csv-importer", "guides/example-projects/realtime-fal-ai", + "guides/example-projects/resend-email-agent", "guides/example-projects/smart-spreadsheet", "guides/example-projects/turborepo-monorepo-prisma", "guides/example-projects/vercel-ai-sdk-deep-research", diff --git a/docs/guides/example-projects/resend-email-agent.mdx b/docs/guides/example-projects/resend-email-agent.mdx new file mode 100644 index 00000000000..ffa6c5ca82f --- /dev/null +++ b/docs/guides/example-projects/resend-email-agent.mdx @@ -0,0 +1,159 @@ +--- +title: "Resend email agent with Slack approval" +sidebarTitle: "Resend email agent" +description: "An AI agent that drafts replies to a Resend inbox and sends nothing until you approve it in Slack. Uses hosted webhooks for Resend and Slack, and wait tokens to pause each email thread until you click Send." +--- + +