🤝 Pull Square sales summary reports for automated reporting and analysis

⚡ 374 views · 🤝 CRM & Sales Operations

Description

Programatically Pull Square Report Data Into N8N

What It Does

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

It’s designed to be reused in other workflows, ideal for reporting, data storage, accounting, or automation.

Prerequisites

To use this workflow, you’ll need:

How to Set Up Square Credentials:

How It Works

  1. Trigger: The workflow is triggered as a sub-workflow, requiring a report_date input.
  2. Fetch Locations: An HTTP request gets all Square locations linked to your account.
  3. Fetch Orders: For each location, an HTTP request pulls completed orders for the specified report_date.
  4. Filter Empty Locations: Locations with no sales are ignored.
  5. Aggregate Sales Data: A Code node processes the order data and produces a summary identical to Square’s built-in Sales Summary report.
  6. Output: A cleaned, consistent summary that can be consumed by parent workflows or other nodes.

Example Use Cases

How to Use

Customization Options

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.

đź”— Nodes Used

HTTP Request, Execute Workflow Trigger

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup