Send multi-carrier shipping quotes via WhatsApp with Gemini and ShipEngine
Ready for 3.0What this workflow does
This AI workflow has 17 nodes and runs on WhatsApp events (messages). Along the way it connects Redis Chat Memory, WhatsApp Business Cloud, HighLevel and Google Gemini Chat Model and 1 more. It also calls api.shipengine.com over HTTP.
How it runs
Trigger: On WhatsApp events (messages).
- Check Message Content (If): checks a condition and branches into true / false
- Fetch HighLevel Contacts (HighLevel): get many
- If: checks a condition and branches into true / false
- Lead Processing Agent (AI Agent): runs an AI agent, with model: Google Gemini Model; 2 tools (Offload Lead, Create Contact); memory: Redis Chat Memory; output parser: Parse Structured Output
- If: checks a condition and branches into true / false
- Set Commission Rate (Edit Fields (Set)): sets 1 field: commission_percentage
- Send WhatsApp Message (WhatsApp Business Cloud): send
- Fetch Shipping Rates (HTTP Request): calls api.shipengine.com (POST)
- Process and Rank Shipping Quotes (Code): runs custom JavaScript code
- Append or update row in sheet (Google Sheets): append or update
…plus 1 more step. See the full node list below.
Services it uses
HTTP calls to: api.shipengine.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 (13)
- Redis Chat Memory
@n8n/n8n-nodes-langchain.memoryRedisChat - WhatsApp Business Cloud
n8n-nodes-base.whatsApp - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - WhatsApp Trigger
n8n-nodes-base.whatsAppTrigger - If
n8n-nodes-base.if - HighLevel
n8n-nodes-base.highLevel - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - AI Agent
@n8n/n8n-nodes-langchain.agent - High Level Tool
n8n-nodes-base.highLevelTool - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Google Sheets
n8n-nodes-base.googleSheets
From the author
Quick overview Youtube Video: https://youtu.be/jIGBUW1Sx0?si=BNXzk95soO0Nefan This workflow responds to incoming WhatsApp messages, validates the sender in HighLevel, uses Google Gemini with Redis memory to collect shipment details, fetches multi-carrier…