{"product_id":"n8n-lead-qualification-openai-gpt-5-sheets-gmail-alerts","title":"n8n Lead Qualification: OpenAI GPT-5 + Sheets + Gmail Alerts","description":"\u003ch3\u003eInstantly qualify leads with OpenAI, log them to Google Sheets, and alert your team by Gmail\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow automatically receives lead submissions, uses \u003cstrong\u003eOpenAI GPT-5\u003c\/strong\u003e to score and categorize each lead, appends the results to \u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e, and sends a \u003cstrong\u003eGmail alert\u003c\/strong\u003e when a lead is marked \u003cem\u003eHot\u003c\/em\u003e (lead score \u0026gt; 70).\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReceives leads via Webhook:\u003c\/strong\u003e Listens for a \u003ccode\u003ePOST\u003c\/code\u003e request on the webhook endpoint containing “Name\/Email\/Company\/Message” text fields.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eExtracts and normalizes data:\u003c\/strong\u003e Cleans and standardizes the incoming lead’s name, email, company, and message.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAI lead qualification with OpenAI:\u003c\/strong\u003e Sends the cleaned lead information to \u003cstrong\u003eOpenAI (GPT-5-mini)\u003c\/strong\u003e to generate structured JSON, including:\n    \u003cul\u003e\n      \u003cli\u003elead \u003cstrong\u003escore\u003c\/strong\u003e\n\u003c\/li\u003e\n      \u003cli\u003e\u003cstrong\u003ecategory\u003c\/strong\u003e\u003c\/li\u003e\n      \u003cli\u003esummary \u003cstrong\u003ebullets\u003c\/strong\u003e\n\u003c\/li\u003e\n      \u003cli\u003ea \u003cstrong\u003erecommended action\u003c\/strong\u003e\n\u003c\/li\u003e\n    \u003c\/ul\u003e\n  \u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eLogs to Google Sheets:\u003c\/strong\u003e Appends the original lead details plus the AI scoring results to your specified spreadsheet and sheet tab.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eHot lead detection:\u003c\/strong\u003e Checks whether the lead score is \u003cstrong\u003egreater than 70\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSends Gmail alerts:\u003c\/strong\u003e If the threshold is met, sends a formatted Gmail message containing the lead details and AI summary.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eSaaS teams routing inbound form submissions for faster follow-up on high-intent prospects.\u003c\/li\u003e\n  \u003cli\u003eAutomation engineers implementing lead scoring workflows inside n8n without manual spreadsheets.\u003c\/li\u003e\n  \u003cli\u003eOperators capturing web leads, qualifying them with GPT-5, and notifying the right email contact for Hot leads.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details (n8n + connected services)\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eWebhook\u003c\/strong\u003e trigger for incoming POST requests\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOpenAI GPT-5-mini\u003c\/strong\u003e for structured lead scoring\/category JSON\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e (append rows) via OAuth2\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGmail\u003c\/strong\u003e alert emails via OAuth2\u003c\/li\u003e\n  \u003cli\u003eNodes\/settings: \u003cstrong\u003eif\u003c\/strong\u003e, \u003cstrong\u003eset\u003c\/strong\u003e, \u003cstrong\u003egmail\u003c\/strong\u003e, \u003cstrong\u003ewebhook\u003c\/strong\u003e, and a \u003cstrong\u003esticky note\u003c\/strong\u003e in the workflow\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cstrong\u003eSet up credentials\u003c\/strong\u003e (OpenAI, Google Sheets, Gmail), configure the spreadsheet\/tab for logging, set the Gmail recipient for Hot-lead alerts, then deploy the webhook URL to your lead source.\u003c\/p\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45872810918067,"sku":"N8N-18490","price":5.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/Uw0m3XqRftg8WkSGAUTYp_68wCmQyl.png?v=1787216626","url":"https:\/\/buyflowscripts.com\/products\/n8n-lead-qualification-openai-gpt-5-sheets-gmail-alerts","provider":"N8N Commerce","version":"1.0","type":"link"}