n8n Finance Chatbot: Answer Xero Queries via WhatsApp & Telegram
n8n Finance Chatbot: Answer Xero Queries via WhatsApp & Telegram
Regular price
£25.99
Regular price
£25.99
Sale price
Unit price
/
per
⬇
Instant Digital Download
∞
Unlimited Downloads
★
Lifetime Access in Your Account
Couldn't load pickup availability
🔥
128+ Sold
Popular with n8n builders
⚡
23 people viewing
High interest right now
✅
9 added today
Fast-moving digital product
n8n Finance Chatbot: Answer Xero Queries via WhatsApp & Telegram
Regular price
£25.99
Regular price
£25.99
Sale price
Unit price
/
per
Get instant finance answers from Xero—right in WhatsApp & Telegram
This n8n Finance Chatbot workflow receives WhatsApp (via a WAHA webhook) and Telegram messages, classifies your finance question with OpenAI, pulls read-only data from Xero, and replies with a validated finance report. Optionally, the workflow can post the previous answer to Slack after user confirmation.
What this workflow does
- Ingests messages from WhatsApp (WAHA webhook with raw-body HMAC validation) and Telegram.
- Normalizes and secures requests into a common format, loads deployment settings, and blocks users not on an allowlist.
- Manages conversation state using the n8n Data Table “Finance Bot Conversation State” to decide whether to post to Slack, cancel, or treat the message as a new finance question.
- Classifies finance intent with OpenAI (e.g., accounts receivable, cash position, bills due this week, or unknown).
- Fetches the right Xero data by resolving the correct Xero tenant from the connected Xero organisations and using GET requests.
- Builds a canonical report and validates it by transforming the Xero response into text, asking OpenAI to format a concise reply, and verifying that numbers/tokens were not altered (otherwise it falls back to canonical text).
- Sends the reply back via WhatsApp or Telegram, and posts to Slack only when the user confirms.
Use cases
- Ask, “What are my accounts receivable?” and receive an up-to-date answer from Xero in WhatsApp.
- Get “cash position” summaries in Telegram for quick daily cash visibility.
- Check “bills due this week” without logging into Xero.
- Confirm whether the workflow should post the prior finance answer to Slack for your team.
Technical details
- n8n workflow with nodes including webhook, if, code, switch, and slack.
- WhatsApp integration via WAHA webhook (raw-body HMAC validation).
- Message classification and formatting with OpenAI.
- Read-only data retrieval from Xero using GET requests.
- Conversation persistence in n8n Data Table: “Finance Bot Conversation State” with columns like stateKey, userId, channel, chatId, lastIntent, lastRes.
