Skip to main content

Automatically import Square sales summary reports into Google Sheets

Workflow preview

Workflow preview
100%
Automatically import Square sales summary reports into Google Sheets preview
Open on n8n.io

Important notice

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

1. Workflow Overview

What It Does This workflow automatically connects to the Square API and generates a daily sales summary report for all your Square locations. The report matches the figures displayed in Square Dash...

Best for

  • CRM automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.httprequest, n8n-nodes-base.splitout, n8n-nodes-base.if, n8n-nodes-base.code, n8n-nodes-base.stickynote, n8n-nodes-base.scheduletrigger, n8n-nodes-base.googlesheets

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Automatically import Square sales summary reports into Google Sheets
Workflow name
Automatically import Square sales summary reports into Google Sheets

What It Does

This workflow automatically connects to the Square API and generates a daily sales summary report for all your Square locations. The report matches the figures displayed in Square Dashboard > Reports > Sales Summary.

It's designed to run daily and pull the previous day's sales into a Google Sheet for easy analysis and reporting.

This workflow builds on my previous template, which allows users to automatically pull data from the Square API into N8N for processing. (See here: https://n8n.io/workflows/6358)

Prerequisites

To use this workflow, you'll need:

  • A Square API credential (configured as a Header Auth credential)
  • A Google Sheets credential

How to Set Up Square Credentials:

  • Go to Credentials > Create New
  • Choose Header Auth
  • Set the Name to "Authorization"
  • Set the Value to your Square Access Token (e.g., Bearer <your-api-key>)

How It Works

  • Trigger – The workflow runs daily at 4:00 AM
  • Fetch Locations – An HTTP request retrieves all Square locations linked to your account
  • Fetch Orders – For each location, an HTTP request pulls completed orders for the specified report_date
  • Filter Empty Locations – Locations with no sales are ignored
  • Aggregate Sales Data – A Code node processes the order data and produces a summary identical to Square’s Sales Summary report
  • Append to Google Sheets – The data will automatically be appended to an existing Google sheet

Example Use Cases

  • Automatically store daily sales data in Google Sheets for analysis and historical tracking
  • Automatically create charts or visualizations from the imported data
  • Build weekly/monthly reports after running for multiple days
  • Quickly calculate commissions or rent payments based on sales volume

How to Use

  • Configure both HTTP Request nodes to use your Square API credential
  • Set the workflow to Active so it runs automatically
  • Select the Google Sheet you want to import data into, and map the data to your columns

Customization Options

  • Add pagination to handle locations with more than 1,000 orders per day
  • Expand the workflow to save or send the report output via other integrations (email, database, webhook, etc.)

Why It's Useful

This workflow saves time, reduces manual report pulling from Square, and enables smarter automation around sales data—whether for operations, finance, or performance monitoring.

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 - Get Square Locations

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 2 - Turn Locations Into List

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

Block 3 - Ignore Locations w/o Sales

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 4 - Get Sales from Square

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 5 - Compile Sales Reports

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 6 - Sticky Note

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

Block 7 - Sticky Note1

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

Block 8 - Sticky Note2

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

Block 9 - Sticky Note3

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

Block 10 - Sticky Note4

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

Block 11 - Schedule Trigger

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

Block 12 - Sticky Note5

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

Block 13 - Upload Sales to Google Sheets

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

Block 14 - Sticky Note6

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

3. Summary Table

Workflow Automatically import Square sales summary reports into Google Sheets
Complexity intermediate
Nodes 14
Categories CRM
Author Rosh Ragel
Published 25 Jul 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/6456/6456.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 Automatically import Square sales summary reports into Google Sheets do?

What It Does This workflow automatically connects to the Square API and generates a daily sales summary report for all your Square locations. The report matches the figures displayed in Square Dash...

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 CRM use case.