İçeriğe geç
YENİPazar yeri ve ekibin: geliştirdiğini sat; planlar ve değişiklikler sen görmeden önce test edilsin. Yeniliklere bak

Kütüphane / Uyarılar ve Bildirimler

Uyarılar ve Bildirimler

Shopify toptan ve B2B siparişleri için SMTP ile e-posta uyarıları gönder

Her yeni Shopify siparişinde çalışır, Admin API üzerinden B2B şirket veya toptan müşteri etiketlerini kontrol eder ve uygun siparişler için e-posta uyarısı gönderir.

Ne yapar

# 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).

Adımlar

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

Benzer otomasyonlar