Message Sequence System - Complete Guide
Purpose: Comprehensive guide to the GTM Message Sequence Agent system
Based on: Vercel Lead Agent architecture
Status: Reference Implementation
Last Updated: 2026-01-26
π― What is This?
A Vercel-inspired AI agent system for generating and approving personalized, multi-step GTM message sequences across different campaign types with human-in-the-loop Slack approval.
Think: Vercelβs lead agent, but for outbound/inbound sequencing across multiple campaigns.
β¨ Key Features
- π€ AI-Powered Sequence Generation - Uses AI SDK to generate personalized sequences
- π Multi-Campaign Support - Event follow-up, mutual intros, cold outbound, partnerships, etc.
- π Durable Workflows - Reliable multi-step execution with Workflow DevKit
- π Deep Research Agent - Comprehensive prospect research with AI SDK Agent class
- π€ Human-in-the-Loop - Slack approval before sending (approve/edit/reject)
- π Easy to Extend - Add new campaigns in ~60 minutes
ποΈ System Architecture
Campaign Trigger
β
Workflow Start
β
Research Agent βββ Prospect intel, personalization signals
β
Campaign Classifier βββ Identify campaign type, segment, persona
β
Sequence Generator βββ Generate multi-step personalized sequence
β
Slack Approval βββ Human review (approve/edit/reject)
β
Schedule & Send βββ Queue and send approved sequence
Tech Stack:
- Next.js 16
- Vercel AI SDK (generateObject, Agent class)
- Workflow DevKit (durable execution)
- Slack Bolt + Vercel adapter
- Vercel AI Gateway
- HubSpot (CRM integration)
π File Structure
gtm/agents/
βββ MESSAGE_SEQUENCE_AGENT.md # Main architecture doc
βββ CAMPAIGN_TYPES_SCHEMA.md # TypeScript schemas for all campaign types
βββ SLACK_INTEGRATION_SPEC.md # Slack integration details
βββ HOW_TO_ADD_CAMPAIGNS.md # Step-by-step guide to add campaigns
βββ MESSAGE_SEQUENCE_SYSTEM_README.md # This file
β
βββ playbooks/ # Campaign playbooks (markdown)
β βββ event-follow-up-playbook.md # Event follow-up sequences
β βββ mutual-intro-playbook.md # Mutual introduction sequences
β βββ cold-outbound-playbook.md # Cold prospecting sequences
β βββ [your-campaign]-playbook.md # Add more campaigns here
β
βββ memory/ # Existing GTM knowledge base
β βββ event-follow-up-playbook.md # (Original file)
β βββ bdr-tactics.md
β βββ message-templates.md
β βββ ...
β
βββ GTM_Strategy_Playbooks.xlsx # Your original spreadsheet reference
π Quick Start
1. Understand the System
Read in this order:
-
MESSAGE_SEQUENCE_AGENT.md (10 min)
Architecture, workflow, tech stack, key concepts -
CAMPAIGN_TYPES_SCHEMA.md (5 min)
TypeScript schemas, campaign types, personas -
SLACK_INTEGRATION_SPEC.md (10 min)
Slack setup, Block Kit, approval flow -
Pick a playbook to study:
- Event Follow-Up - Most detailed
- Mutual Introduction - Warm intro flows
- Cold Outbound - Research-heavy
2. Add Your First Campaign
Follow: HOW_TO_ADD_CAMPAIGNS.md
Steps (60 minutes total):
- Research & Planning (15 min) - Define use case, segments, personas
- Playbook Creation (30 min) - Write markdown playbook
- Schema Updates (5 min) - Add types
- Code Integration (10 min) - Import and configure
- Testing (15 min) - Validate with test triggers
Checklist:
[ ] Defined use case and segments
[ ] Created playbook markdown file
[ ] Updated campaign type enum
[ ] Created playbook import
[ ] Updated playbook registry
[ ] Created test fixture
[ ] Tested classification
[ ] Tested sequence generation
[ ] Tested Slack approval
3. Test with Your Excel Data
Your GTM_Strategy_Playbooks.xlsx file contains campaign examples. Use it as reference:
Steps:
- Open Excel file and review tabs (each tab = potential campaign type)
- For each tab:
- Note the campaign type/use case
- Extract segment variations
- Copy message templates
- Identify multi-step sequences
- Convert to playbook markdown using template in HOW_TO_ADD_CAMPAIGNS.md
Example Conversion:
Excel Tab: "Mutual Intro Sequence"
β
Campaign Type: mutual-intro
β
Segments: warm-intro-executive, warm-intro-peer, cold-with-context
β
Playbook: playbooks/mutual-intro-playbook.md
β
Schema: MutualIntroContext interface
β
Test: Create trigger, generate sequence, approve in Slack
π Current Campaign Types
| Campaign Type | Playbook | Status | Use Case |
|---|---|---|---|
| event-follow-up | β | Complete | Post-conference/event outreach |
| mutual-intro | β | Complete | Warm introduction via investor/customer |
| cold-outbound | β | Complete | Cold prospecting to ICP |
| partnership-outreach | [ ] | TODO | Partner rep engagement |
| product-launch | [ ] | TODO | New feature announcement |
| content-syndication | [ ] | TODO | Blog/case study sharing |
| re-engagement | [ ] | TODO | Reactivate inactive prospects |
| referral-request | [ ] | TODO | Ask for customer referrals |
Your Excel tabs β Map to these or add new ones
π Key Concepts
Campaign Types
Different outreach scenarios with unique triggers and goals.
Examples: event-follow-up, mutual-intro, cold-outbound
Segments
Variations within a campaign type based on context.
Example: Event follow-up segments:
- Booth visitor (light engagement)
- VIP dinner (high engagement)
- Meeting log (scheduled conversation)
Personas
Prospect types with different messaging needs.
Standard 4:
- Executive: ROI-focused, concise
- Practitioner: Technical, tactical
- Champion: Enablement-focused
- Blocker: Risk-aware, proof-driven
Multi-Step Sequences
2-6 touchpoints over days/weeks with specific:
- Timing: When to send (immediate, day-2, day-7)
- Channel: Email, LinkedIn, phone, video
- Goal: What this step should achieve
- Personalization: How to customize
Human-in-the-Loop
Slack approval before sending sequences:
- β Approve - Send as-is
- βοΈ Edit - Modify in Slack modal
- π View Full - See complete sequence
- β Reject - Donβt send
π§ Implementation Guide
Phase 1: Setup (Week 1)
Goal: Get basic system running with 1 campaign
-
Setup infrastructure:
- Next.js app with Workflow DevKit
- Vercel AI SDK configuration
- Slack app creation
- HubSpot integration
-
Implement core services:
- Research agent (AI SDK Agent)
- Campaign classifier (generateObject)
- Sequence generator (generateObject)
- Slack approval handler
-
Add first campaign:
- Choose simplest campaign from Excel
- Create playbook markdown
- Update schemas
- Test end-to-end
Deliverable: Working system with 1 campaign type
Phase 2: Add Campaigns (Weeks 2-3)
Goal: Add 3-5 most important campaigns from Excel
-
Prioritize campaigns:
- Highest volume campaigns first
- Warmest leads (highest conversion)
- Most manual work currently
-
Create playbooks:
- Use Excel tabs as source
- Follow template structure
- Include real examples
- Test each campaign
-
Iterate based on feedback:
- Review approval rates in Slack
- Measure response rates
- Collect edits/rejections
- Refine prompts and templates
Deliverable: 3-5 campaign types fully automated
Phase 3: Scale & Optimize (Week 4+)
Goal: Refine system based on real usage
-
Monitor metrics:
- Approval rates by campaign
- Response rates by segment
- Time to first response
- Meeting conversion
-
Optimize prompts:
- Improve research agent tools
- Refine classification accuracy
- Enhance sequence quality
- Reduce edit rate
-
Add advanced features:
- A/B testing different sequences
- Dynamic timing based on engagement
- Multi-channel sequences
- Automated follow-ups based on responses
Deliverable: Production-ready system with metrics dashboard
π Success Metrics
Generation Quality
| Metric | Target | Current |
|---|---|---|
| Approval Rate | 80%+ | - |
| Edit Rate | <30% | - |
| Rejection Rate | <10% | - |
| Time to Generate | <2 min | - |
Sequence Performance
| Campaign Type | Open Rate | Response Rate | Meeting Rate |
|---|---|---|---|
| Event Follow-Up | 50-60% | 30-40% | 18-25% |
| Mutual Intro | 70-80% | 50-60% | 35-45% |
| Cold Outbound | 40-50% | 15-20% | 8-12% |
Efficiency
| Metric | Target | Current |
|---|---|---|
| Sequences/Week | 50-100 | - |
| Human Review Time | <3 min each | - |
| Response Time | <24 hrs | - |
π― Best Practices
Playbook Writing
β Do:
- Include 5+ real examples per section
- Write actual templates (not just principles)
- Be specific about personalization requirements
- Include anti-patterns (what NOT to do)
- Use real language from successful outreach
β Donβt:
- Write generic templates
- Skip personalization checklist
- Forget to include timing guidance
- Use vague success metrics
Personalization
β Do:
- Lead with specific research insight
- Reference recent company news/activity
- Mention similar companies youβve helped
- Customize for persona (exec vs practitioner)
- Include mutual connections when available
β Donβt:
- Use generic βI loved your postβ personalization
- Copy-paste templates without customization
- Ignore prospectβs actual challenges
- Over-automate at cost of quality
Slack Approval
β Do:
- Show full context in approval message
- Make editing easy (modal with all fields)
- Track why sequences are rejected
- Send reminders after 4 hours
- Auto-reject after 24 hours (with alert)
β Donβt:
- Send approval requests to wrong channel
- Make editing require going outside Slack
- Ignore rejection patterns
- Let requests sit indefinitely
- Approve automatically without review
π οΈ Troubleshooting
Low Approval Rates
Symptoms: <70% approval rate
Causes:
- Generic sequences (not personalized enough)
- Poor research data
- Wrong campaign classification
- Templates donβt match brand voice
Fixes:
- Review rejected sequences for patterns
- Improve research agent tools
- Add more examples to playbooks
- Refine classification prompts
- A/B test different approaches
Low Response Rates
Symptoms: Below target response rates
Causes:
- Wrong timing (too slow or too fast)
- Poor personalization execution
- Weak CTAs
- Generic templates
- Wrong segment classification
Fixes:
- A/B test timing variations
- Improve personalization depth
- Strengthen CTAs with specificity
- Review successful sequences for patterns
- Re-segment prospects
High Edit Rates
Symptoms: >40% sequences require significant edits
Causes:
- Playbook templates too generic
- Research agent missing key info
- Generator prompt not specific enough
- Brand voice not captured well
Fixes:
- Add more specific examples to playbooks
- Improve research agent with better tools
- Refine generator prompt with real examples
- Review common edits and incorporate patterns
π Related Documentation
Internal Docs
External References
- Vercel Lead Agent - Original inspiration
- Vercel AI SDK Docs
- Workflow DevKit Docs
- Slack Block Kit Builder
π Getting Help
Questions?
-
Check documentation first:
- MESSAGE_SEQUENCE_AGENT.md for architecture
- HOW_TO_ADD_CAMPAIGNS.md for adding campaigns
- CAMPAIGN_TYPES_SCHEMA.md for schemas
-
Review existing playbooks:
- Look at similar campaign types
- Study sequence structures
- Copy patterns that work
-
Test with sample data:
- Create test fixtures
- Run through full workflow
- Check Slack approval UX
-
Ask team for feedback:
- Share draft playbook
- Review approval requests together
- Iterate based on real usage
π Next Steps
For Your Specific Use Case
Based on your Excel file (GTM_Strategy_Playbooks.xlsx):
- Review each Excel tab - Understand what campaigns you want
- Prioritize top 3 - Start with highest ROI
- Convert to playbooks - Use HOW_TO_ADD_CAMPAIGNS.md
- Test with real data - Run through full workflow
- Iterate based on results - Monitor metrics, improve
Immediate Actions
- Read MESSAGE_SEQUENCE_AGENT.md
- Review one complete playbook (start with mutual-intro)
- Open your Excel file and map tabs to campaign types
- Choose first campaign to implement
- Follow HOW_TO_ADD_CAMPAIGNS.md guide
Remember: This is a reference architecture. Adapt to your specific needs, test with real data, and iterate based on what works for your GTM motion.
π License
Reference implementation for Brainforge GTM team.