Automatically send weekly sales reports from Square via Outlook
Ready for 3.0What this workflow does
This workflow has 9 nodes and runs on a schedule (every week at 08:00). Along the way it connects Microsoft Outlook. It also calls connect.squareup.com over HTTP.
How it runs
Trigger: On a schedule (every week at 08:00).
- Get Dates From Last Week (Code): runs custom JavaScript code
- 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
- Convert Sales Summary to CSV File (Convert to File): converts data to a file
- Send Report (Microsoft Outlook): uses Microsoft Outlook
Services it uses
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.
Nodes used (7)
- HTTP Request
n8n-nodes-base.httpRequest - Split Out
n8n-nodes-base.splitOut - If
n8n-nodes-base.if - Code
n8n-nodes-base.code - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Convert to File
n8n-nodes-base.convertToFile - Microsoft Outlook
n8n-nodes-base.microsoftOutlook
From the author
Automatically Send Weekly Sales Reports from Square via Outlook What It Does This workflow automatically connects to the Square API and generates a weekly sales summary report for all your Square locations. The report matches the figures displayed in Square…