(title/desc/ canonical/OG/JSON-LD/dreem-slug) and the body copy. The download link href AND the embed both point at ./.json — one file, single source of truth. 3. Add a card to src/tools/n8n-workflows.html (+ its ItemList JSON-LD entry). 4. pnpm qa before shipping. Track G: SoftwareApplication + BreadcrumbList + FAQPage. --> Post-Purchase Outfit Pairings for Shopify in n8n | Dreem

n8n workflow template

One order in, a styled pairing out

A ready-made n8n workflow that reacts to every Shopify order: the purchased item and your newest arrival, rendered styled together on one virtual model with Dreem — the "goes with what you just bought" image, generated per customer, reviewed in Slack.

Free template · Paste it straight onto your n8n canvas

Shopify n8n Dreem

Look inside

The workflow, node by node

This is the exact workflow you download — pan around it, read the setup notes, then grab the JSON.

The template

What this workflow does

The best upsell email shows the customer their own purchase styled with something new — but nobody can shoot per-order imagery. Dreem can render it. On every order, this template takes the purchased item, pairs it with your newest arrival, and generates one look: the new piece as the main garment, the customer's purchase styled into the outfit.

  1. Trigger — a Shopify webhook fires on every new order and picks up the purchased item.
  2. Pick the pair — the workflow pulls your catalog's newest arrival as the second half of the look.
  3. Generate — the Dreem node renders both pieces styled together on your chosen virtual model — the arrival as the garment, the purchase as a styling image.
  4. Wait — Dreem renders in the background and calls the workflow back when ready (up to 20 minutes).
  5. Review in Slack — the finished pairing posts to your channel, so a human sees every look before a customer does.
  6. Ship it via your ESP — a documented hand-off shows how to fire the render into Klaviyo, Drip, or any ESP as a custom event on the customer's profile, ready for the post-purchase flow.

What you need

  • An n8n instance (cloud or self-hosted) with the verified Dreem node installed
  • A Dreem API key (dreem_pk_…) — free to create
  • A Shopify access token with read_products and read_orders scopes
  • A Slack connection (OAuth2 or a bot token) for the pairing delivery and timeout alerts, with your channel picked on both Slack nodes
  • Your chosen virtual model (talentId) set on the Generate Paired Look node

Everything else ships inside the template — including sticky notes on the canvas that walk you through credentials, the model and pose settings, and the ESP hand-off.

Get it running

From JSON to autopilot in three steps

  1. 01

    Grab the template

    Copy the JSON or download the file — it's the complete workflow, setup notes included.

  2. 02

    Paste it into n8n

    Open a blank canvas and paste (Ctrl+V / Cmd+V), or use Import from File in the workflow menu.

  3. 03

    Add credentials & activate

    Select your Dreem, Shopify, and Slack credentials, pick your model and channel, toggle Active. Done — every new order now gets its pairing.

Good to know

Frequently asked questions

Is this n8n workflow template free?
Yes. The template is free to download and use. Generating images uses credits on your Dreem subscription — there's a free tier to try it.
How do I import the workflow into n8n?
Copy the JSON and paste it directly onto an open n8n canvas with Ctrl+V / Cmd+V, or download the file and use Import from File in the workflow menu. Both put the complete workflow, including its setup notes, on your canvas.
What credentials does the workflow need?
Three: a Dreem API key (dreem_pk_…), a Shopify access token with read_products and read_orders scopes, and a Slack connection (OAuth2 or a bot token) for the pairing delivery and timeout alerts.
How does the pairing reach the customer?
The template stops in Slack so a human reviews every look. A documented hand-off inside the workflow shows how to fire the approved render into Klaviyo, Drip, or any ESP as a custom event on the customer's profile — image URL and both product titles included — ready for the post-purchase flow.
Can I choose the model, pose, and format?
Yes. Set the talent (talentId), the poses (shotCodes, matched to the talent's gender), and the output aspect ratio — 4:5 for PDP, 9:16 for Story, 1:1 for feed — on the Generate Paired Look node. Browse all models and poses at dreem.ai.