Documentation
Customer support
A full support intake exists in the dashboard, piping conversations into `/api/support` for forwarding or CRM syncing.
Dashboard form
The `SupportForm` component accepts category, subject, and description, providing a clean example of how to build authenticated forms with form state and toasts.
Relevant files
src/components/dashboard/support-form.tsx— Support form
API handler
Requests hit `/api/support/route.ts`, which currently logs JSON. Wire it to your help desk, Slack webhook, or Resend template to notify the team.
Relevant files
src/app/api/support/route.ts— Support API