Block 1 - Contact Exists?
- Type / Role
- n8n-nodes-base.if - if
- Config choices
- Version 2
This workflow is provided as-is. Please review and test before using in production.
AI Powered Email Generation with MadKudu sent via Outreach.io This workflow researches prospects using MadKudu MCP, generates personalized emails with OpenAI, and syncs them to Outreach with automa...
n8n-nodes-base.if, n8n-nodes-base.httprequest, @n8n/n8n-nodes-langchain.mcpclienttool, @n8n/n8n-nodes-langchain.chattrigger, n8n-nodes-base.stickynote, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.outputparserstructured
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Margo Rey.
Original n8n.io sourceThis 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.
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
Showing the first 24 of 29 workflow blocks. Download the JSON for the full node graph.
| Workflow | Generate personalized sales emails with MadKudu research & OpenAI for Outreach.io sequences |
|---|---|
| Complexity | advanced |
| Nodes | 29 |
| Categories | Lead Nurturing, Multimodal AI |
| Author | Margo Rey |
| Published | 07 Aug 2025 |
Use the JSON export at /data/workflows/7149/7149.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
AI Powered Email Generation with MadKudu sent via Outreach.io This workflow researches prospects using MadKudu MCP, generates personalized emails with OpenAI, and syncs them to Outreach with automa...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Lead Nurturing, Multimodal AI use case.