Templates / Upsert and merchandise Medusa products from a PIM via webhook and Admin API

Upsert and merchandise Medusa products from a PIM via webhook and Admin API

Unknown

by Black Swamp AI ✓ · 1 views · created 2026-08-20 · CRM

Unknown. This template uses community nodes we can't verify statically. Uses community nodes that can't be verified statically (unverified community packages are off by default in 3.0). Static check, last run 2026-10-19.

What this workflow does

This workflow has 14 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Medusa (community).

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Validate Launch Payload (Code): runs custom JavaScript code
  2. Fetch Product by Handle (Medusa): uses Medusa
  3. If: checks a condition and branches into true / false
  4. Update Product Details (Medusa): update
  5. Create Product with Price (Medusa): create
  6. Log Updated Product (Edit Fields (Set)): sets 6 fields: action, product_id, handle…
  7. Log New Product (Edit Fields (Set)): sets 6 fields: action, product_id, handle…
  8. Merge: merges the data from its input branches
  9. Categorize Product (Medusa): add products (product category)
  10. Collect Product (Medusa): add products (product collection)

…plus 3 more steps. See the full node list below.

Services it uses

Medusa (community)

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 @blackswampai/n8n-nodes-medusa is verified or supports 3.0 (used in Fetch Product by Handle, Update Product Details, Create Product with Price).

Nodes used (7)

From the author

Quick overview This workflow receives a product-launch webhook from a PIM, upserts the product in Medusa by handle, assigns it to a category and collection, publishes it to a sales channel, and returns a JSON response describing the action taken. How it works…

Excerpt from Black Swamp AI's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.