GenAiHub

Last checked 23 October 2026 — responded normally.

Send wholesale and B2B order email alerts with Shopify and SMTP

Quick Overview

Live
Open / InstallLast updated October 23, 2026

Description

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 Triggers in Shopify when a new order is created. Loads configurable settings such as shop subdomain, wholesale tag, minimum order value, and alert email addresses. Queries the Shopify Admin GraphQL API to fetch the customer’s tags and (for B2B) the purchasing company and location details that aren’t included in the order webhook. Evaluates the order against the wholesale rules (B2B company order and/or matching wholesale tags, plus the minimum order value) and generates a formatted HTML email with order details and a Shopify admin link. Sends the email alert via SMTP only when the order qualifies as wholesale/B2B. Setup Create and install a Shopify app with read_orders and read_customers scopes, and connect it to n8n using a Shopify OAuth2 API credential. Add an SMTP credential for sending mail and select it in the email-sending step. Update the Settings values (shop subdomain, wholesale tag, minimum order value, and to/from email addresses) before activating the workflow. An n8n automation workflow template by TrenoxaHQ.

Community Metrics

Views
0
Avg Rating
N/A
Ratings
0
Likes
0
Comments
—

Author

TrenoxaHQ

Platform

web

Pricing model

free

Categories

  • Automation

Tags

  • n8n
  • workflow
  • send-email
  • http-request
  • code

Capabilities

  • 3 nodes

Information

TypeWorkflow
Sourcen8n
AddedOctober 18, 2026

Comments

?

Others in the same category, ranked by how often they are opened.