You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New page guides/example-projects/resend-email-agent, registered in docs.json and the example projects table. It covers the demo video, how the webhooks and wait tokens fit together, setup steps, and links into the repo.
One sentence on webhooks/sources, under the table where resend() is listed, linking to the example.
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
This PR includes no changesets
When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types
The webhook sources page and example projects table now link to a Resend email agent guide. The guide describes drafting replies to a Resend inbox, routing drafts to Slack for approval, and sending approved replies. It also documents webhook setup, wait-token handling, project setup, and deployment.
Priority: Low
Merge Risk: Moderate · up to b2403
The example link does not work yet. Before publishing, merge the example and clarify the production Slack token and webhook setup so readers do not misroute approvals or receive duplicate drafts.
Pre-merge checks: 4 · 1
Failed checks: 1 warning
Check name
Status
Explanation
Resolution
Description check
The description states the purpose of the change: a new example project guide for the Resend email agent, with a link to the example repository. It lists the changed files (the new guide page, docs.js…
Add the missing template sections: 1) "Closes #" or state that no issue applies. 2) The checklist with each item checked or explained (contributing guide, PR title convention, and tests run). 3) A Testing section that lists the steps…
Passed checks: 4 passed
Check name
Status
Explanation
Title check
The title "docs: Resend email agent example guide" matches the main change. The PR adds a guide page for the Resend email agent example, registers it in docs.json and the example projects table, and a…
Docstring Coverage
No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Documentation-only edits and deletions within survi…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title "docs: Resend email agent example guide" matches the main change. The PR adds a guide page for the Resend email agent example, registers it in docs.json and the example projects table, and adds a link in webhooks/sources. The title is short, follows the conventional "docs:" prefix, and names the primary change.
Full details: Docstring Coverage
Explanation
No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)
Full details: Description check
Explanation
The description states the purpose of the change: a new example project guide for the Resend email agent, with a link to the example repository. It lists the changed files (the new guide page, docs.json registration, and the sentence added to webhooks/sources). It includes a demo video link and a merge-order note. It does not follow the required template. It omits the "Closes #<issue>" line, the checklist (contributing guide, PR title convention, and testing confirmation), the Testing section, the Changelog section, and the Screenshots section. Because the core content is present but most template sections are missing, the check should fail.
Resolution
Add the missing template sections: 1) "Closes #<issue>" or state that no issue applies. 2) The checklist with each item checked or explained (contributing guide, PR title convention, and tests run). 3) A Testing section that lists the steps taken to verify the guide, such as building the docs locally and checking the links. 4) A short Changelog entry. 5) A Screenshots section that shows the rendered guide page or table, or states that no screenshots apply.
Finishing Touches
🧪 Generate unit tests (beta)
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
Review info
Run configuration
Source mode: Auto
Repository: Unavailable
Branch: Unavailable
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Repository UI
Review profile: CHILL
Plan: Advanced
Run ID: 63c5fd99-7f82-4cad-a507-90d22b204cab
Commits
Reviewing files that changed from the base of the PR and between 4d9e4cf and 5679d36.
Files selected for processing: 1
docs/webhooks/sources.mdx
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 7 remain after this review.
To deploy, run `npx trigger.dev@latest deploy` and set the same environment variables on your production environment. Production has its own `resend` and `slack` endpoints, with their own URLs and secrets: point a Resend webhook and a Slack app at the production URLs, and paste each one's signing secret into the matching production endpoint. Until then, the endpoint shows "Needs secret" on the Webhooks page.
The reason will be displayed to describe this comment to others. Learn more.
Major · Functional Correctness · Quick win
Use the production Slack app’s bot token.
If a reader creates a separate Slack app for production, copying SLACK_BOT_TOKEN makes production post through the development app. Its interactions then go to the development endpoint. Instruct readers to install the production app and use its bot token. (raw.githubusercontent.com)
Major · Functional Correctness · Quick win
Prevent both environments from processing the same inbox.
If a reader creates a production Resend webhook while the development webhook and pnpm dev remain active, both environments draft each incoming email. The approver receives duplicate drafts and incurs extra model calls. Tell readers to repoint or disable the development webhook, or use a separate inbox. (raw.githubusercontent.com)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds an example project guide for the new Resend email agent example (triggerdotdev/examples#157): an AI agent that drafts replies to a Resend inbox and waits for approval in Slack before sending.
guides/example-projects/resend-email-agent, registered indocs.jsonand the example projects table. It covers the demo video, how the webhooks and wait tokens fit together, setup steps, and links into the repo.webhooks/sources, under the table whereresend()is listed, linking to the example.Demo video, embedded on the page from YouTube: https://www.youtube.com/watch?v=6GjXLwj_dnE
The repo links go live when triggerdotdev/examples#157 merges, so merge that first.
🤖 Generated with Claude Code