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

Библиотека / Синхронизация данных и ETL

Синхронизация данных и ETL

Синхронизация заказов Shopify с ERP Jitterflow с проверкой подписи и оповещениями в Slack

Принимает вебхуки заказов Shopify, проверяет подпись HMAC, преобразует каждый заказ в формат ERP и отправляет в Jitterflow с контролируемой частотой, отправляя оповещения в Slack при сбоях.

Что делает

## Sync Shopify orders to a rate-limited ERP with signature checks and Slack failure alerts ### Who's it for Shopify stores whose ERP or order-management API has a rate limit. A flash sale fires one orders/create webhook per order, and calling the ERP directly turns that burst into 429 errors and missing orders. ### How it works 1. Shopify order created receives each order. Compute signature and Signature matches? check Shopify's HMAC header and answer 401 to anything unsigned. 2. Map order to ERP format keeps what an ERP import needs: order number, customer, ship-to, totals and one line per SKU. 3. Queue order for the ERP hands it to Jitterflow, which delivers orders to the ERP one at a time at the endpoint's cadence, with retries. The Shopify order ID is the idempotency key, so Shopify's retries never import an order twice. 4. Acknowledge Shopify answers 200 only after the order is queued. 5. Every morning, the bottom lane reads Jitterflow's dead-letter queue (DLQ) and posts one Slack summary of orders the ERP rejected. No failures, no message. ### Requirements - A Jitterflow account and API key. The free Developer plan works. - The n8n-nodes-jitterflow community node. It is verified by n8n, so it's available on n8n Cloud; on self-hosted n8n, install it from Settings → Community Nodes. - Shopify admin access and a Slack workspace. ### How to set up 1. In Jitterflow, add an endpoint whose destination URL is your ERP's order-import API. Set Deliver one every to the ERP's limit and put its API key in Auth header. 2. Create a Jitterflow API credential, select it on both Jitterflow nodes, and paste the endpoint key into Endpoint Key. 3. Create a Crypto credential whose Hmac Secret is your Shopify webhook signing secret, and select it on Compute signature. 4. Select a Slack credential and channel on Alert the ops channel. 5. Activate the workflow and add its production URL in Shopify as an orders/create webhook in JSON format. ### How to customize - Change the fields in Map order to ERP format to match your ERP's import schema. - Send the alert to email or Microsoft Teams instead of Slack.

Шаги

  1. Shopify order created
  2. Compute signature
  3. Signature matches?
  4. Reject unsigned request
  5. Map order to ERP format
  6. Queue order for the ERP
  7. Acknowledge Shopify
  8. Every morning at 8
  9. List undelivered jobs
  10. Keep Shopify orders
  11. Collect into one list
  12. Alert the ops channel

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