Templates / Send wholesale and B2B order email alerts with Shopify and SMTP

Send wholesale and B2B order email alerts with Shopify and SMTP

Ready for 3.0

by TrenoxaHQ · 1 views · created 2026-10-12 · CRM

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 6 nodes and runs on Shopify events. Along the way it connects Shopify.

How it runs

Trigger: On Shopify events.

  1. Settings (Edit Fields (Set)): sets 7 fields: shopSubdomain, wholesaleTag, treatB2BCompanyOrdersAsWholesale…
  2. Look up customer and company (HTTP Request): calls an HTTP API (POST)
  3. Check order and build alert (Code): runs custom JavaScript code
  4. Is wholesale? (If): checks a condition and branches into true / false
  5. Send alert email (Send Email): sends an email over SMTP

Services it uses

Shopify

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (6)

From the author

Quick Overview This workflow triggers on new Shopify orders, checks whether they match your wholesale/B2B criteria using the Shopify Admin GraphQL API, and sends an HTML email alert via SMTP when a qualifying order is detected. How it works 1. Triggers in…

Excerpt from TrenoxaHQ'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.