AutomationFlowsGeneral › Convert CocktailDB JSON to XML

Convert CocktailDB JSON to XML

Original n8n title: Convert the JSON Data Received From the Cocktaildb API in XML

Convert The Json Data Received From The Cocktaildb Api In Xml. Uses manualTrigger, httpRequest, xml. Event-driven trigger; 3 nodes.

Event trigger★☆☆☆☆ complexity3 nodesHTTP RequestXML
General Trigger: Event Nodes: 3 Complexity: ★☆☆☆☆ Added:

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 →

Download .json
{
  "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
    }
  ],
  "connections": {
    "HTTP Request": {
      "main": [
        [
          {
            "node": "XML",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "On clicking 'execute'": {
      "main": [
        [
          {
            "node": "HTTP Request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Pro

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 →

More General workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

General

A minimal workflow to convert a Revit/IFC/DWG project into analysis-ready XLSX (and optional DAE) with a single run. Set two variables, execute, and the converter does the rest. Inputs: and (RVT/IFC/D

Execute Command
General

Description:

Google Drive, Google Drive Trigger
General

Convert Document for Knowledge Base. Uses n8n-nodes-iterationlayer. Event-driven trigger; 4 nodes.

N8N Nodes Iterationlayer
General

Convert Image Format. Uses n8n-nodes-iterationlayer. Event-driven trigger; 4 nodes.

N8N Nodes Iterationlayer
General

Convert the JSON data received from the CocktailDB API in XML. Uses manualTrigger, httpRequest, xml. Event-driven trigger; 3 nodes.

HTTP Request, XML