Zum Inhalt springen
NEUMarktplatz und dein Team: Verkaufe, was du baust, und bekomm Pläne und Änderungen, die getestet sind, bevor du sie siehst. Neuigkeiten ansehen

Bibliothek / Warnungen & Benachrichtigungen

Warnungen & Benachrichtigungen

E-Mail-Benachrichtigungen für Shopify-Großhandels- und B2B-Bestellungen per SMTP senden

Wird bei jeder neuen Shopify-Bestellung ausgeführt, prüft über die Admin API auf B2B-Firmen- oder Großhandelskunden-Tags und sendet für passende Bestellungen eine E-Mail-Benachrichtigung.

Was sie bewirkt

# Send email alerts for Shopify wholesale and B2B orders ## Who it's for Shopify merchants who sell wholesale or B2B (Shopify native B2B or tag-based) and don't want big orders to get lost among retail orders. ## How it works 1. Shopify Trigger fires on every new order. 2. Settings holds every value you may change. 3. Look up customer and company reads the customer's tags and the B2B company and location name with the Shopify Admin GraphQL API, because the order webhook doesn't include them. 4. Check order and build alert flags the order if it comes from a B2B company, or the customer or order has your wholesale tag, and checks the minimum order value. It builds an HTML email with customer, company, items, total, payment status and a link to the order. 5. Is wholesale? stops retail orders; Send alert email emails you wholesale ones. ## Setup 1. In the Shopify Dev Dashboard, create an app with scopes read_orders,read_customers, add your n8n OAuth redirect URL, release it and install it on your store. 2. Add a Shopify OAuth2 API credential and select it in both Shopify nodes. 3. Add an SMTP credential and select it in Send alert email. 4. Fill in Settings (shop subdomain, tag, emails) and activate. ## Requirements Shopify store (any plan), SMTP account. One execution per order. ## How to extend Add Slack, Microsoft Teams or Google Sheets after Is wholesale? (true branch).

Die Schritte

  1. Shopify Trigger
  2. Settings
  3. Check order and build alert
  4. Is wholesale?
  5. Send alert email
  6. Look up customer and company

Ähnliche Automatisierungen