Proactive Email Outreach System
A dual-agent architecture where an Orchestrator Agent analyzes triggers and initiates email conversations, while a Conversation Agent handles all replies and maintains ongoing dialogue with recipients.
The Proactive Email Outreach System introduces a powerful separation of concerns pattern for autonomous email communication. Instead of a single agent handling everything, this architecture splits responsibilities between two specialized agents that work in concert.
The Orchestrator Agent is the brain of the system. It monitors external data sources, analyzes triggers, and decides when proactive outreach is warranted. When it identifies an opportunity — a new lead, a customer milestone, a follow-up need, or any triggering event—it uses the email/conversation/start ability to initiate a personalized email conversation. Crucially, it passes context about why this outreach is happening and what the goals are.
The Conversation Agent is the voice of the system. It's directly connected to the email integration and handles all incoming replies. When a recipient responds to an initiated email, this agent takes over the dialogue. It has access to the context provided by the Orchestrator (stored as an activity in the conversation) and can engage in natural, goal-oriented conversation.
This separation provides several key benefits:
First, it enables truly autonomous outreach. The Orchestrator can run on triggers or schedules, analyzing data and initiating conversations without human intervention. Meanwhile, the Conversation Agent remains ready to engage whenever recipients respond, whether that's minutes or days later.
Second, it allows each agent to specialize. The Orchestrator can be equipped with data analysis, CRM lookup, and decision-making abilities. The Conversation Agent can focus on communication skills, objection handling, and relationship building. Each agent excels at its specific role.
Third, it creates a clear audit trail. Every outreach decision is logged, including the context that triggered it. This makes the system transparent and allows for continuous improvement of outreach strategies.
Use cases for this pattern include:
Lead Nurturing: The Orchestrator monitors your CRM for new leads, scores them, and initiates personalized outreach. The Conversation Agent handles responses, qualifies interest, and can even schedule meetings.
Customer Success: The Orchestrator watches for usage patterns, milestones, or risk signals. It proactively reaches out to congratulate, offer help, or address potential churn. The Conversation Agent maintains the relationship.
Follow-up Automation: The Orchestrator tracks pending items, deadlines, or commitments. It sends timely reminders and check-ins. The Conversation Agent handles any questions or rescheduling needs.
Event-Driven Outreach: The Orchestrator monitors external events — news, market changes, product updates - and identifies relevant contacts. It initiates timely, contextual outreach that the Conversation Agent nurtures.
To extend this blueprint, consider adding abilities for CRM integration, calendar scheduling, or connecting to your internal databases. You could also add a third agent that analyzes conversation outcomes and feeds learnings back to the Orchestrator for improved targeting.
Backstory
Common information about the bot's experience, skills and personality. For more information, see the Backstory documentation.
Skillset
This example uses a dedicated Skillset. Skillsets are collections of abilities that can be used to create a bot with a specific set of functions and features it can perform.
Start Email Conversation
Initiates a new email conversation with a recipientSearch Web
Search the web for information about companies or peopleFetch Web Page
Fetch and extract content from a web pageSearch Web
Search the web for information to help the conversation
Terraform Code
This blueprint can be deployed using Terraform, enabling infrastructure-as-code management of your ChatBotKit resources. Use the code below to recreate this example in your own environment.
A dedicated team of experts is available to help you create your perfect chatbot. Reach out via or chat for more information.