Automate PDF purchase orders to sales orders in Adobe Commerce with AI
Ready for 3.0What this workflow does
This AI workflow has 88 nodes and runs on Microsoft Outlook events (plus 2 other triggers). Along the way it connects Microsoft Outlook and Azure OpenAI Chat Model.
How it runs
Trigger: On Microsoft Outlook events (plus 2 other triggers).
- set Text (Edit Fields (Set)): sets 1 field: text
- Extract from File: extracts data from a file (pdf)
- Extract from File: extracts data from a file (pdf)
- set Information (Edit Fields (Set)): sets 1 field: info
- Code: runs custom JavaScript code
- Extract from File: extracts data from a file (pdf)
- AI Agent: runs an AI agent, with model: Azure OpenAI Chat Model
- set Information (Edit Fields (Set)): sets 1 field: info
- set OpenAI (Edit Fields (Set)): sets 1 field: content
- filter Emailadresses (Code): runs custom JavaScript code
…plus 67 more steps. See the full node list below.
Services it uses
Other Microsoft Outlook + Azure OpenAI templates (3)
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 (21)
- Extract from File
n8n-nodes-base.extractFromFile - HTTP Request
n8n-nodes-base.httpRequest - n8n Form Trigger
n8n-nodes-base.formTrigger - Edit Fields (Set)
n8n-nodes-base.set - Aggregate
n8n-nodes-base.aggregate - Code
n8n-nodes-base.code - Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - If
n8n-nodes-base.if - Merge
n8n-nodes-base.merge - Limit
n8n-nodes-base.limit - Switch
n8n-nodes-base.switch - Stop and Error
n8n-nodes-base.stopAndError - No Operation, do nothing
n8n-nodes-base.noOp - Split Out
n8n-nodes-base.splitOut - Execute Sub-workflow
n8n-nodes-base.executeWorkflow - Wait
n8n-nodes-base.wait - Microsoft Outlook Trigger
n8n-nodes-base.microsoftOutlookTrigger - AI Agent
@n8n/n8n-nodes-langchain.agent - Microsoft Outlook
n8n-nodes-base.microsoftOutlook - Azure OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatAzureOpenAi - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches
From the author
📄 PDF-to-Order Automation for Magento2 (Adobe commerce / open source) Description This n8n template demonstrates how to automatically process PDF purchase orders received via email and convert them into sales orders in Adobe Commerce (Magento 2) using…