Quick overview
Quick overview Youtube Video: https://youtu.be/0B5IAirPe5o This workflow captures vehicle inquiries via an n8n Form, looks up inventory details in Google Sheets, uses Google Gemini with Redis chat memory to draft a negotiated email quote, logs the lead to a second Google Sheet, and sends the response via Gmail. How it works Receives a vehicle inquiry submission from an n8n Form with the selected car, contact details, and the customer’s message. Normalizes the form data by generating a unique deal ID, extracting the car ID, and standardizing the customer contact fields. Looks up the vehicle record in a Google Sheets inventory spreadsheet using the car ID. If the car ID is missing or not found, sends a “vehicle not found” email to the customer via Gmail. If the vehicle is found, prepares a deal context (vehicle details, pricing fields, and availability) and sends the customer message to a Google Gemini–powered agent with Redis-based conversation memory. The agent calls tools to return official vehicle details and to calculate an acceptable price (accept/counter/unavailable/invalid) before generating structured HTML email output. Appends or updates the lead in a Google Sheets “Car Inquiry Leads” spreadsheet (matched by customer email) and then sends the generated reply to the customer via Gmail. Setup Connect Google Sheets using a Google Service Account and update the document IDs/sheet tabs for both the inventory spreadsheet and the leads spreadsheet. Ensure the inventory sheet includes columns for car_id, year, make, model, trim, mileage, list_price, floor_price, and status (with status set to “available” when negotiable). Add a Google Gemini (Google PaLM) API credential and select the desired Gemini model. Add a Redis credential for chat memory and confirm the Redis instance is reachable from your n8n environment. Add a Gmail OAuth2 credential and set the sending mailbox you want to use for customer replies. Publish the n8n Form and share its URL with customers (or embed it) to start collecting inquiries. An n8n automation workflow template by iamvaar.
iamvaar
web
free
Others in the same category, ranked by how often they are opened.