Skip to main content

Monitor Shopify dispatch SLA breaches with Google Sheets, Slack and Gmail

Workflow preview

Workflow preview
100%
Monitor Shopify dispatch SLA breaches with Google Sheets, Slack and Gmail preview
Open on n8n.io

1. Workflow Overview

Quick overview This workflow is built to monitor your Shopify store every hour and automatically detect open, unfulfilled orders that have gone past your dispatch SLA window. The moment a breach is...

Best for

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

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.set, n8n-nodes-base.shopify, n8n-nodes-base.googlesheets, n8n-nodes-base.code, n8n-nodes-base.slack, n8n-nodes-base.gmail, n8n-nodes-base.errortrigger

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Tricore Infotech Pvt Ltd.

Original n8n.io source

1.1 Workflow description

Title
Monitor Shopify dispatch SLA breaches with Google Sheets, Slack and Gmail
Workflow name
Monitor Shopify dispatch SLA breaches with Google Sheets, Slack and Gmail

Quick overview

This workflow is built to monitor your Shopify store every hour and automatically detect open, unfulfilled orders that have gone past your dispatch SLA window. The moment a breach is detected, alerts go out to Slack and Email instantly, helping your team respond faster, reduce fulfillment delays.

How it works

  1. Hourly Monitoring — The workflow wakes up automatically every hour using the n8n Schedule Trigger.
  2. Fetch Shopify Orders — Pulls up to 250 open, unfulfilled Shopify orders that are older than your configured SLA window.
  3. Smart Deduplication — Loads your Google Sheet breach log and skips any orders that were already reported in a previous run.
  4. Order Processing — Calculates how old each order is, flags VIP orders, and builds your Slack message and email.
  5. Generate Email HTML — A dedicated node builds the full HTML email body from the processed order data.
  6. Instant Notifications — Sends real-time Slack alerts and HTML email notifications for newly breached orders only.
  7. Error Alerts — If any workflow step fails, the global Error Trigger immediately sends the failed node name and error message to Slack.

Setup

  1. Connect Shopify OAuth2 credentials so the workflow can read open orders from your store.
  2. Connect Google Sheets OAuth2 credentials and create a sheet with headers runTimestamp, unfulfilledOrderIds, vipOrderIds, totalOrders, and alertStatus, then paste its URL into googleSheetUrl in the SLA config.
  3. Connect Slack credentials and set slackEscalationChannel to the target channel ID for both breach and error alerts.
  4. Connect Gmail OAuth2 credentials and set recipientMail (and optionally adjust slaHours and vipThreshold) in the SLA config before activating the workflow.

Requirements

  • n8n Version: 2.20 or higher
  • Shopify Store: An active Shopify store with API access
  • Accounts Needed: Shopify, Google Sheets, Gmail, Slack (all OAuth2)
  • Google Sheet: Set up in advance with the 5 required column headers (see Step 2 above)

Customization

  • Check More Often: Change the Schedule Trigger to every 30 minutes for high-volume stores.
  • Paid Orders Only: In the Process & Deduplicate node, add && order.financial_status === 'paid' to the SLA check so only paid orders are flagged.
  • Send to More People: Duplicate the Gmail node and connect both copies to Log Breach to Sheets, or use a distribution email address.
  • Add SMS for Critical Delays: Connect a Twilio node to send a text message for orders breaching 120+ hours.

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 - Zone 3

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

Block 2 - Set SLA Config

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

Block 3 - Fetch Unfulfilled Orders

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

Block 4 - Read Previous Sheet Logs

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

Block 5 - Process & Deduplicate

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

Block 6 - Log Breach to Sheets

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

Block 7 - Slack - Post Alert

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

Block 8 - Email SLA Breach Alert

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 9 - Global Error Trigger

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

Block 10 - Slack - Error Alert

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

Block 11 - Template Overview1

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

Block 12 - Zone

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

Block 13 - Zone 7

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

Block 14 - Zone 8

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

Block 15 - Zone 5

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

Block 16 - Hourly SLA Trigger

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

Block 17 - Generate Email HTML

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

Block 18 - Sticky Note

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

3. Summary Table

Workflow Monitor Shopify dispatch SLA breaches with Google Sheets, Slack and Gmail
Complexity advanced
Nodes 18
Categories CRM
Author Tricore Infotech Pvt Ltd
Published 25 May 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/15941/15941.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 Monitor Shopify dispatch SLA breaches with Google Sheets, Slack and Gmail do?

Quick overview This workflow is built to monitor your Shopify store every hour and automatically detect open, unfulfilled orders that have gone past your dispatch SLA window. The moment a breach is...

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.