๐Ÿค Send a daily WooCommerce sales snapshot to Slack with Google Sheets logging

โšก 31 views ยท ๐Ÿค CRM & Sales Operations

Description

Daily WooCommerce Sales Snapshot to Slack with Google Sheets Logging

This workflow automatically collects WooCommerce sales data every day, calculates key sales metrics, sends a clean summary to Slack and logs the same data into Google Sheets for historical tracking. It helps teams stay informed about daily performance without manually checking dashboards or reports.

Quick Implementation Steps (Get Started Fast)

  1. Import the workflow JSON into n8n.
  2. Connect your WooCommerce, Slack and Google Sheets credentials.
  3. Verify the Slack channel and Google Sheet selection.
  4. Activate the workflow.
  5. Receive daily sales updates automatically.

What It Does

This workflow runs on a daily schedule and fetches all recent orders from a WooCommerce store. It filters the orders to include only paid ones (Processing and Completed) and further narrows them down to those created within the last 24 hours.

Using separate Code nodes, the workflow calculates essential sales metrics such as total revenue, number of orders, average order value (AOV) and the top-selling products. These metrics are merged into a single structured object for consistent downstream use.

Finally, the workflow sends a formatted sales summary to a Slack channel for quick visibility and appends the same data as a row in Google Sheets. This creates a reliable daily log that can be used for trend analysis and reporting.

Whoโ€™s It For

Requirements to Use This Workflow

How It Works

  1. A Schedule Trigger runs the workflow once per day.
  2. Orders are fetched from WooCommerce.
  3. Only paid orders (Processing / Completed) are considered.
  4. Orders from the last 24 hours are filtered.
  5. Sales metrics are calculated:
    • Total Revenue
    • Order Count
    • Average Order Value (AOV)
    • Top Selling Products
  6. Metrics are merged into a single object.
  7. A formatted summary is:
    • Sent to Slack
    • Appended or updated in Google Sheets

How To Set Up

  1. Configure the Schedule Trigger time.
  2. Add WooCommerce credentials.
  3. Review paid order filtering logic.
  4. Select Slack channel.
  5. Select Google Sheet and worksheet.
  6. Test the workflow.
  7. Activate it.

How To Customize Nodes

Add-ons (Optional Enhancements)

Use Case Examples

Many more variations are possible depending on business needs.

Troubleshooting Guide

IssuePossible CauseSolution
Slack message not receivedSlack credentials or channel issueVerify Slack API and channel
Google Sheet not updatingIncorrect sheet or mappingRecheck sheet selection
Orders missingOrder status filter too strictUpdate filter conditions
Revenue incorrectTime filter issueVerify last 24-hour logic
Workflow not runningWorkflow inactiveActivate workflow

Need Help?

If you need help setting up, customizing or extending this workflow, our n8n automation experts at WeblineIndia can assist.

We specialize in:

Contact WeblineIndia to build reliable and scalable automation tailored to your business.

๐Ÿ”— Nodes Used

Google Sheets, Slack, WooCommerce, Schedule Trigger, Filter

๐Ÿ“ฅ Import

Download workflow.json and import into n8n: Workflow menu โ†’ Import from File

๐Ÿ“– Importing guide ยท ๐Ÿ”‘ Credential setup