Copy Agent
Drafts subject + body in your brand voice. Used by the template editor's AI assist button and the Studio chat.
How it works
Given a prompt ("rewrite warmer, shorter CTA"), the current subject/body, and your workspace's saved brand voice (persona, tone, do-not-use list, examples), it returns a new subject + HTML body that respects the voice.
Trigger
- Template editor: "AI assist" button in
/dashboard/templates/[slug]/edit. - Studio chat:"Draft a new welcome email shorter and more casual" — the chat tool calls the Copy Agent under the hood.
Model
Claude Sonnet via Vercel AI Gateway. Cost is tracked per run in ai_runs.
Tips
- Fill out your brand voice in
/studio/brandfirst — the agent is much more useful with a defined persona than a blank slate. - For email-first drafts, ask explicitly for "inline-styled HTML, no <style> tags" — works around Gmail's CSS stripping.