Create Bosta shipping orders from Odoo invoices using OpenAI GPT models
Ready for 3.0What this workflow does
This AI workflow has 15 nodes and runs when an HTTP GET request hits its webhook URL. Along the way it connects Odoo, OpenAI Chat Model and Telegram.
How it runs
Trigger: When an HTTP GET request hits its webhook URL.
- Get Customer (Odoo): uses Odoo
- Get Invoice (Odoo): uses Odoo
- Split Lines (Code): runs custom JavaScript code
- Get Line Items (Odoo): uses Odoo
- Summarize Items (Code): runs custom JavaScript code
- Fetch Zones (Data table): uses Data table
- Prep AI Context (Code): runs custom JavaScript code
- Classify Address (AI Agent): runs an AI agent, with model: GPT Model
- Map Fields (Edit Fields (Set)): sets or maps fields
- Round COD (Code): runs custom JavaScript code
…plus 2 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 - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - Edit Fields (Set)
n8n-nodes-base.set - Data table
n8n-nodes-base.dataTable - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - AI Agent
@n8n/n8n-nodes-langchain.agent - Telegram
n8n-nodes-base.telegram
From the author
What Problem Does It Solve? - Manual Data Entry Bottlenecks: Moving shipping data from Odoo to Bosta manually is slow and prone to errors, especially during high-volume periods. - Address Mismatches: Odoo stores addresses as unstructured text, while Bosta…