# Log failed WooCommerce orders: n8n workflow template

> Started by a clock, and works across Airtable and Slack. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/log-failed-woocommerce-orders (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)

# Log failed WooCommerce orders

Started by a clock, and works across Airtable and Slack. It hands the judgement calls to OpenAI. 12 steps, 1 branch, 1 loop or waits: a working afternoon to understand properly.

Medium Calls a model: OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Flog-failed-woocommerce-orders)

**12 steps** Medium: a working afternoon

**1** Branch: places the flow splits

**1** Loop or waits

**2** Services it connects to

## The flow

Starts it 1 Model 1 Logic 5 Service 5

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

- 1 **Check Failed Orders (Scheduler)** Schedule trigger *Starts it*
- 2 **Set WooCommerce Domain2** Set *Logic*
- 3 **Fetch Failed Orders From WooCommerce2** Http Request *Service*
- 4 **Process Each Failed Order** Split In Batches *Logic*
- 5 **Search records** Airtable *Service*
- 6 **Attach Search Result to Order** Merge *Logic*
- 7 **Is Order Already Logged?** If *Logic*
- 8 **Send a message** Slack *Service*
- 9 **Format Order Data1** Code *Logic*
- 10 **Save Failed Order to Airtable1** Airtable *Service*
- 11 **Generate Slack Summary Message 1** Open Ai *Model*
- 12 **Send Failed Order Alert to Slack1** Slack *Service*

## How it's built

- **Starts on:** A clock
- **Steps:** 12, with 1 branch, 1 loop or waits
- **Size:** Medium: a working afternoon
- **Connects to:** Airtable, Slack
- **Model:** OpenAI

## Questions

What does it need to run?

An n8n account, plus your own Airtable and Slack accounts, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on a clock.

Does it use AI?

Yes. It calls OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 12 steps is enough that you should read each one before running it.

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 12 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%2Flog-failed-woocommerce-orders)
- **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.

## Connects to

Each opens the other workflows that use it.

[Airtable](https://millionrounds.com/workflows?service=Airtable#library)[Slack](https://millionrounds.com/workflows?service=Slack#library)

## Workflows like it

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

- [**Analyze WooCommerce product reviews with OpenAI and Airtable** 12 steps · calls a model · Airtable, Slack](https://millionrounds.com/workflow/analyze-woocommerce-product-reviews-with-openai-and-airtable)
- [**Audit Shopify product images with ShotEdit and Gemini** 12 steps · calls a model · Google Sheets, Shopify](https://millionrounds.com/workflow/audit-shopify-product-images-with-shotedit-and-gemini)
- [**Auto-generate problem-focused blog posts for Shopify products** 12 steps · calls a model · Shopify, Slack](https://millionrounds.com/workflow/auto-generate-problem-focused-blog-posts-for-shopify-product)
- [**Monitor low-rated WooCommerce reviews with Google Sheets** 12 steps · calls a model · Google Sheets, Slack](https://millionrounds.com/workflow/monitor-low-rated-woocommerce-reviews-with-google-sheets)
- [**Automate e-commerce orders, inventory & feedback with Slack** 12 steps · Gmail, Google Sheets](https://millionrounds.com/workflow/automate-e-commerce-orders-inventory-and-feedback-with-slack)
- [**E-commerce product price tracker with ScrapeGraphAI** 12 steps · Baserow, Slack](https://millionrounds.com/workflow/e-commerce-product-price-tracker-with-scrapegraphai)
