Answer finance questions from Xero via WhatsApp, Telegram, Slack, and OpenAI
Ready for 3.0What this workflow does
This AI workflow has 49 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects Telegram, Slack and OpenAI. It also calls api.xero.com over HTTP.
How it runs
Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).
- Compute WAHA HMAC-SHA (Crypto): hashes or encrypts values
- Normalize Channel Message (Code): runs custom JavaScript code
- Is WAHA Signature Valid? (If): checks a condition and branches into true / false
- Set Workflow Config (Users, Slack, Xero) (Code): runs custom JavaScript code
- Build Authorization Result (Code): runs custom JavaScript code
- Is User Authorized? (If): checks a condition and branches into true / false
- Load Conversation State (Data table): get
- Prepare Unauthorized Reply (Code): runs custom JavaScript code
- Merge Message with Saved State (Code): runs custom JavaScript code
- Prepare State Load Error Reply (Code): runs custom JavaScript code
…plus 37 more steps. See the full node list below.
Services it uses
Other OpenAI + Slack templates (979) · Other Telegram + OpenAI templates (807) · Other Telegram + Slack templates (130)
HTTP calls to: api.xero.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (11)
- Webhook
n8n-nodes-base.webhook - Crypto
n8n-nodes-base.crypto - If
n8n-nodes-base.if - Telegram Trigger
n8n-nodes-base.telegramTrigger - Code
n8n-nodes-base.code - Data table
n8n-nodes-base.dataTable - Switch
n8n-nodes-base.switch - Slack
n8n-nodes-base.slack - OpenAI
@n8n/n8n-nodes-langchain.openAi - HTTP Request
n8n-nodes-base.httpRequest - Telegram
n8n-nodes-base.telegram
From the author
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…