Skip to main content

Analyze Shopify orders with Gemini AI and send weekly Slack insights

Workflow preview

Workflow preview
100%
Analyze Shopify orders with Gemini AI and send weekly Slack insights preview
Open on n8n.io

1. Workflow Overview

Who is this for E commerce store owners and sales managers who want AI powered insights from their Shopify data without manually crunching numbers every week. What it does This workflow automatical...

Best for

  • Market Research automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.scheduletrigger, n8n-nodes-base.shopify, n8n-nodes-base.code, n8n-nodes-base.httprequest, n8n-nodes-base.set, n8n-nodes-base.slack, n8n-nodes-base.gmail

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Analyze Shopify orders with Gemini AI and send weekly Slack insights
Workflow name
Analyze Shopify orders with Gemini AI and send weekly Slack insights

Who is this for

E-commerce store owners and sales managers who want AI-powered insights from their Shopify data without manually crunching numbers every week.

What it does

This workflow automatically analyzes your Shopify sales performance every Monday morning and delivers intelligent insights via Slack and email. It pulls the last 7 days of orders, calculates key metrics (revenue, order count, average order value), and sends the data to Gemini AI for trend analysis and actionable recommendations.

The AI identifies patterns in your sales data and provides specific suggestions for improving performance. All metrics are logged to Google Sheets for historical tracking, and the team receives instant alerts when revenue drops more than 20% compared to the previous week.

How to set up

  1. Connect your Shopify store with order read permissions
  2. Add your Gemini API key for AI analysis
  3. Set up Slack integration and choose your target channels (#sales and #alerts)
  4. Configure Gmail credentials for stakeholder email reports
  5. Create a Google Sheets document with a "Weekly Metrics" tab for data tracking
  6. Update the email recipients and spreadsheet ID in the respective nodes

Requirements

  • Shopify store with API access
  • Google Gemini API key
  • Slack workspace
  • Gmail account
  • Google Sheets access

How to customize

Adjust the revenue drop threshold in the IF node (default: 20%), modify the schedule frequency, customize Gemini prompts for different analysis types, or add additional Slack channels for department-specific reports.

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 - Overview

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

Block 2 - Data Collection

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

Block 3 - Processing

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

Block 4 - AI Analysis

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

Block 5 - Reporting

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

Block 6 - Weekly Monday Trigger

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

Block 7 - Get Last 7 Days Orders

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

Block 8 - Aggregate Sales Data

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

Block 9 - Gemini Sales Analysis

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

Block 10 - Parse AI Response

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

Block 11 - Post to Slack Channel

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

Block 12 - Email Report to Stakeholders

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

Block 13 - Log Metrics to Google Sheets

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

Block 14 - Check Revenue Drop >20%

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

Block 15 - Send Revenue Drop Alert

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

3. Summary Table

Workflow Analyze Shopify orders with Gemini AI and send weekly Slack insights
Complexity advanced
Nodes 15
Categories Market Research, AI Summarization
Author Oka Hironobu
Published 04 Mar 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/13872/13872.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 Analyze Shopify orders with Gemini AI and send weekly Slack insights do?

Who is this for E commerce store owners and sales managers who want AI powered insights from their Shopify data without manually crunching numbers every week. What it does This workflow automatical...

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 Market Research, AI Summarization use case.