CocktailDB JSON to XML Converter Workflow

Manually triggers an HTTP request to fetch random cocktail data from CocktailDB API in JSON format, then converts it to XML for easy integration with XML-based systems.

n8n
CocktailDB JSON to XML Converter Workflow

This n8n workflow automates the conversion of JSON data from the CocktailDB API into XML format. Starting with a manual trigger, it sends an HTTP GET request to 'https://www.thecocktaildb.com/api/json/v1/1/random.php' to retrieve a random cocktail recipe, including details like ingredients, instructions, and images. The XML node then transforms this JSON response into structured XML, preserving all data hierarchy.

Benefits include seamless data format conversion for legacy systems or applications requiring XML input, reducing manual effort and errors in data processing. It's ideal for developers testing API integrations or building cocktail-related apps, demos, or databases that prefer XML over JSON.

Use cases span hospitality apps (e.g., bar menus, recipe generators), educational tools for API learning, or data pipelines feeding into XML parsers in reporting tools. With just three nodes, it's lightweight, customizable (e.g., change URL for specific searches), and serves as a starter template for more complex extractions from TheCocktailDB.

$4.99
Last updated October 3, 2026
30-day money-back guarantee
Instant download
Lifetime updates included

New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.

Secure checkout powered by Stripe

Support

How to import this workflow into n8n

  1. 1Purchase or download the workflow to get the n8n workflow JSON file.
  2. 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
  3. 3Open each node marked with a credential warning and connect your own accounts and API keys.
  4. 4Run the workflow once manually to verify the data flow, then toggle it to Active.

Related Travel & Hospitality workflows

More from Halle Kowalczyk

Need this deployed? We'll set it up for you.

Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.