Automate JSON Data Import to Google Sheets with n8n

This workflow solves the tedious task of manually transferring JSON data into Google Sheets by automating the process. It reads a JSON file, processes the binary data, and appends it seamlessly to a specified Google Sheet, saving time and reducing errors.
readBinaryFile
moveBinaryData
googleSheets
Workflow Identifier: 2419
NODES in Use: Read Binary File, Move Binary Data, Google Sheets

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

Learn how to Build this Workflow with AI:

Visit through Desktop for Best experience

What this workflow does

This workflow in n8n reads user data from a JSON file and adds that data directly into a Google Sheets spreadsheet.

It helps users stop manually copying data, which takes time and causes mistakes.

The final result is fast, reliable importing of JSON data into Google Sheets, saving hours and reducing errors.


Who should use this workflow

Anyone needing to move user or other structured data from JSON files into Google Sheets regularly will benefit.

It suits data analysts or teams tired of manual copy-pasting and looking for simple automation inside n8n.


Tools and services used

  • n8n platform: For creating and running the workflow.
  • Read Binary File node: To read JSON file data from disk.
  • Move Binary Data node: To prepare binary data into the main stream.
  • Google Sheets node: To append rows to a specific spreadsheet using OAuth2 authentication.
  • Google Sheets OAuth2 credentials: For secure access to spreadsheet data.

Inputs, process, and outputs explained

Inputs

  • A JSON file stored at a set file path (example: /username/users_spreadsheet.json) containing user data.
  • Google Sheets spreadsheet ID and range where data should be appended (example range: A:C).
  • OAuth2 credentials for Google Sheets API access.

Processing steps

  • Read Binary File node reads the JSON file as binary data.
  • Move Binary Data node moves binary data to the main data stream so later nodes can access it.
  • The JSON data is parsed and formatted inside the Google Sheets node before appending.
  • Google Sheets node appends the structured data to the specified spreadsheet and range using secure OAuth2.

Outputs

  • The user data appears as new rows in Google Sheets at the chosen range.
  • The workflow confirms successful addition or shows errors if any processing fails.

Beginner step-by-step: How to use this workflow in n8n

Importing the workflow

  1. Download the workflow file using the Download button on this page.
  2. Open your n8n editor.
  3. Click the top-left menu, choose “Import from File”, and select the downloaded workflow file.

Configuring after import

  1. Add Google Sheets OAuth2 credentials in the Credentials tab if not already set up.
  2. In the Read Binary File node, update the filePath to match your JSON file location.
  3. In the Google Sheets node, enter the correct sheetId and range where data should append in your spreadsheet.

Testing and Activating

  1. Run the workflow once manually to check if the JSON data goes into Google Sheets.
  2. If it works, enable the workflow by clicking the “Active” toggle in the top right for production use.
  3. Optionally, set a Cron node trigger before the Read Binary File node for running it automatically at intervals.

For users running n8n on their own server, refer to self-host n8n resources to schedule or monitor workflow operations.


Possible problems and solutions

File not found error: Check the JSON file path is perfectly correct. Make sure n8n can read the folder and file.

Google Sheets authentication error: Check the OAuth2 credentials setup in n8n. Reauthorize if expired.

No data appended: Ensure the JSON structure matches the columns expected. Add a Function node before the Google Sheets node to adjust data formatting if needed.


Customizations

  • Change the filePath in the Read Binary File node to use another JSON file.
  • Adjust the range in the Google Sheets node to append data to other columns or sheets.
  • Add a Function node after Move Binary Data to clean or transform JSON data before appending.
  • Use a Cron node at the start to automate running this workflow regularly without manual start.

Summary of results

✓ Eliminates manual copying of JSON data to Google Sheets.

✓ Saves several hours a week in data handling.

✓ Reduces errors from human input mistakes.

→ Data from JSON files is added directly and securely as new rows in Google Sheets.

→ Users get fast, consistent data updates with little effort.


Promoted by BULDRR AI

Related Workflows

Automate Viral UGC Video Creation Using n8n + Degaus (Beginner-Friendly Guide)

Learn how to automate viral UGC video creation using n8n, AI prompts, and Degaus. This beginner-friendly guide shows how to import, configure, and run the workflow without technical complexity.
Form Trigger
Google Sheets
Gmail
+37
Free

AI SEO Blog Writer Automation Workflows in n8n

A complete beginner guide to building an AI SEO blog writer automation using n8n.
AI Agent
Google Sheets
httpRequest
+5
Free

Automate CrowdStrike Alerts with VirusTotal, Jira & Slack

This workflow automates processing of CrowdStrike detections by enriching threat data via VirusTotal, creating Jira tickets for incident tracking, and notifying teams on Slack for quick response. Save hours daily by transforming complex threat data into actionable alerts effortlessly.
scheduleTrigger
httpRequest
jira
+5
Free

Automate Telegram Invoices to Notion with AI Summaries & Reports

Save hours on financial tracking by automating invoice extraction from Telegram photos to Notion using Google Gemini AI. This workflow extracts data, records transactions, and generates detailed spending reports with charts sent on schedule via Telegram.
lmChatGoogleGemini
telegramTrigger
notion
+9
Free

Automate Email Replies with n8n and AI-Powered Summarization

Save hours managing your inbox with this n8n workflow that uses IMAP email triggers, AI summarization, and vector search to draft concise replies requiring minimal review. Automate business email processing efficiently with AI guidance and Gmail integration.
emailReadImap
vectorStoreQdrant
emailSend
+12
Free

Automate Email Campaigns Using n8n with Gmail & Google Sheets

This n8n workflow automates personalized email outreach campaigns by integrating Gmail and Google Sheets, saving hours of manual follow-up work and reducing errors in email sequences. It ensures timely follow-ups based on previous email interactions, optimizing communication efficiency.
googleSheets
gmail
code
+5
Free