Fetch & Save Random CocktailDB Data as JSON File
Manually triggers an HTTP request to CocktailDB API for random cocktail data, converts it to binary, and saves as 'cocktail.json' file.
This workflow demonstrates a simple yet effective automation for extracting data from the CocktailDB API and persisting it locally as a JSON file. It begins with a manual trigger, allowing users to execute it on demand. The core functionality involves an HTTP Request node fetching a random cocktail recipe from 'https://www.thecocktaildb.com/api/json/v1/1/random.php', which returns structured JSON data including ingredients, instructions, and images.
Following the API call, the Move Binary Data
- Platform
- n8n
- Category
- File & Document Management
- Price
- $4.99
- Creator
- Samir Steiner
- API Integration
- JSON Export
- File Storage
- Data Extraction
- CocktailDB
- HTTP Request
- Automation Demo
- Manual Trigger
- Binary Conversion
How to import this workflow into n8n
- 1Purchase or download the workflow to get the n8n workflow JSON file.
- 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
- 3Open each node marked with a credential warning and connect your own accounts and API keys.
- 4Run the workflow once manually to verify the data flow, then toggle it to Active.
Related File & Document Management workflows
- Automate Invoice Data Extraction to Airtable with OCR and AI$14.99
- Automate PDF Invoice Creation from Google Sheets Using PDF.co$4.99
- Create Custom PDF Documents from Templates with Gemini & Google Drive$24.99
- Automatically Save and Organize Outlook Email Attachments in OneDrive Folders$9.99
- Automate Invoice Data Extraction from Google Drive to Google Sheets with Mistral OCR$14.99
- Convert Files to Markdown with Datalab.to API in n8n$9.99
More from Samir Steiner
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.