Перейти к содержанию
НОВОЕМаркетплейс и ваша команда: продавайте то, что создали, и получайте планы и изменения, проверенные до того, как вы их увидите. Что нового

Библиотека / Оповещения и уведомления

Оповещения и уведомления

Отправка email-уведомлений о заказах Shopify для оптовых клиентов и B2B через SMTP

Запускается при каждом новом заказе Shopify, проверяет теги B2B-компаний или оптовых клиентов через Admin API и отправляет email-уведомление о подходящих заказах.

Что делает

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

Шаги

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

Похожие автоматизации