{"product_id":"triage-website-leads-with-n8n-webhooks-google-gemini","title":"Triage Website Leads with n8n Webhooks + Google Gemini","description":"\u003ch3\u003eTriage every website inquiry instantly with n8n Webhooks + Google Gemini\u003c\/h3\u003e\n\u003cp\u003eStop treating leads like a queue. This n8n workflow receives your website form submissions via \u003cstrong\u003ewebhooks\u003c\/strong\u003e, uses \u003cstrong\u003eGoogle Gemini\u003c\/strong\u003e to classify each inquiry as \u003cstrong\u003eurgent, high, normal, or planned\u003c\/strong\u003e with a short summary and a suggested next step—and returns the result to your site as JSON immediately.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReceives form submissions\u003c\/strong\u003e through an \u003cstrong\u003en8n webhook\u003c\/strong\u003e endpoint.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eValidates the request body\u003c\/strong\u003e and blocks spam using a \u003cstrong\u003ehoneypot field\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eEnforces rate limits\u003c\/strong\u003e per hour and per day using \u003cem\u003en8n static workflow data\u003c\/em\u003e (BUSINESS, SERVICES, MAX_PER_HOUR, MAX_PER_DAY).\u003c\/li\u003e\n  \u003cli\u003eIf valid, sends the inquiry details to the \u003cstrong\u003eGoogle Gemini generateContent\u003c\/strong\u003e endpoint and requests a \u003cstrong\u003estrict JSON\u003c\/strong\u003e classification.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eParses and validates Gemini’s JSON response\u003c\/strong\u003e to extract: priority, priority text, summary bullets, and the suggested next step.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReturns either the AI classification\u003c\/strong\u003e or a rejection\/error reason back to your website as \u003cstrong\u003eJSON\u003c\/strong\u003e via webhook response.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eYour website form is sending many inquiries—Gemini triages them instantly so urgent leads don’t get buried.\u003c\/li\u003e\n  \u003cli\u003eMultiple service lines require different routing—use the business\/service context and rate limits in the workflow.\u003c\/li\u003e\n  \u003cli\u003eYou need automated lead categorization with consistent outputs (strict JSON) for downstream handling.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8n nodes\/tools:\u003c\/strong\u003e webhook, if, code, http request, respond to webhook (plus sticky note for clarity).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIntegration:\u003c\/strong\u003e \u003cstrong\u003eGoogle Gemini (PaLM)\u003c\/strong\u003e via API credential and HTTP request to \u003cstrong\u003egenerateContent\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRequired setup:\u003c\/strong\u003e add a Gemini API key (free tier works for testing), update BUSINESS\/SERVICES and rate limits, set webhook \u003cem\u003eAllowed Origins\u003c\/em\u003e to your domain, and ensure your form posts required fields (service, answers object, message, contactPreference, and an empty honeypot field such as “website”).\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46114743353523,"sku":"N8N-19993","price":49.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/YRkhvUvrAH73qOWo-dMk_9dsE57qe.png?v=1790587208","url":"https:\/\/buyflowscripts.com\/products\/triage-website-leads-with-n8n-webhooks-google-gemini","provider":"N8N Commerce","version":"1.0","type":"link"}