ES | EN
Document Extraction

Listen on new emails on a IMAP mailbox

XmlMove Binary Data
Nodes 5
Complexity Intermediate
Category Document Extraction
n8n popularity 7,054 views in n8n library

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. 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.

Apps and nodes included

Step-by-Step Implementation Guide

Automatización: Escuchar emails en buzón IMAP

Este flujo de trabajo monitoriza un buzón IMAP, procesa nuevos correos, convierte adjuntos XML a datos legibles y los envía a un endpoint HTTP.

Nodos Utilizados

  • IMAP: Conecta y monitorea el buzón IMAP.
  • Code: Procesa los adjuntos XML.
  • HTTP Request: Envía la información a un endpoint HTTP.

Pasos de Configuración

  • Paso 1: Configura el nodo IMAP: Ingresa la información de tu servidor IMAP (host, puerto, usuario, contraseña) y la carpeta a monitorizar.
  • Paso 2: Configura el nodo Code (si es necesario): Escribe código para convertir los adjuntos XML a propiedades dentro de $data.
  • Paso 3: Configura el nodo HTTP Request: Ingresa la URL del endpoint HTTP y configura los parámetros para el envío de los datos procesados.
⚡ Open and edit in Scriflow ← Browse all n8n templates

Scriflow builds and adapts n8n workflows with AI. Open this template in the editor to get the import-ready JSON.