Record Odoo accounting entries from Telegram using ChatGPT (GPT-4o-mini)
Ready for 3.0What this workflow does
This AI workflow has 52 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Odoo, OpenAI Chat Model and Google Calendar.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- AI Financial Agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model; memory: Simple Memory
- Clean AI Output (Code): runs custom JavaScript code
- Route to Expense Path (Switch): routes items into 7 branches
- Find Expense Account ID (Odoo): get many (custom)
- Find Partner ID (Odoo): get many (custom)
- Filter Payment Source (Switch): routes items into 2 branches
- Find Partner ID (Odoo): get many (custom)
- Find Partner ID (Odoo): get many (custom)
- Find Supplier ID (Odoo): get many (custom)
- Date Resolver (Code): runs custom JavaScript code
…plus 39 more steps. See the full node list below.
Services it uses
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.
Nodes used (9)
- Webhook
n8n-nodes-base.webhook - Odoo
n8n-nodes-base.odoo - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - AI Agent
@n8n/n8n-nodes-langchain.agent - Code
n8n-nodes-base.code - Switch
n8n-nodes-base.switch - Google Calendar
n8n-nodes-base.googleCalendar - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
What Problem Does It Solve? - Business owners, managers, and accountants waste valuable time manually entering daily expenses, supplier payments, and employee advances into Odoo. - Getting quick balance reports usually requires logging into the ERP,…