Score small business AI readiness from forms with OpenAI and Gmail
Ready for 3.0What this workflow does
This AI workflow has 34 nodes and runs on a schedule (every day at 09:00) (plus 2 other triggers). Along the way it connects Gmail and OpenAI Chat Model.
How it runs
Trigger: On a schedule (every day at 09:00) (plus 2 other triggers).
- Settings (Edit Fields (Set)): sets 11 fields: yourCompany, yourEmail, bookingUrl…
- Did the workflow stop? (If): checks a condition and branches into true / false
- Email me: workflow stopped (Gmail): send (message)
- Create the leads table if missing (Data table): create (table)
- Daily follow-up? (If): checks a condition and branches into true / false
- Read the leads to follow up (Data table): get (row)
- Score the answers (Code): runs custom JavaScript code
- Who is due today? (Code): runs custom JavaScript code
- Allowed? (If): checks a condition and branches into true / false
- Draft the follow-up (Gmail): create (draft)
…plus 18 more steps. See the full node list below.
Services it uses
Other OpenAI + Gmail templates (1,623)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (12)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - Gmail
n8n-nodes-base.gmail - Data table
n8n-nodes-base.dataTable - Code
n8n-nodes-base.code - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - No Operation, do nothing
n8n-nodes-base.noOp - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Error Trigger
n8n-nodes-base.errorTrigger - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured
From the author
Quick overview This workflow collects AI readiness survey responses via an n8n Form, scores them with fixed rules, generates a checked report using OpenAI, and emails it via Gmail while saving each lead to an n8n Data Table and drafting optional follow-ups.…