Flexible currency rate uploads for SAP B1 with AI validation & multiple sources
Ready for 3.0What this workflow does
This AI workflow has 22 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Microsoft SQL, OpenAI and Google Sheets.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Conectar SAP (HTTP Request): calls an HTTP API (POST)
- Switch: routes items into 4 branches
- OpenAI: uses OpenAI
- Extraer Query (Edit Fields (Set)): sets 1 field: select_sql
- Google Sheets: uses Google Sheets
- Enviar SAP (MANUAL) (HTTP Request): calls an HTTP API (POST)
- Split Out: splits a list into separate items
- Microsoft SQL: run a query
- Enviar SAP (SHEET) (HTTP Request): calls an HTTP API (POST)
- Success (Google Sheets): append
…plus 11 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 - Switch
n8n-nodes-base.switch - HTTP Request
n8n-nodes-base.httpRequest - Microsoft SQL
n8n-nodes-base.microsoftSql - Edit Fields (Set)
n8n-nodes-base.set - Limit
n8n-nodes-base.limit - OpenAI
@n8n/n8n-nodes-langchain.openAi - Split Out
n8n-nodes-base.splitOut - Google Sheets
n8n-nodes-base.googleSheets
From the author
This workflow automates currency rate uploads into SAP Business One via Service Layer, using flexible input sources such as JSON (API), SQL Server, Google Sheets, or manual values. It leverages logic branching, AI validation, and logging for complete control…