AcademyWorkflowsOperations

Email XML to JSON with an IMAP listener

Operations teams that receive XML orders or documents by email and pass them to another system.

  • Recommendedour rating
  • 7,054views on n8n
Open on n8n.io ↗

Paste it straight onto an n8n canvas with Ctrl+V or Cmd+V.

listen-on-new-emails-on-a-imap-mailbox.json

Loading the file...

What it does

An n8n template that watches an IMAP mailbox for new emails. It takes the XML attachment, converts it to JSON and sends the result by POST to an HTTP endpoint. The Set node can be replaced with Function nodes to map or transform the fields.

Use cases

  1. 01Forwarding XML purchase orders to an internal endpoint
  2. 02Turning supplier XML attachments into JSON records
  3. 03A starting point for EDI-style data exchange over email

Connects

HTTP Request

Questions about
Email XML to JSON with an IMAP listener.

What is Email XML to JSON with an IMAP listener used for?

Operations teams that receive XML orders or documents by email and pass them to another system. An n8n template that watches an IMAP mailbox for new emails. It takes the XML attachment, converts it to JSON and sends the result by POST to an HTTP endpoint. The Set node can be replaced with Function nodes to map or transform the fields.

How do I import Email XML to JSON with an IMAP listener into n8n?

Copy the workflow JSON from this page and paste it onto the n8n canvas with Ctrl+V or Cmd+V. Then connect your credentials in each node.

Is Email XML to JSON with an IMAP listener safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.