Automate Print-on-Demand Product Mockups with SudoMock API
UnknownWhat this workflow does
This workflow has 14 nodes and runs on a schedule (every day). Along the way it connects Google Drive and Sudomock (community).
How it runs
Trigger: On a schedule (every day).
- Workflow Settings (Edit Fields (Set)): sets or maps fields
- List design files (Google Drive): work with file folder
- List SudoMock templates (Sudo Mock): list mockups
- Prepare public design URLs (Code): runs custom JavaScript code
- Prepare product templates (Code): runs custom JavaScript code
- Create design and template pairs (Merge): merges the data from its input branches
- Loop through pairs (Loop Over Items (Split in Batches)): loops over the items in batches
- Prepare CSV rows (Code): runs custom JavaScript code
- Render product mockup (Sudo Mock): uses Sudo Mock
- Convert results to CSV (Convert to File): converts data to a file
…plus 3 more steps. See the full node list below.
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-sudomock is verified or supports 3.0 (used in List SudoMock templates, Render product mockup).
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (9)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - Google Drive
n8n-nodes-base.googleDrive - Sudo Mock
n8n-nodes-sudomock.sudoMock - Code
n8n-nodes-base.code - Merge
n8n-nodes-base.merge - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Convert to File
n8n-nodes-base.convertToFile - Send Email
n8n-nodes-base.emailSend
From the author
Automatically generate product mockups for every design across multiple products (t-shirts, mugs, posters, phone cases) for print-on-demand sellers. Perfect for Etsy, Redbubble, Printful, and Shopify merchants who need to create hundreds of mockups for…