This workflow researches prospects using MadKudu MCP, generates personalized emails with OpenAI, and syncs them to Outreach with automatic sequence enrollment.
Its for SDRs and sales teams who want to scale personalized outreach by automating research and email generation while maintaining quality.
1. Input Email & Research:
Enter prospect email via chat trigger.
Extract email and generate comprehensive account brief using MadKudu MCP account-brief-instructions.
2. Deep Research & Email Generation:
AI Agent performs 6 research steps using MadKudu MCP tools:
AI generates 5 different email angles and selects the best one based on relevance.
3. Outreach Integration:
Checks if prospect exists in Outreach by email.
If exists: Updates custom field (custom49) with generated email.
If new: Creates new prospect with email in custom field.
Enrolls prospect in specified email sequence (ID 781) using mailbox (ID 51).
Waits 30 seconds and verifies successful enrollment.
Set your OpenAI credentials
Required for AI research and email generation.
Create a n8n Variable to store your MadKudu API key named madkudu_api_key
Used for the MadKudu MCP tool to access account research capabilities.
Create a n8n Variable to store your company domain named my_company_domain
Used for context in email generation and value prop research.
Create an Oauth2 API credential to connect your Outreach account
Used to create/update prospects and enroll in sequences.
Configure Outreach settings
Update Outreach Mailbox ID (currently set to 51) in the "Configure Outreach Settings" node.
Update Outreach Sequence ID (currently set to 781) in the same node.
Adjust custom field name if using different field than custom49.
Change the research steps
Modify the AI Agent prompt to adjust the 6 research steps or add additional MadKudu MCP tools.
Update Outreach configuration
Change Mailbox ID (51) and Sequence ID (781) in the "Configure Outreach Settings" node.
Update custom field mapping if using different field than custom49.
Modify email generation
Adjust the prompt guidelines, tone, or angle priorities in the "AI Email Generator" node.
Change the trigger
Swap the chat trigger for a Schedule, Webhook, or integrate with your CRM to automate prospect input.