๐Ÿค Automate PDF purchase orders to sales orders in Adobe Commerce with AI

โšก 556 views ยท ๐Ÿค CRM & Sales Operations

Description

๐Ÿ“„ 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 Company Credit as the payment method.

This is especially useful for B2B companies receiving structured orders from clients by email.

Use cases include:


Good to know


How it works

  1. Trigger โ†’ Monitors an email inbox for incoming emails with PDF attachments.
  2. Extract PDF โ†’ Downloads the attached PDF and parses order data (e.g. SKU, quantity, customer reference).
  3. Validate Customer โ†’ Checks if the sender matches an existing customer in Adobe Commerce and verifies Company Credit eligibility.
  4. Create Order โ†’ Generates a new order in Magento using the extracted product data and Company Credit.
  5. Handle Errors โ†’ Logs issues and can notify a designated channel (email, Slack, etc.) if something goes wrong.
  6. Optional Enhancements โ†’ Add logging to Airtable, send confirmations to customers, or attach parsed order data to CRM entries.

How to use


Requirements


Customising this workflow

This workflow can be adapted for:


๐Ÿ”— Nodes Used

HTTP Request, Execute Sub-workflow, Microsoft Outlook, Stop and Error, AI Agent, n8n Form Trigger

๐Ÿ“ฅ Import

Download workflow.json and import into n8n: Workflow menu โ†’ Import from File

๐Ÿ“– Importing guide ยท ๐Ÿ”‘ Credential setup