# Daily sales summary → Slack

Posts a daily paid-orders count and revenue summary to a Slack channel on a recurring schedule.

Canonical URL: https://templates.jsworkflows.com/templates/daily-sales-summary-to-slack/

## When to use this template

This template is built for Shopify stores using the JsWorkflows app.

Use this template when you want a ready-made workflow for this use case: Posts a daily paid-orders count and revenue summary to a Slack channel on a recurring schedule.

It is designed for Shopify notification workflows and gives you a production-ready starting point instead of building the automation from scratch. It can work with Slack as part of the workflow.

This workflow uses the scheduled trigger model and starts from the "Daily schedule" trigger. It includes setup fields for merchant-facing values, so you can configure the workflow before installing it.

## Metadata

- Category: Notifications
- Trigger: Daily schedule
- Workflow type: Scheduled
- Complexity: medium
- Usage class: starter-friendly

## Connected services

- slack

## Additional Shopify scopes

- read_orders

## Setup fields

- Slack OAuth handle (`OAUTH_HANDLE`)
  - Type: text
  - Storage: config
  - Required: yes
  - Description: OAuth handle for the Slack connection used to post the summary message.
- Slack channel ID (`SLACK_CHANNEL`)
  - Type: text
  - Storage: config
  - Required: yes
  - Description: Target Slack channel ID to post the summary into, for example C12345678.
- Report window hours (`REPORT_WINDOW_HOURS`)
  - Type: number
  - Storage: config
  - Required: yes
  - Description: How many trailing hours of paid orders each run should summarize.

## Setup guide

## Before you start

This template runs on a schedule and posts a paid-orders summary into Slack using a saved Slack OAuth connector.

## How it works

- It looks back over the configured reporting window
- It loads all paid orders created during that period
- It totals order count and revenue in shop currency
- It posts a single summary message to the target Slack channel

## Configure in setup

- `Slack OAuth handle`: connector handle for the Slack connection used to post the message
- `Slack channel ID`: target Slack channel ID, for example `C12345678`
- `Report window hours`: how many hours of order activity each run should summarize

## Notes

- Use a private channel only if the Slack app has already been invited to that channel
- Set your preferred schedule start time and timezone when saving

