# Validate wholesale order emails against a Google Sheets price: n8n workflow

> Started by a clock, and works across Gmail, Google Sheets and Telegram. It hands the judgement calls to OpenAI.

Source: https://millionrounds.com/workflow/validate-wholesale-order-emails-against-a-google-sheets-pric (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)

# Validate wholesale order emails against a Google Sheets price

Started by a clock, and works across Gmail, Google Sheets and Telegram. It hands the judgement calls to OpenAI. 27 steps, 2 branches: large, and worth reading before you trust it with anything live.

Large Calls a model: OpenAI

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fvalidate-wholesale-order-emails-against-a-google-sheets-pric)

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

**2** Branches: places the flow splits

**0** Loops or waits

**3** Services it connects to

## The flow

Starts it 2 Model 4 Logic 9 Service 12

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

- 1 **When Wholesale Order Email Arrives** Gmail trigger *Starts it*
- 2 **Order Extraction Model** Lm Chat Open Ai *Model*
- 3 **Weekly Order Desk Digest** Schedule trigger *Starts it*
- 4 **Digest Model** Lm Chat Open Ai *Model*
- 5 **Normalize Order Email** Set *Logic*
- 6 **AI Extract Order Lines** Agent *Model*
- 7 **Read Orders This Week** Google Sheets *Service*
- 8 **AI Write Digest Summary** Agent *Model*
- 9 **Has Order Details** If *Logic*
- 10 **Parse Extracted Order** Code *Logic*
- 11 **Summarise Order Week** Code *Logic*
- 12 **Format Digest Email** Code *Logic*
- 13 **Log Unparsable Order Email** Google Sheets *Service*
- 14 **Fetch Price List** Google Sheets *Service*
- 15 **Email Weekly Digest** Gmail *Service*
- 16 **Alert Desk About Unparsable Email** Telegram *Service*
- 17 **Match Lines To Price List** Code *Logic*
- 18 **Alert Digest On Telegram** Telegram *Service*
- 19 **If Price Or Pack Issue** If *Logic*
- 20 **Build Revision Request** Set *Logic*
- 21 **Build Order Confirmation** Set *Logic*
- 22 **Email Customer For Revision** Gmail *Service*
- 23 **Log Order To Fulfilment Queue** Google Sheets *Service*
- 24 **Alert Order Desk On Telegram1** Telegram *Service*
- 25 **Email Order Confirmation** Gmail *Service*
- 26 **Alert Order Desk On Telegram** Telegram *Service*
- 27 **Mark Order Email As Read** Gmail *Service*

## How it's built

- **Starts on:** A clock
- **Steps:** 27, with 2 branches
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** Gmail, Google Sheets, Telegram
- **Model:** OpenAI

## Questions

What does it need to run?

An n8n account, plus your own Gmail, Google Sheets and Telegram 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?

Take your time. At 27 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 27 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%2Fvalidate-wholesale-order-emails-against-a-google-sheets-pric)
- **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.

[Gmail](https://millionrounds.com/workflows?service=Gmail#library)[Google Sheets](https://millionrounds.com/workflows?service=Google+Sheets#library)[Telegram](https://millionrounds.com/workflows?service=Telegram#library)

## Workflows like it

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

- [**Reprice WooCommerce products with Amazon and Bright Data** 27 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/reprice-woocommerce-products-with-amazon-and-bright-data)
- [**AI-powered e-commerce customer support chatbot with OpenAI** 26 steps · calls a model · Gmail](https://millionrounds.com/workflow/ai-powered-e-commerce-customer-support-chatbot-with-openai)
- [**Generate UGC promo videos with OpenAI and Sora 2** 28 steps · calls a model · Telegram](https://millionrounds.com/workflow/generate-ugc-promo-videos-with-openai-and-sora-2)
- [**Review and approve Google Sheets orders by email and notify** 28 steps · Gmail, Google Sheets](https://millionrounds.com/workflow/review-and-approve-google-sheets-orders-by-email-and-notify)
- [**Run a WooCommerce store assistant with Telegram and OpenRouter** 25 steps · calls a model · Email, Gmail](https://millionrounds.com/workflow/run-a-woocommerce-store-assistant-with-telegram-and-openrout)
- [**Share Shopify New Products Across All Social Media Platforms** 29 steps · calls a model · Discord, Gmail](https://millionrounds.com/workflow/share-shopify-new-products-across-all-social-media-platforms)
