Build a meeting agent that surfaces relevant sales emails
Brief
The example combines meeting transcripts and inbound sales emails in one Trigger.dev agent session, so the agent can surface relevant email during a call.
How the agent works
- Recall.ai supplies meeting access and real-time transcript events; Resend sends inbox email events to Trigger.dev.
- Both event streams use the same session key. The agent can stay quiet, wait for a pause before speaking, and present an email with its CRM record via screenshare.
Implementation details
- The example uses Trigger.dev chat agents, a Next.js page, Gemini text-to-speech through Vercel AI Gateway, and a public page URL protected with Vercel Deployment Protection.
- The build prompt specifies that email replies can only be saved as drafts, never sent. A watch token can read the meeting session and expires after 6 hours.
Generated by AI from the original article. Check the source for full details.