# Convert JSON to XML via HTTP API with formatting options
This automation template converts incoming JSON data into a structured XML format with customizable formatting. Ideal for integrations with legacy systems, ERPs, or AI tools that require XML input.
## Who it´s for
- Developers integrating n8n with systems requiring XML
- Data analysts converting JSON to readable XML for reporting
- Automation engineers working with APIs that accept only XML
## What the automation does
- Receives a JSON object via HTTP webhook
- Converts data to XML using a custom JavaScript code node
- Handles arrays, objects, dates, and nested structures
- Supports configuration of line breaks and empty value handling
- Returns result in the `xml` field
## What´s included
- Ready-to-use n8n workflow
- Trigger logic (HTTP webhook)
- Integrations with HTTP API
- Basic textual instructions for launch and adaptation
## Requirements for setup
- n8n account (self-hosted or cloud)
- Access to HTTP API for sending input data
## Benefits and outcomes
- Eliminates manual JSON → XML conversion
- Ensures compatibility with legacy systems requiring XML
- Enables integration into larger automation pipelines
- Flexible control over output XML formatting
- Reduces data transfer errors between systems
## Important: template only
Important: you are purchasing a ready-made automation workflow template only. Rollout into your infrastructure, connecting specific accounts and services, 1:1 setup help, custom adjustments for non-standard stacks and any consulting support are provided as a separate paid service at an individual rate. To discuss custom work or 1:1 help, contact via chat
No feedback yet