# Monitor hotel competitor rates and answer WhatsApp Q&A: n8n workflow

> Started by an incoming WhatsApp message, and works across WhatsApp and n8n data table. It puts OpenAI behind a retrieval step, so answers are drawn from...

Source: https://millionrounds.com/workflow/monitor-hotel-competitor-rates-and-answer-whatsapp-q-and-a (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Alerts and monitoring](https://millionrounds.com/workflows?category=Alerts+and+monitoring#library)

# Monitor hotel competitor rates and answer WhatsApp Q&A

Started by an incoming WhatsApp message, and works across WhatsApp and n8n data table. It puts OpenAI behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 39 steps, 2 branches: large, and worth reading before you trust it with anything live.

Large Calls a model: OpenAI Retrieval

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fmonitor-hotel-competitor-rates-and-answer-whatsapp-q-and-a)

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

**2** Branches: places the flow splits

**0** Loops or waits

**2** Services it connects to

## The flow

Starts it 2 Model 6 Logic 19 Service 12

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

- 1 **Structured Output Parser** Output Parser Structured *Model*
- 2 **Get Hotel_Rates_History** Data Table Tool *Service*
- 3 **WhatsApp Trigger** Whats App trigger *Starts it*
- 4 **OpenAI Chat Model2** Lm Chat Open Ai *Model*
- 5 **Simple Memory** Memory Buffer Window *Model*
- 6 **OpenAI Chat Model** Lm Chat Open Ai *Model*
- 7 **Daily Market Check** Schedule trigger *Starts it*
- 8 **AI Agent: Analyze** Agent *Model*
- 9 **AI Agent: Q&A** Agent *Model*
- 10 **Filter Text Messages** If *Logic*
- 11 **Config** Set *Logic*
- 12 **Send WhatsApp Alert** Whats App *Service*
- 13 **Combine Summary & Alert** Merge *Logic*
- 14 **Q&A** Whats App *Service*
- 15 **Normalize Whatsapp Input** Set *Logic*
- 16 **Amadeus OAuth** Http Request *Service*
- 17 **Upsert Hotel Price Alerts** Data Table *Service*
- 18 **Get Alert Summary** Data Table *Service*
- 19 **Generate 30 night windows** Code *Logic*
- 20 **Combine 30-Day Rates** Merge *Logic*
- 21 **Amadeus Hotel Offers** Http Request *Service*
- 22 **Clean Amadeus Data** Code *Logic*
- 23 **New Snapshot** Code *Logic*
- 24 **Combine New Rates vs Prev Rates** Merge *Logic*
- 25 **Get Prev Rates** Data Table *Service*
- 26 **Upsert Latest Rates** Data Table *Service*
- 27 **Compute Change** Code *Logic*
- 28 **Insert History Rates** Data Table *Service*
- 29 **Prev Snapshot** Code *Logic*
- 30 **Significant Competitor Change** If *Logic*
- 31 **Get Our Hotel Rates** Data Table *Service*
- 32 **Combine Competitor Rates vs Our Rates** Merge *Logic*
- 33 **Prefix Our Hotel Fields** Set *Logic*
- 34 **Build VCC URLs** Code *Logic*
- 35 **Combine Rates & Events** Merge *Logic*
- 36 **Fetch VCC Month HTML** Http Request *Service*
- 37 **Prepare AI Agent Input** Code *Logic*
- 38 **Extract Event Details** Html *Logic*
- 39 **Events Extract** Code *Logic*

## How it's built

- **Starts on:** An incoming WhatsApp message
- **Steps:** 39, with 2 branches
- **Size:** Large: read it before trusting it with anything live
- **Connects to:** WhatsApp, n8n data table
- **Model:** OpenAI
- **Retrieval:** Answers are drawn from documents you supply, not from the model alone

## Questions

What does it need to run?

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

What starts it?

It starts on an incoming WhatsApp message.

Does it use AI?

Yes. It calls OpenAI. Its answers draw on documents you give it, not on the model alone. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 39 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 39 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%2Fmonitor-hotel-competitor-rates-and-answer-whatsapp-q-and-a)
- **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.

[WhatsApp](https://millionrounds.com/workflows?service=WhatsApp#library)[n8n data table](https://millionrounds.com/workflows?service=n8n+data+table#library)

## Workflows like it

Also alerts and monitoring, with the same services where possible, closest in size first.

- [**Crypto volume change Discord alerts** 38 steps · n8n data table](https://millionrounds.com/workflow/crypto-volume-change-discord-alerts)
- [**Monitor IP conflicts and governance with OpenAI and Slack** 34 steps · calls a model · Gmail, Google Sheets](https://millionrounds.com/workflow/monitor-ip-conflicts-and-governance-with-openai-and-slack)
- [**Orchestrate multi-agent compliance monitoring and audit logging** 30 steps · calls a model · Email, n8n data table](https://millionrounds.com/workflow/orchestrate-multi-agent-compliance-monitoring-and-audit-logg)
- [**Diagnose incident root causes and plan remediation with Claude** 30 steps · WhatsApp](https://millionrounds.com/workflow/diagnose-incident-root-causes-and-plan-remediation-with-clau)
- [**Predict and prevent service failures with Claude and ClickUp** 30 steps · WhatsApp](https://millionrounds.com/workflow/predict-and-prevent-service-failures-with-claude-and-clickup)
- [**Detect procurement fraud and monitor supplier compliance** 29 steps · calls a model · Email, Slack](https://millionrounds.com/workflow/detect-procurement-fraud-and-monitor-supplier-compliance)
