Skip to main content

Add new incoming emails to a Google Sheets spreadsheet as a new row

Workflow preview

Workflow preview
100%
Add new incoming emails to a Google Sheets spreadsheet as a new row preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

This n8n workflow automates the process of capturing and storing incoming email details in a structured spreadsheet format, such as Google Sheets or Excel. Whenever a new email is received, the wor...

Best for

  • Document Extraction automation workflows
  • beginner n8n builders looking for reusable templates

Tools used

n8n-nodes-base.gmailtrigger, n8n-nodes-base.googlesheets, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by WeblineIndia.

Original n8n.io source

1.1 Workflow description

Title
Add new incoming emails to a Google Sheets spreadsheet as a new row
Workflow name
Add new incoming emails to a Google Sheets spreadsheet as a new row

This n8n workflow automates the process of capturing and storing incoming email details in a structured spreadsheet format, such as Google Sheets or Excel. Whenever a new email is received, the workflow extracts key details—including the sender’s email, subject, email body, and optional attachments—and logs them as a new row in the spreadsheet.

You can customise this workflow to extract additional details, filter emails based on specific criteria, or send notifications when new entries are added.

Pre-conditions & Requirements

Before setting up this workflow, ensure that:

  • You have access to the email provider (e.g., Gmail, Outlook, or IMAP-supported email services).
  • The Gmail Node must be enabled in n8n.
  • You must authenticate n8n with Google OAuth2 to access your inbox.
  • Ensure that the Gmail API is enabled in the Google Cloud Console.
  • You have an existing Google Sheet where data will be stored.
  • The Google Sheets API is enabled.
  • You authenticate n8n with your Google account.

Steps

Step 1: Add the Gmail Trigger Node

  • Click on "Add Node" and search for "Gmail".
  • Select "Gmail Trigger" and click to add it.
  • Under Authentication, click "Create New" and authenticate with your Google account. (If you have already connected your Google account, simply select it.)
  • In the Trigger Event field, select "Message Received".
  • Under Filters, you can specify:
    • Label/Mailbox: If you want to listen to emails from a specific folder (optional).
    • From Address: If you only want to receive emails from specific senders (optional).
  • Click "Execute Node" to test the connection.
  • Click "Save".

What This Does: This node listens for new incoming emails in your Gmail inbox.

Step 2: Store Email Data in Google Sheets

  • Click on "Add Node" and search for "Google Sheets" (or Microsoft Excel, if applicable)
  • Under Authentication, connect your Google account
  • Select the target Spreadsheet and Sheet Name where the data will be stored
  • Set the Operation to "Append Row"
  • Map the extracted email data to the correct columns.
  • Click "Execute Node" to test and verify data storage
  • Click "Save"

What This Does: This node automatically adds a new row for each incoming email, ensuring a structured and searchable email log.

Final Step

Attach both node and execute the workflow.

Who’s behind this?

WeblineIndia’s AI development team.

We've delivered 3500+ software projects across 25+ countries since 1999. From no-code automations to complex AI systems — our AI team builds tools that drive results.

Looking to hire AI developers? Start with us.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Gmail Trigger

Type / Role
n8n-nodes-base.gmailTrigger - gmailTrigger
Config choices
Version 1.2

Block 2 - Google Sheets

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 3 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Add new incoming emails to a Google Sheets spreadsheet as a new row
Complexity beginner
Nodes 4
Categories Document Extraction
Author WeblineIndia
Published 25 Mar 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/3319/3319.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Add new incoming emails to a Google Sheets spreadsheet as a new row do?

This n8n workflow automates the process of capturing and storing incoming email details in a structured spreadsheet format, such as Google Sheets or Excel. Whenever a new email is received, the wor...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Document Extraction use case.