This workflow follows the HTTP Request → XML recipe pattern — see all workflows that pair these two integrations.
The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"id": "55",
"name": "Convert the JSON data received from the CocktailDB API in XML",
"nodes": [
{
"name": "On clicking 'execute'",
"type": "n8n-nodes-base.manualTrigger",
"position": [
440,
260
],
"parameters": {},
"typeVersion": 1
},
{
"name": "HTTP Request",
"type": "n8n-nodes-base.httpRequest",
"position": [
650,
260
],
"parameters": {
"url": "https://www.thecocktaildb.com/api/json/v1/1/random.php",
"options": {}
},
"typeVersion": 1
},
{
"name": "XML",
"type": "n8n-nodes-base.xml",
"position": [
850,
260
],
"parameters": {
"mode": "jsonToxml",
"options": {}
},
"typeVersion": 1
}
],
"active": false,
"settings": {},
"connections": {
"HTTP Request": {
"main": [
[
{
"node": "XML",
"type": "main",
"index": 0
}
]
]
},
"On clicking 'execute'": {
"main": [
[
{
"node": "HTTP Request",
"type": "main",
"index": 0
}
]
]
}
}
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Convert the JSON data received from the CocktailDB API in XML. Uses manualTrigger, httpRequest, xml. Event-driven trigger; 3 nodes.
Source: https://github.com/Zie619/n8n-workflows — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
💡🌐 Essential Multipage Website Scraper with Jina.ai. Uses stickyNote, manualTrigger, splitInBatches, limit. Event-driven trigger; 16 nodes.
Stopanderror Wait. Uses manualTrigger, scheduleTrigger, splitInBatches, httpRequest. Event-driven trigger; 12 nodes.
Use XMLRPC via HttpRequest-node to post on Wordpress.com. Uses manualTrigger, stickyNote, noOp, httpRequest. Event-driven trigger; 11 nodes.
Capture Website Screenshots with Bright Data Web Unlocker and Save to Disk. Uses manualTrigger, stickyNote, readWriteFile, httpRequest. Event-driven trigger; 6 nodes.
Manual Stickynote. Uses manualTrigger, httpRequest, stickyNote. Event-driven trigger; 6 nodes.