Automation library · E-commerce

Automate print-on-demand: design to Shopify with OpenAI

Started by an event in a connected app, and works across Shopify and Slack. It hands the judgement calls to OpenAI. 15 steps, 1 branch, 1 loop or waits: a working afternoon to understand properly.

MediumCalls a model: OpenAI

15 stepsMedium: a working afternoon
1Branch: places the flow splits
1Loop or waits
2Services it connects to

The flow

Starts it 1Model 2Logic 4Service 8

The steps in the order they run, from what starts it.

  1. 1Google Drive Trigger - Design Upload1Google Drive triggerStarts it
  2. 2Workflow Configuration1SetLogic
  3. 3OpenAI Vision - Design Analysis1Open AiModel
  4. 4Remove.bg - Background Removal1Http RequestService
  5. 5Cloudinary - Upload Design1Http RequestService
  6. 6Code - Generate Mockup URLs1CodeLogic
  7. 7OpenAI - SEO Copywriting1Open AiModel
  8. 8Shopify - Create Draft Product1ShopifyService
  9. 9Slack - Approval Request1SlackService
  10. 10Wait - For Approval1WaitLogic
  11. 11Switch - Approval Decision1SwitchLogic
  12. 12Shopify - Publish Product1ShopifyService
  13. 13Slack - Rejection Notice1SlackService
  14. 14Instagram - Post Product1Http RequestService
  15. 15Pinterest - Create Pin1Http RequestService

How it's built

Starts on
An event in a connected app
Steps
15, with 1 branch, 1 loop or waits
Size
Medium: a working afternoon
Connects to
Shopify, Slack
Model
OpenAI

Questions

What does it need to run?

An n8n account, plus your own Shopify and Slack accounts, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an event in a connected app.

Does it use AI?

Yes. It calls OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 15 steps is enough that you should read each one before running it.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

Before you run it

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 15 steps before you point it at anything that matters.