# Shopify and Klaviyo Integration: n8n workflow template

> Started by another system calling it. It calls services over plain HTTP rather than through connectors.

Source: https://millionrounds.com/workflow/shopify-and-klaviyo-integration (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [E-commerce](https://millionrounds.com/workflows?category=E-commerce#library)

# Shopify and Klaviyo Integration

Started by another system calling it. It calls services over plain HTTP rather than through connectors. 21 steps, 5 branches: large, and worth reading before you trust it with anything live.

Large

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fshopify-and-klaviyo-integration)

**21 steps** Large: read it before trusting it with anything live

**5** Branches: places the flow splits

**0** Loops or waits

**0** Services by connector: it calls them over plain HTTP

## The flow

Starts it 1 Logic 11 Service 9

The steps in the order they run, from what starts it.

- 1 **Shopify Order Webhook** Webhook *Starts it*
- 2 **Parse & Enrich Order Data** Code *Logic*
- 3 **Payment Verified?** If *Logic*
- 4 **Shopify - Check Inventory Levels** Http Request *Service*
- 5 **Klaviyo - Payment Failed Event** Http Request *Service*
- 6 **Inventory Check Logic** Code *Logic*
- 7 **All Items In Stock?** If *Logic*
- 8 **Domestic or International?** If *Logic*
- 9 **Klaviyo - Backorder Notification** Http Request *Service*
- 10 **CRM - Create Backorder Ticket** Http Request *Service*
- 11 **Multi-Vendor Split?** If *Logic*
- 12 **Route International** Code *Logic*
- 13 **Split by Vendor** Code *Logic*
- 14 **Route Domestic Single Vendor** Code *Logic*
- 15 **Merge Routed Orders** Merge *Logic*
- 16 **Klaviyo - Order Confirmed Flow** Http Request *Service*
- 17 **VIP Customer?** If *Logic*
- 18 **CRM - Upsert VIP Contact** Http Request *Service*
- 19 **CRM - Upsert Standard Contact** Http Request *Service*
- 20 **Klaviyo - VIP Flow Trigger** Http Request *Service*
- 21 **Klaviyo - Sync Profile** Http Request *Service*

## How it's built

- **Starts on:** Another system calling it
- **Steps:** 21, with 5 branches
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Nothing by connector; it calls services over plain HTTP
- **Model:** None. This is plumbing, not judgement

## Questions

What does it need to run?

An n8n account. You connect your own accounts after importing it; none are included.

What starts it?

It starts on another system calling it.

Does it use AI?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

How long does it take to set up?

Take your time. At 21 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

**Before you run it**

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 21 steps before you point it at anything that matters.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fshopify-and-klaviyo-integration)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Workflows like it

Also e-commerce, with the same services where possible, closest in size first.

- [**Correct wrong shipping addresses in Billbee orders** 21 steps](https://millionrounds.com/workflow/correct-wrong-shipping-addresses-in-billbee-orders)
- [**E-commerce bestseller video generator with Algolia** 21 steps · Gmail](https://millionrounds.com/workflow/e-commerce-bestseller-video-generator-with-algolia)
- [**AI agent for transportation orders management with OpenAI** 21 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/ai-agent-for-transportation-orders-management-with-openai)
- [**AI-powered customer email support for e-commerce with Pinecone** 21 steps · calls a model · Gmail](https://millionrounds.com/workflow/ai-powered-customer-email-support-for-e-commerce-with-pineco)
- [**Monitor e-commerce price changes with Decodo Scraper** 21 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/monitor-e-commerce-price-changes-with-decodo-scraper)
- [**Personal shopper chatbot for WooCommerce with RAG** 21 steps · calls a model · Google Drive, Qdrant](https://millionrounds.com/workflow/personal-shopper-chatbot-for-woocommerce-with-rag)
