Category: Automations › Start a New Business · Best for: Any business collecting enquiries online · Platform: n8n · Steps: 7
What it does
When someone fills your website form, their answers are saved in Google Sheets and Airtable.
- A trigger node that initiates the workflow when a form is submitted.
Works with: Google Sheets, Airtable, Gmail
What you get
- The n8n workflow file (
workflow.json), ready to import - This setup guide
- The list of fields to change for your own accounts (see Install below)
- Email support if you get stuck
Before you start
-
An n8n account. Easiest: n8n Cloud (free trial). Self-host for free with Docker:
docker run -it --rm -p 5678:5678 -v n8n_data:/home/node/.n8n docker.n8n.io/n8nio/n8n, then open http://localhost:5678. -
Accounts and API keys for these services:
- Airtable personal access token: how to connect (used by Airtable)
- Google (Sheets, Gmail, Drive, Calendar, Docs): how to connect (used by Google Sheets, Gmail, Gmail1)
Install
- In n8n, click Create workflow (top right).
- Click the ⋯ menu → Import from file and choose
workflow.json. Or open the file, copy everything and paste it onto the empty canvas with Ctrl/Cmd + V. - Open each node with a red warning triangle and pick or create the matching credential from the list above.
- Point these fields at your own sheets, chats and accounts:
- n8n Form Trigger →
fieldLabel: replace the placeholder with your own - Airtable →
base: choose your own - Airtable →
table: choose your own - Google Sheets →
sheetName: choose your own - Google Sheets →
documentId: choose your own - Gmail →
sendTo: choose your own - Gmail1 →
sendTo: choose your own
- n8n Form Trigger →
- Click Save.
Test it
- Click Test workflow (or Execute workflow). n8n Form Trigger starts it. Trigger it once with real sample data.
- Click each node to check its output. A green tick means the step worked.
- Fix any red node: it's almost always a credential or a field that still points at a sheet or chat that isn't yours.
Go live
Toggle Active (top right). From now on it runs on its own. Check Executions in the left sidebar to see every run.
How it works, step by step
- n8n Form Trigger starts the workflow (Form).
- Extracting Date and Time Fields from 'submittedAt' Field reshapes the data for the next step.
- Format the Fields reshapes the data for the next step.
- Google Sheets uses Google Sheets to append.
- Airtable uses Airtable to create.
- Gmail1 uses Gmail.
- Gmail uses Gmail.
Extra setup notes
These notes are also on the canvas as yellow sticky notes:
Workflow Description:
-
n8n Form Trigger:
- A trigger node that initiates the workflow when a form is submitted.
- Form fields include Name, City, and Email.
-
Extracting Date and Time Fields from 'submittedAt' Field:
- A code node that extracts Date and Time from the submittedAt field.
-
Format the Fields:
- Sets the format for the extracted fields (Name, City, Date, Time, Email).
-
Airtable:
- Creates a new record in Airtable with the formatted data.
- Includes columns for Name, City, Email, Time, and Date.
-
Google Sheets:
- Appends the formatted data to a Google Sheet.
- Includes columns for Name, City, Email, Date, and Time.
-
Gmail:
- Sends an email to the provided Email address.
- Subject: "Testing Text Message Delivery"
- Message: Customized message with Name placeholder.
-
Gmail1:
- Sends another email using a different template.
- Subject includes the Date field.
- Similar message content with a different subject line.
Workflow Connections:
- n8n Form Trigger -> Extracting Date and Time Fields -> Format the Fields -> Google Sheets & Airtable -> Gmail
- Google Sheets -> Gmail1
This workflow collects data from a form submission, processes it to extract Date and Time fields, saves the formatted data to Google Sheets and Airtable, and sends customized emails to the submitter.
Links to Node Documentation:
- n8n Form Trigger Documentation
- Code Node Documentation
- Set Node Documentation
- Airtable Node Documentation
- Google Sheets Node Documentation
- Gmail Node Documentation
Troubleshooting
- "Credentials not found": open the node and select your credential again.
- Google "access blocked": in Google Cloud, add your email as a test user on the OAuth consent screen.
- Webhook not firing: copy the node's Production URL (not Test URL) into the other app, and make sure the workflow is Active.
- AI node errors: check your API key has billing enabled and the model name exists on your plan.
- Nothing happens on schedule: the workflow must be Active, and self-hosted n8n must stay running.
Need help?
Reply to your Morning Method order email and we'll help you get it running.
© Morning Method