Send weekly back in stock demand reports with Shopware and Gmail
UnknownWhat this workflow does
This workflow has 9 nodes and runs on a schedule (every week at 08:00). Along the way it connects Gmail and Novastrix Shopware (community).
How it runs
Trigger: On a schedule (every week at 08:00).
- Configuration (Edit Fields (Set)): sets 3 fields: reportRecipient, topProducts, retryFailedNotifications
- Get Waiting Demand (Shopware): get demand (back in stock)
- Get Recovered Revenue (Shopware): get revenue (back in stock)
- Get Failed Notifications (Shopware): get failed (back in stock)
- Build Report (Code): runs custom JavaScript code
- Should Retry? (If): checks a condition and branches into true / false
- Email Report (Gmail): uses Gmail
- Retry Failed Notification (Shopware): retry failed (back in stock)
Services it uses
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that n8n-nodes-novastrix-shopware is verified or supports 3.0 (used in Get Waiting Demand, Get Recovered Revenue, Get Failed Notifications).
Nodes used (6)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Shopware
n8n-nodes-novastrix-shopware.shopware - Code
n8n-nodes-base.code - Gmail
n8n-nodes-base.gmail - If
n8n-nodes-base.if
From the author
Quick overview This workflow runs every Monday to pull Back in Stock demand, recovered revenue, and failed notification data from a Shopware store (Novastrix Back in Stock plugin) and sends a weekly HTML summary email via Gmail, with an optional step to retry…