Automate Data from n8n Form to Google Sheets & Airtable

This workflow automates collecting form submissions in n8n by extracting and formatting date and time, then saving data into Google Sheets and Airtable, and finally sending custom emails. It solves slow, error-prone manual data entry from forms, saving hours and improving accuracy.
formTrigger
googleSheets
airtable
+3
Workflow Identifier: 2168
NODES in Use: formTrigger, code, set, airtable, googleSheets, gmail
Automate form data with n8n and Google Sheets

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

What this workflow does

This workflow takes the data from each form submission. It then splits the submission time into date and time. After that, it fixes field names for easy use. Then it adds the data to Google Sheets and Airtable. Finally, it sends two custom emails to the submitted email address. This stops any copying mistakes and saves time.


Who should use this workflow

This workflow is good for someone who gets many online form entries daily. It helps avoid manual entry errors. It also sends auto confirmation emails. You should have basic n8n knowledge and accounts on Google Sheets, Airtable, and Gmail. This suits small business owners or workshop organizers who want less manual work.


Tools and services used

  • n8n Form Trigger: Receives participant data from the form.
  • Code Node: Extracts date and time from submission timestamp.
  • Set Node: Renames fields to uniform database keys.
  • Google Sheets Node: Adds form data as new rows in spreadsheet.
  • Airtable Node: Creates new records in Airtable base and table.
  • Gmail Nodes (2): Sends confirmation emails to participants.

Inputs → Processing → Outputs

Inputs

  • Form submissions with Name, City, Email.
  • Submission timestamp (submittedAt field).

Processing steps

  • Transform timestamp into separated Date and Time.
  • Remove original timestamp field to reduce confusion.
  • Rename user question fields to standard keys: Name, City, Email, Date, and Time.
  • Append formatted data to Google Sheets.
  • Make new records in Airtable with the same data.
  • Send two personalized emails to the participant’s email address.

Outputs

  • New rows in Google Sheets with participant details and date-time.
  • New Airtable records matching form entries.
  • Two different Gmail messages sent to the participant as confirmation.

Beginner step-by-step: How to build and run this workflow in n8n

Import the workflow

  1. Inside the n8n editor, use the Download button to save the workflow file.
  2. Go to your n8n editor dashboard and click “Import from File.”
  3. Select the downloaded workflow file and import it.

Configure before running

  1. Add required credentials for Google Sheets, Airtable, and Gmail nodes (API Keys or OAuth2 as needed).
  2. Update Spreadsheet ID, Sheet name, Airtable Base ID, Table ID if your setup is different.
  3. Check mapped email fields in Gmail nodes to ensure correct recipients.
  4. If Code node content is missing, use this JavaScript to split date/time:
    // Loop over input items and separate date and time into two new fields
    for (const item of $input.all()) {
      const submittedAt = new Date(item.json['submittedAt']);
      const date = submittedAt.toISOString().split('T')[0]; // Extract date
      const time = submittedAt.toISOString().split('T')[1].split('.')[0]; // Extract time
    
      delete item.json['submittedAt'];
    
      item.json['Date'] = date;
      item.json['Time'] = time;
    }
    
    return $input.all();
    

Test and activate

  1. Send a test submission through your form URL to trigger the webhook.
  2. Check Google Sheets and Airtable for new entries.
  3. Confirm you receive the two emails at the submitted address.
  4. When working, toggle the workflow “Active” in n8n to run live.
  5. Optional: For better hosting control, consider self-host n8n on your own server.

Customization ideas

  • Add or modify form fields in the n8n Form Trigger to collect phone numbers or preferences.
  • Change email message text in Gmail nodes for more personalization or include HTML.
  • Insert an IF node after field formatting to filter which data goes to Google Sheets or Airtable.
  • Switch Airtable operation from “Create” to “Update” to avoid duplicate records based on emails.
  • Add a Slack node to send team notifications when new entries come in.

Common edge cases and how to fix failures

Email not sending or wrong recipient

The email field may be mapped wrongly between nodes, causing delivery failure.

Check email references like {{ $json.fields.Email }} or {{ $json.Email }} to match each node output.

Airtable authentication issues

An invalid or expired Personal Access Token causes API failures.

Re-enter the Airtable API Key in n8n credentials to fix this.

Google Sheets data not saving

Wrong Spreadsheet ID or sheet name (gid) will stop appending.

Verify the Spreadsheet ID and Sheet gid in node settings.

Summary of Benefits

✓ Saves time by removing manual copying from form to sheet and database.

✓ Prevents errors from manual data entry.

✓ Automatically sends personalized confirmation emails.

✓ Keeps Google Sheets and Airtable updated with fresh data.

✓ Supports easy customization to fit specific needs.


Automate form data with n8n and Google Sheets

Visit through Desktop to Interact with the Workflow.

Frequently Asked Questions

Check the email address field used in the Gmail node matches the correct data path from Google Sheets or Airtable. Use {{ $json.Email }} or {{ $json.fields.Email }} as needed.
This error means the Airtable Personal Access Token is invalid or expired. Reset the API Key in n8n credentials to fix.
Verify the Spreadsheet ID and sheet name (gid) in the Google Sheets node settings are correct for your sheet.
Download the workflow file, then import it into the n8n editor using ‘Import from File.’ Add needed credentials and update IDs before testing and activating it.

Promoted by BULDRR AI

Related Workflows

Automate Twist Channel Creation and Messaging with n8n

This workflow automates creating and updating a channel in Twist and sending a personalized message to specific users. It eliminates manual setup errors and saves time managing Twist communications.

Automate Ideogram Image Generation with Google Sheets & Gmail

This workflow automates graphic design image generation via Ideogram AI, storing image data in Google Sheets and Google Drive, with email alerts via Gmail. It saves designers hours by automating image creation, remixing, review, and record-keeping.

Automate IT Support with Slack and OpenAI in n8n

Streamline IT support by automating Slack message handling using n8n and OpenAI. This workflow handles Slack DMs, filters bots, queries a Confluence knowledge base, and delivers AI-generated responses, improving support efficiency and response time.

Automate Crypto Analysis with CoinMarketCap & n8n AI Agent

Discover how this unique n8n workflow leverages CoinMarketCap’s multi-agent AI to deliver precise, real-time cryptocurrency insights directly via Telegram. Manage crypto data analysis efficiently with automated multi-source API integration.

Automate Gumroad to Beehiiv Subscriber Sync with n8n

Learn how to automatically add new Gumroad sales customers as Beehiiv newsletter subscribers using n8n automation. This workflow saves time by syncing sales data to Google Sheets CRM and notifying your Telegram channel instantly.

Generate On-Brand Blog Articles Using n8n and OpenAI

This workflow automates the creation of on-brand blog articles by analyzing existing company content using n8n and OpenAI. It extracts article structures and brand voice to produce consistent draft articles, saving significant content creation time.
1:1 Free Strategy Session
Your competitors are already automating. Are you still paying for it manually?

Do you want to adopt AI Automation?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.