# Answer finance questions from Xero via WhatsApp, Telegram, Slack, and OpenAI

> Quick overview This workflow answers finance questions received on WhatsApp (via WAHA) or Telegram by fetching data from Xero, drafting a validated response with OpenAI, optionally posting the result to Slack, and persisting conversation state in an n8n Data Table. How it works 1. Receives an incoming message from WhatsApp via a WAHA webhook (with HMAC verification) or from a Telegram bot trigger. 2. Normalizes the incoming message into a consistent format, applies workflow configuration, and blocks unauthorized senders based on an allowed-users list. 3. Loads the prior conversation state from an n8n Data Table and decides whether the message is a Slack-share follow-up (Yes/No/post) or a new finance request. 4. For new requests, uses OpenAI to classify the intent (accounts receivable, cash position, or bills due this week) and replies with help text if the intent is unknown. 5. Retrieves the connected Xero organisations, selects the correct Xero tenant, and queries the relevant Xero en

- **Domain**: `n8n-workflow-20422.n8n.io`
- **Provider**: n8n.io (https://n8n.io)
- **Kind**: workflow
- **Live-responds (last probe)**: None
- **Signed card**: False
- **Streaming**: False
- **Quality score**: 40%

## URLs
- Agent card: https://n8n.io/workflows/20422
- Page (HTML): https://agenstry.com/agents/n8n-workflow-20422.n8n.io
- Documentation: https://n8n.io/workflows/20422
