Enrich and deduplicate BROSH CRM leads with OpenAI and BROSH MCP
Ready for 3.0What this workflow does
This AI workflow has 21 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects OpenAI. It also calls mcp.brosh.io over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Validate and Normalize Lead (Code): runs custom JavaScript code
- Input Is Valid? (If): checks a condition and branches into true / false
- OpenAI: uses OpenAI
- Respond Validation Error (Respond to Webhook): sends the response back to the webhook caller
- Parse OpenAI Enrichment (Code): runs custom JavaScript code
- BROSH MCP - Search Existing Contact (HTTP Request): calls mcp.brosh.io (POST)
- Parse Contact Search (Code): runs custom JavaScript code
- Existing Contact Found? (If): checks a condition and branches into true / false
- BROSH MCP - Create Duplicate Lead Activity (HTTP Request): calls mcp.brosh.io (POST)
- BROSH MCP - Search Existing Account (HTTP Request): calls mcp.brosh.io (POST)
…plus 10 more steps. See the full node list below.
Services it uses
HTTP calls to: mcp.brosh.io
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (6)
- Webhook
n8n-nodes-base.webhook - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - OpenAI
@n8n/n8n-nodes-langchain.openAi - HTTP Request
n8n-nodes-base.httpRequest - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
Quick overview This workflow receives lead data via a webhook, validates and normalizes the payload, then uses OpenAI web search and the BROSH MCP API to enrich the lead and create or reuse matching Account and Contact records in BROSH CRM, returning a…