Qualify and enrich Odoo leads with Tavily, Google Gemini, and Resend
Ready for 3.0What this workflow does
This AI workflow has 17 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Odoo and Google Gemini Chat Model. It also calls api.tavily.com and api.resend.com over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Check Email Presence (If): checks a condition and branches into true / false
- Acknowledge with (Respond to Webhook): sends the response back to the webhook caller
- Respond with Bad Request (Respond to Webhook): sends the response back to the webhook caller
- Set Lead Config Parameters (Edit Fields (Set)): sets 6 fields: score_threshold, company_name, company_email_from…
- Normalize Lead Data (Code): runs custom JavaScript code
- Post Tavily Person Data (HTTP Request): calls api.tavily.com (POST)
- Post Tavily Company Data (HTTP Request): calls api.tavily.com (POST)
- Merge Lead and Tavily Data (Code): runs custom JavaScript code
- Chain LLM Workflow (Basic LLM Chain): sends a prompt to an LLM, with model: Google Gemini Chat Model; output parser: Parse Structured Output
- Parse JSON Response (Code): runs custom JavaScript code
…plus 4 more steps. See the full node list below.
Services it uses
HTTP calls to: api.tavily.com, api.resend.com
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.
Nodes used (10)
- Webhook
n8n-nodes-base.webhook - If
n8n-nodes-base.if - Respond to Webhook
n8n-nodes-base.respondToWebhook - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Odoo
n8n-nodes-base.odoo - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured
From the author
Quick overview This workflow receives web leads via a secured webhook, enriches them with Tavily search results, scores and formats them using Google Gemini, then creates a lead in Odoo and sends a personalized email via Resend only when the lead meets the…