Pull Square sales summary reports for automated reporting and analysis
Ready for 3.0What this workflow does
This workflow has 6 nodes and runs when another workflow calls it. It uses only n8n's built-in nodes. It also calls connect.squareup.com over HTTP.
How it runs
Trigger: When another workflow calls it.
- Get Square Locations (HTTP Request): calls connect.squareup.com
- Turn Locations Into List (Split Out): splits a list into separate items
- Get Sales from Square (HTTP Request): calls connect.squareup.com (POST)
- Ignore Locations w/o Sales (If): checks a condition and branches into true / false
- Compile Sales Reports (Code): runs custom JavaScript code
HTTP calls to: connect.squareup.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (5)
- HTTP Request
n8n-nodes-base.httpRequest - Split Out
n8n-nodes-base.splitOut - If
n8n-nodes-base.if - Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - Code
n8n-nodes-base.code
From the author
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 >…