n8n XML to JSON node
n8n XML to JSON node transforms XML documents into clean JSON format, handling different schemas and nested structures. Connect it to n8n for data transformation.
Trusted by industry leaders all over the world
What data you can get with n8n XML to JSON node
Convert any XML document to JSON with proper structure mapping. Handle complex nested elements and attributes. Use for API transformation or legacy system integration.
Output
{ "note": { "to": "Tove", "body": "Don't forget me this weekend!", "from": "Jani", "heading": "Reminder" }}How to set up n8n XML to JSON node with Apify
Pass XML content or URLs to the Actor. It parses the XML structure and converts it to equivalent JSON format. The Actor handles namespaces, attributes, and nested elements.
Sign up for Apify account01
Creating an account is quick and free. No credit card required. Your account gives you access to more than 20,000+ scrapers and APIs.
Get your Apify API token02
Go to Settings in Apify Console and navigate to the API & Integrations tab. There, create a new token and save it for later.
Test run Xml to Json Node03
Open Xml to Json Node in Apify Console and configure your input parameters. Click Start to run the Actor and preview the data structure you receive in your n8n workflow.
Integrate Xml to Json Node via n8n04
Add the Apify node to your n8n workflow. Select Run Actor as the operation, choose your Actor, and pass your input configuration as JSON. Enable Wait for finish to retrieve results directly in subsequent nodes.
Never get blocked
Every plan (free included) comes with Apify Proxy, which is great for avoiding blocking and giving you access to geo-specific content.
Customers love us
We truly care about the satisfaction of our users and thanks to that we're one of the best-rated data extraction platforms on both G2 and Capterra.
Monitor your runs
With our latest monitoring features, you always have immediate access to valuable insights on the status of your web scraping tasks.
Add an HTTP Request node to your n8n workflow and point it to the Apify API. Use your API token for authentication and specify the XML to JSON node Actor ID you want to run. The Actor executes and returns data directly to your workflow. You can also use n8n's dedicated Apify node if available in your version.
Yes. Apify offers a free tier with prepaid platform usage. This is enough to test Actors with your n8n workflows and run small-scale extractions. No credit card required to start.
No. You can configure Apify Actors through their web interface and connect them to n8n using the HTTP Request node - no coding required. For advanced use cases, you can customize Actor inputs or use the Apify SDK with JavaScript or Python.
Building and maintaining scrapers takes significant time. Websites change their structure, add bot detection, and block requests. Apify Actors handle all of this automatically - proxy rotation, anti-bot bypassing, error handling, and data parsing. You get reliable data without the maintenance burden.