Send wholesale and B2B order email alerts with Shopify and SMTP
Ready for 3.0Ready 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.
- Settings (Edit Fields (Set)): sets 7 fields: shopSubdomain, wholesaleTag, treatB2BCompanyOrdersAsWholesale…
- Look up customer and company (HTTP Request): calls an HTTP API (POST)
- Check order and build alert (Code): runs custom JavaScript code
- Is wholesale? (If): checks a condition and branches into true / false
- Send alert email (Send Email): sends an email over SMTP
Services it uses
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)
- Shopify Trigger
n8n-nodes-base.shopifyTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Send Email
n8n-nodes-base.emailSend - HTTP Request
n8n-nodes-base.httpRequest
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…