๐ฌ Listen on new emails on a IMAP mailbox
โก 8,273 views ยท ๐ฌ Document Extraction & Analysis
Description
Listen on new emails on a given IMAP mailbox. Converts the binary XML attachment to a stringified xmlproperty on the $data object and converts it to JSON. The Setnode could be replaced with Function nodes for example to do a conversion/mapping/transformation.
workflow-screenshot
The JSON is ultimately sent to a HTTP Endpoint via POST.
This could be a starter for EDI purposes like receiving or transmitting XML data and conversion via JSON object property mapping.
๐ Nodes Used
Email Trigger (IMAP), HTTP Request, Convert to/from binary data
๐ฅ Import
Download workflow.json and import into n8n:
Workflow menu โ Import from File