{"product_id":"ai-readiness-survey-scoring-workflow-n8n-openai-gmail","title":"AI Readiness Survey Scoring Workflow (n8n + OpenAI + Gmail)","description":"\u003ch3\u003eTurn AI readiness survey answers into scored leads and personalized reports—automatically\u003c\/h3\u003e\n\u003cp\u003eThis \u003cstrong\u003eAI Readiness Survey Scoring Workflow\u003c\/strong\u003e for \u003cstrong\u003en8n\u003c\/strong\u003e collects survey responses from an \u003cstrong\u003en8n Form\u003c\/strong\u003e, scores each lead using \u003cstrong\u003efixed rules\u003c\/strong\u003e, generates an \u003cstrong\u003eOpenAI-checked\u003c\/strong\u003e report, and emails it via \u003cstrong\u003eGmail\u003c\/strong\u003e—while saving lead records in an \u003cstrong\u003en8n Data Table\u003c\/strong\u003e and preparing optional follow-ups.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eTriggers on submissions (or runs daily\u003c\/strong\u003e on a schedule to prepare follow-ups) and loads shared configuration values.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCreates and updates an\u003c\/strong\u003e “\u003cstrong\u003eAI readiness leads\u003c\/strong\u003e” \u003cstrong\u003en8n Data Table\u003c\/strong\u003e (if missing).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eCalculates five readiness scores\u003c\/strong\u003e, an \u003cstrong\u003eoverall level\u003c\/strong\u003e, and a \u003cstrong\u003elead priority\u003c\/strong\u003e from the submitted answers.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eBlocks bot submissions\u003c\/strong\u003e and \u003cstrong\u003edisposable\/invalid email addresses\u003c\/strong\u003e so no report is generated or sent.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eChecks prior submissions\u003c\/strong\u003e in the Data Table to avoid sending a second report within the configured \u003cstrong\u003eresubmission window\u003c\/strong\u003e. Optionally computes \u003cstrong\u003ebenchmark comparisons\u003c\/strong\u003e once enough leads exist.\u003c\/li\u003e\n  \u003cli\u003eUses \u003cstrong\u003eOpenAI (structured output)\u003c\/strong\u003e to write a \u003cstrong\u003epersonalized report\u003c\/strong\u003e, then \u003cstrong\u003echecks it for rule violations\u003c\/strong\u003e and retries once with a rewritten version if needed.\u003c\/li\u003e\n  \u003cli\u003eBuilds an \u003cstrong\u003eHTML email report\u003c\/strong\u003e and either \u003cstrong\u003esends via Gmail\u003c\/strong\u003e or \u003cstrong\u003ecreates a Gmail draft\u003c\/strong\u003e for manual review. It then \u003cstrong\u003esaves the lead\u003c\/strong\u003e and \u003cstrong\u003eemails you a lead alert\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003eEach morning, finds \u003cstrong\u003econsenting leads\u003c\/strong\u003e whose reports were sent a set number of days ago and creates a \u003cstrong\u003efollow-up Gmail draft\u003c\/strong\u003e, then marks it as drafted in the Data Table.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eAutomate lead qualification for SaaS teams running an “AI readiness” survey.\u003c\/li\u003e\n  \u003cli\u003eGenerate consistent, rule-based scoring plus personalized OpenAI reports for respondents.\u003c\/li\u003e\n  \u003cli\u003ePrevent duplicate outreach and schedule follow-ups using Gmail drafts.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIntegrations\/credentials:\u003c\/strong\u003e \u003cstrong\u003eOpenAI\u003c\/strong\u003e (chat model) and \u003cstrong\u003eGmail\u003c\/strong\u003e (send messages and create drafts).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eKey n8n nodes:\u003c\/strong\u003e \u003cstrong\u003eif\u003c\/strong\u003e, \u003cstrong\u003eset\u003c\/strong\u003e, \u003cstrong\u003ecode\u003c\/strong\u003e, \u003cstrong\u003eno op\u003c\/strong\u003e, \u003cstrong\u003egmail\u003c\/strong\u003e, and \u003cstrong\u003edata table\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSafety controls:\u003c\/strong\u003e bot\/disposable-email blocking and rule-violation checking with a single retry.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46326525657267,"sku":"N8N-21806","price":23.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/hGhKrZI9D3Q-acr-v_BUi_sOwQd9Oy.png?v=1793351677","url":"https:\/\/buyflowscripts.com\/products\/ai-readiness-survey-scoring-workflow-n8n-openai-gmail","provider":"N8N Commerce","version":"1.0","type":"link"}