Load data into spreadsheet or database
This workflow is a generic example of how to load data from your workflow into a destination that stores tabular data. For example, a Google Sheets or Airtab...
🔌 Nodes & Integrations Used (1)
📖 Implementation & Setup Guide
This workflow is a generic example of how to load data from your workflow into a destination that stores tabular data. For example, a **Google Sheets** or **Airtable** sheet, a **.CSV** file, or any relational database like **MySQL**.
Generally, you need to ensure that you send well-formatted data into the Spreadsheet or Database node. You can use the [Set](https://docs.n8n.io/nodes/n8n-nodes-base.set/#set) or [Function](https://docs.n8n.io/nodes/n8n-nodes-base.function/#function) node to transform data into the correct format for your destination.

Key concepts - Spreadsheets and databases have columns, like "Name" and "Email". The data you send into a Spreadsheet/ Database node needs to match these column names for each row of data that you want to insert. Data points need to be represented as key-value pairs. Specifically, each item of data needs to have a JSON key for each column in the sheet. For a spreadsheet with "Name" and "Email" columns, it would look like: **{"Name" : "Karla", "Email" : "karla@email.com"}**
- Before appending or inserting data to a spreadsheet or database, you might need to transform it into the correct format. You can preprocess the data with a [Set](https://docs.n8n.io/nodes/n8n-nodes-base.set/#set) or [Function](https://docs.n8n.io/nodes/n8n-nodes-base.function/#function) node. The Set node allows you to perform simple transforms when the data you want to load into spreadsheet rows is already represented as items. Use the Function node when you need to map nested data (like arrays) inside a single item to their own top-level items ([Example in community forums](https://community.n8n.io/t/getting-all-items-from-trello-api-call/4567/8)).
- Spreadsheet and database nodes in n8n perform their configured action (like **Append**, **Create Row**, **Write to File**) on each item of input data.
Workflow walkthrough
[](https://www.loom.com/share/eb87068f35a14af095f7b0f020b62211)
⚡ How to import this workflow into n8n:
- Click the Direct Download JSON button above to save
Load data into spreadsheet or database.json. - Log in to your n8n Cloud or self-hosted n8n instance.
- In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
- Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
- Click Execute Workflow to test and switch to Active!
Related Database & SQL Workflows
View All in Database & SQL →Add Netlify form submissions to Airtable
This workflow demonstrates how to use the Netlify Trigger node to capture form submissions and add it Airtable. You can reuse the workflow to add the data to...
Add new contacts from Autopilot to Airtable
This workflow allows you to receive updates when a new contact is added in Autopilot and add them to a base in Airtable. !workflow-screenshot Autopilot Trigg...
Add subscribed customers to Airtable automatically
This workflow allows you to receive updates when a customer is subscribed to a list in GetResponse and add them to a base in Airtable. !workflow-screenshot G...
AI Financial Chart Analyzer Backend
Production-ready n8n automation template for AI Financial Chart Analyzer Backend built by AhiXLight. Seamlessly connects OpenAI with 5 configured nodes.