Refresh slow-selling Shopify product photos with Dreem.ai and Slack
UnknownWhat this workflow does
This workflow has 11 nodes and runs on a schedule (cron 0 9 1 * *). Along the way it connects Shopify, Slack and Dreem (community).
How it runs
Trigger: On a schedule (cron 0 9 1 * *).
- Fetch Recent Orders from Shopify (Shopify): get many
- Retrieve Product List (Shopify): get many (product)
- Identify Slow Selling Products (Code): runs custom JavaScript code
- Batch Process Products (Loop Over Items (Split in Batches)): loops over the items in batches
- Notify Refresh Completion (Slack): uses Slack
- Generate New Product Images (Dreem): uses Dreem
- Wait: pauses until webhook
- Check Rendering Completion (If): checks a condition and branches into true / false
- Update Product Photos on Shopify (Shopify): update (product)
- Notify Skipped Product Update (Slack): uses Slack
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-dreem is verified or supports 3.0 (used in Generate New Product Images).
Nodes used (8)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Shopify
n8n-nodes-base.shopify - Code
n8n-nodes-base.code - Slack
n8n-nodes-base.slack - Dreem
n8n-nodes-dreem.dreem - Wait
n8n-nodes-base.wait - If
n8n-nodes-base.if - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches
From the author
Quick overview This workflow runs monthly to identify slow-selling Shopify products with no sales in the last 30 days, generates fresh on-model product imagery using Dreem.ai, appends the new photos to the products in Shopify, and posts status updates to…