Skip to main content

Send weekly WooCommerce sales KPIs to Slack and Google Sheets

Workflow preview

Workflow preview
100%
Send weekly WooCommerce sales KPIs to Slack and Google Sheets preview
Open on n8n.io

1. Workflow Overview

WooCommerce Weekly Sales KPI Reporting to Slack & Google Sheets This workflow automatically generates a weekly sales performance report from WooCommerce and shares it with your team. It runs on a w...

Best for

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

Tools used

n8n-nodes-base.set, n8n-nodes-base.scheduletrigger, n8n-nodes-base.code, n8n-nodes-base.httprequest, n8n-nodes-base.merge, n8n-nodes-base.slack, n8n-nodes-base.googlesheets, n8n-nodes-base.stickynote

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Send weekly WooCommerce sales KPIs to Slack and Google Sheets
Workflow name
Send weekly WooCommerce sales KPIs to Slack and Google Sheets

WooCommerce Weekly Sales KPI Reporting to Slack & Google Sheets

This workflow automatically generates a weekly sales performance report from WooCommerce and shares it with your team. It runs on a weekly schedule, fetches last week’s orders and refunds, calculates key sales KPIs, stores the results in Google Sheets and sends a summarized report to a Slack channel.

Quick Implementation Steps (Get Started Fast)

  1. Connect WooCommerce, Slack and Google Sheets credentials in n8n.
  2. Update the WooCommerce store domain in the Configure WooCommerce Store node.
  3. Review the Slack channel and Google Sheet settings.
  4. Activate the workflow.

That’s it — your weekly sales KPIs will now be generated and shared automatically.

What It Does

This workflow helps you track and share weekly WooCommerce performance without manual effort. It automatically calculates key sales metrics such as total orders, total revenue, average order value, refunds and top-performing products based on the previous week’s data.

The workflow begins on a weekly schedule and determines the exact date range for the last completed week. Using this date range, it pulls sales orders and refund data from WooCommerce through HTTP requests. Multiple calculations are then performed to generate meaningful KPIs that are useful for both operational and leadership-level reporting.

Once the KPIs are calculated, the workflow consolidates them into a clean report format. The data is saved in Google Sheets for long-term tracking and a readable summary is sent to a Slack channel so stakeholders can quickly review weekly performance.

Who’s It For

  • E-commerce store owners using WooCommerce
  • Operations and sales teams tracking weekly performance
  • Business managers who want automated KPI reporting
  • Teams using Slack and Google Sheets for collaboration and reporting

Requirements to Use This Workflow

  • An active WooCommerce store with REST API access
  • WooCommerce Consumer Key and Secret (Basic Auth)
  • An n8n instance with scheduled workflows enabled
  • A Slack workspace with permission to post messages
  • A Google Sheets account with access to the target spreadsheet

How the Workflow Works

  1. Weekly Schedule Trigger The workflow runs once per week. The exact day and time are configurable.

  2. Calculate Last Week’s Date Range A Code node calculates the start and end dates of the previous week.

  3. Configure WooCommerce Store The WooCommerce store domain is defined once and reused across API requests.

  4. Fetch Weekly Data from WooCommerce

  • Orders with completed and processing status
  • Refund data for the same date range
  1. Calculate KPIs Separate Code nodes calculate:
  • Total orders and total revenue
  • Average order value
  • Refund count and refund amount
  • Top products based on revenue
  1. Merge KPI Results All calculated KPIs are combined into a single dataset.

  2. Prepare Final KPI Report Fields Only required, clean fields are retained for reporting.

  3. Store Data in Google Sheets Each workflow run appends one new row with weekly KPI data.

  4. Send Weekly Report to Slack A formatted summary is posted to the selected Slack channel.

Setup Instructions

  • Update the WooCommerce domain in the Configure WooCommerce Store node.
  • Verify WooCommerce API credentials in all HTTP Request nodes.
  • Select the desired Slack channel in the Slack node.
  • Confirm the target Google Sheet and worksheet.
  • Adjust the weekly schedule if needed.
  • Activate the workflow.

How To Customize Nodes

  • Weekly Sales KPI Trigger Change the day or time to run the workflow at any point during the week.

  • Configure WooCommerce Store Update the domain if you move to a different store or environment.

  • HTTP Request Nodes Modify order statuses or add filters as needed.

  • KPI Calculation Code Nodes Add new metrics or adjust existing calculations.

  • Slack Node Send reports to a different channel or workspace.

  • Google Sheets Node Store data in another sheet or spreadsheet.

Add-ons (Additional Features)

  • Monthly or daily KPI reporting
  • Email-based KPI reports
  • Separate reports for different WooCommerce stores
  • Alerting when revenue drops below a threshold
  • Dashboard integration using BI tools

Use Case Examples

  • Weekly sales performance review for management
  • Tracking revenue and refunds trends over time
  • Sharing automated reports with remote teams
  • Maintaining a historical KPI log in Google Sheets
  • Supporting business decisions with consistent weekly data

There can be many more use cases depending on how this workflow is customized or extended.

Troubleshooting Guide

Issue Possible Cause Solution
No data in Slack Workflow not active Activate the workflow
Empty KPIs No orders in the selected week Verify WooCommerce data
Incorrect dates Schedule misconfiguration Review trigger timing
Google Sheets not updating Permission issue Reconnect Google Sheets credentials
WooCommerce API error Invalid credentials Check Consumer Key and Secret

Need Help?

If you need help setting up this workflow, customizing KPIs or building advanced reporting automation, our n8n workflow developers at WeblineIndia are here to help.

Our team has strong expertise in n8n workflow automation, WooCommerce integrations and business intelligence reporting. Whether you want to extend this workflow or build a similar solution tailored to your business needs, feel free to reach out to WeblineIndia for expert support.

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 - Configure WooCommerce Store

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 2 - Weekly Sales KPI Trigger

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

Block 3 - Calculate Last Week Date Range

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

Block 4 - Get Weekly Orders (Sales Data)

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

Block 5 - Calculate Order & Revenue KPIs

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

Block 6 - Calculate Refund KPIs

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

Block 7 - Calculate Top Products by Revenue

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

Block 8 - Merge Weekly KPI Results

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 9 - Send Weekly KPI Report to Slack

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.3

Block 10 - Prepare Final KPI Report Fields

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 11 - Store Weekly KPIs in Google Sheets

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

Block 12 - Sticky Note

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

Block 13 - Sticky Note1

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

Block 14 - Sticky Note2

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

Block 15 - Sticky Note3

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

Block 16 - Get Weekly Top Products

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

Block 17 - Get Weekly Refunds

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

Block 18 - Sticky Note4

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

3. Summary Table

Workflow Send weekly WooCommerce sales KPIs to Slack and Google Sheets
Complexity advanced
Nodes 18
Categories CRM
Author WeblineIndia
Published 10 Feb 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/13281/13281.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 Send weekly WooCommerce sales KPIs to Slack and Google Sheets do?

WooCommerce Weekly Sales KPI Reporting to Slack & Google Sheets This workflow automatically generates a weekly sales performance report from WooCommerce and shares it with your team. It runs on a w...

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.