Quote freight shipments via WhatsApp with Google Gemini, HighLevel, and Warp
Quick overview Youtube Video: https://youtu.be/kO4LgKT6oME?si=VpUEz2LKuxMujrUp This workflow receives WhatsApp messages, checks the sender in HighLevel, and uses Google Gemini with Redis chat memory to collect shipment details, then requests an LTL quote from the Warp API, applies a commission, and replies with either a conversational prompt or a final freight quote.
How it works Receives an incoming WhatsApp message and only continues when the text body is not empty. Looks up the sender’s phone number in HighLevel and stops contacts marked as Do Not Disturb from being processed further. Uses a Google Gemini-powered agent with Redis chat memory to ask for missing contact and freight details in a fixed order, optionally creating the HighLevel contact or marking the lead as DND when the user opts out. Parses the agent’s structured JSON output and checks whether the required shipment data collection is complete. If data is incomplete, sends the agent’s conversational reply back to the user via WhatsApp. If data is complete, posts the shipment details to the Warp LTL quote API, adds a configured commission percentage to the returned price, and sends the finalized quote back to the user via WhatsApp.
Setup Connect WhatsApp credentials for both the WhatsApp Trigger and WhatsApp “send message” actions, and configure the webhook in Meta/WhatsApp so inbound messages reach this workflow. Add a HighLevel OAuth2 credential and confirm your HighLevel account has permission to search contacts, create contacts, and update the DND field. Add a Google Gemini (PaLM) API credential and a Redis credential for chat memory, and ensure Redis is reachable from your n8n instance. Add an HTTP Header Auth credential for the Warp API and verify the quote endpoint URL, headers, and request body fields match your Warp account requirements. Adjust the commission percentage value (and any quoting assumptions like weight per pallet) to match your pricing policy.
Related Templates
Restore your workflows from GitHub
This workflow restores all n8n instance workflows from GitHub backups using the n8n API node. It complements the Backup ...
Build a Restaurant Voice Assistant with VAPI and PostgreSQL for Bookings & Orders
This n8n template demonstrates how to create a comprehensive voice-powered restaurant assistant that handles table reser...
Extract Named Entities from Web Pages with Google Natural Language API
Who is this for? Content strategists analyzing web page semantic content SEO professionals conducting entity-based anal...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments