Recipe recommendation engine with Bright Data MCP & OpenAI 4o mini
Notice
Community nodes can only be installed on self-hosted instances of n8n.
Who this is for
Recipe Recommendation Engine with Bright Data MCP & OpenAI is a powerful automated workflow combines Bright Data's MCP for scraping trending or regional recipe data with OpenAI 4o mini to generate personalized recipe recommendations.
This automated workflow is designed for:
Food Bloggers & Culinary Creators : Who want to automate the extraction and curation of recipes from across the web to generate content, compile cookbooks, or publish newsletters.
Nutritionists & Health Coaches : Who need structured recipe data to analyze ingredients, calories, and nutrition for personalized meal planning or dietary tracking.
AI/ML Engineers & Data Scientists : Building models that classify cuisines, predict recipes from ingredients, or generate dynamic meal suggestions using clean, structured datasets.
Grocery & Meal Kit Platforms : Who aim to extract recipes to power recommendation engines, ingredient lists, or personalized meal plans.
Recipe Aggregator Startups : Looking to scale recipe data collection, filtering, and standardization across diverse cooking websites with minimal human intervention.
Developers Integrating Cooking Features : Into apps or digital assistants that offer recipe recommendations, step-by-step cooking instructions, or nutritional insights.
What problem is this workflow solving?
This workflow solves:
-
Automated recipe data extraction from any public URL
-
AI-driven structured data extraction
-
Scalable looped crawling and processing
-
Real-time notifications and data persistence
What this workflow does
1. Set Recipe Extract URL
-
Configure the recipe website URL in the input node
-
Set your Bright Data zone name and authentication
2. Paginated Data Extract
-
Triggers a paginated extraction across multiple pages (recipe listing, index, or search pages)
-
Returns a list of recipe links for processing
3. Loop Over Items
-
Loops through the array of recipe links
-
Each link is passed individually to the scraping engine
4. Bright Data MCP Client (Per Recipe)
-
Scrapes each individual recipe page using scrape_as_html
-
Smartly bypasses common anti-bot protections via Bright Data Web Unlocker
5. Structured Recipe Data Extract (via OpenAI GPT-4o mini)
-
Converts raw HTML to clean text using an LLM preprocessing node
-
Uses OpenAI GPT-4o mini to extract structured data
6. Webhook Notification
-
Pushes the structured recipe data to your configured webhook endpoint
-
Format: JSON payload, ideal for Slack, internal APIs, or dashboards
7. Save Response to Disk
- Saves the structured recipe JSON information to local file system
Pre-conditions
- You need to have a Bright Data account and do the necessary setup as mentioned in the "Setup" section below.
- You need to have an OpenAI Account.
Setup
- Sign up at Bright Data.
- Navigate to Proxies & Scraping and create a new Web Unlocker zone by selecting Web Unlocker API under Scraping Solutions.
- In n8n, configure the Header Auth account under Credentials (Generic Auth Type: Header Authentication).
The Value field should be set with the Bearer XXXXXXXXXXXXXX. The XXXXXXXXXXXXXX should be replaced by the Web Unlocker Token.
- In n8n, configure the OpenAi account credentials.
- Make sure to set the fields as part of Set the Recipe Extract URL. Remember to set the webhook_url to send a webhook notification of recipe response.
- Set the desired local path in the Write the structured content to disk node to save the recipe response.
How to customize this workflow to your needs
You can tailor the Recipe Recommendation Engine workflow to better fit your specific use case by modifying the following key components:
1. Input Fields Node
- Update the Recipe URL to target specific cuisine sites or recipe types (e.g., vegan, keto, regional dishes).
2. LLM Configuration
-
Swap out the OpenAI GPT-4o mini model with another provider (like Google Gemini) if you prefer.
-
Modify the structured data prompt to extract custom fields that you wish.
3. Webhook Notification
- Configure the Webhook Notification node to point to your preferred integration (e.g., Slack, Discord, internal APIs).
4. Storage Destination
Change the Save to Disk node to store the structured recipe data in:
-
A cloud bucket (S3, GCS, Azure Blob etc.)
-
A database (MongoDB, PostgreSQL, Firestore)
-
Google Sheets or Airtable for spreadsheet-style access.
n8n Recipe Recommendation Engine with Bright Data MCP & OpenAI 4o Mini
This n8n workflow acts as a sophisticated recipe recommendation engine. It leverages web scraping capabilities (via Bright Data's Web Scraper IDE) to gather recipe data, processes this data, and then uses OpenAI's Chat Model to generate personalized recipe recommendations. The workflow is designed to handle multiple recipe requests efficiently by batching and introducing delays to manage API rate limits.
What it does
- Triggers Manually: The workflow is initiated manually, allowing for on-demand recipe recommendations.
- Loads Bright Data Scraper Configuration: It reads a JSON configuration file from disk, which is expected to contain the setup for a Bright Data Web Scraper IDE project.
- Sets Initial Scraper Parameters: A
Functionnode dynamically sets the target URL for the Bright Data scraper based on the loaded configuration. - Executes Bright Data Scraper: It makes an HTTP request to the Bright Data Web Scraper IDE API to initiate a web scraping job, retrieving recipe data from the specified website.
- Processes Scraped Data in Batches: The scraped recipe data is then processed in batches, with a
Waitnode introduced between batches to prevent overwhelming downstream APIs or to manage rate limits. - Prepares Data for OpenAI: For each batch of scraped data, a
Functionnode transforms and formats the raw data into a structured prompt suitable for the OpenAI Chat Model. - Generates Recipe Recommendations with OpenAI: It utilizes the OpenAI Chat Model (specifically
gpt-4o-mini) through aBasic LLM Chainto generate recipe recommendations based on the processed scraped data. - Parses Structured Output: A
Structured Output Parsernode extracts and formats the recommendations from OpenAI's response into a usable structured JSON format. - Final Data Transformation: A
Codenode performs any final data transformations or cleanup on the generated recommendations before the workflow concludes.
Prerequisites/Requirements
- n8n Instance: A running n8n instance.
- Bright Data Account: An account with Bright Data and an active Web Scraper IDE project configured to scrape recipe data.
- Bright Data API Key: For authenticating HTTP requests to the Bright Data API.
- Bright Data Scraper ID: The ID of your specific Web Scraper IDE project.
- OpenAI API Key: An API key for OpenAI, with access to the
gpt-4o-minimodel. - Local File System Access: The n8n instance needs access to its local file system to read the Bright Data scraper configuration JSON file.
- Scraper Configuration File: A JSON file named
bright_data_scraper_config.jsonlocated in the n8n execution environment, containing the Bright Data scraper's target URL and other necessary parameters.
Setup/Usage
- Import the Workflow: Import the provided JSON into your n8n instance.
- Configure Credentials:
- Bright Data: Set up an HTTP Request credential for Bright Data, using your API key. The HTTP Request node (
HTTP Request) will need to be configured with this credential. - OpenAI: Set up an OpenAI Chat Model credential using your OpenAI API key. The
OpenAI Chat Modelnode will use this credential.
- Bright Data: Set up an HTTP Request credential for Bright Data, using your API key. The HTTP Request node (
- Create
bright_data_scraper_config.json:- Create a JSON file named
bright_data_scraper_config.jsonin a location accessible by your n8n instance (e.g., in the n8n data directory or a specified path). - This file should contain the initial configuration for your Bright Data scraper, including the
targetUrlfor the recipes. - Example content:
Replace{ "targetUrl": "https://example.com/recipes", "scraperId": "YOUR_BRIGHT_DATA_SCRAPER_ID" }https://example.com/recipeswith your actual target recipe URL andYOUR_BRIGHT_DATA_SCRAPER_IDwith your Bright Data Scraper ID.
- Create a JSON file named
- Adjust Node Parameters:
- Read/Write Files from Disk: Ensure the "File Path" in this node points to the correct location of your
bright_data_scraper_config.jsonfile. - HTTP Request (Bright Data): Verify the "URL" and "Authentication" settings are correct for your Bright Data Web Scraper IDE API endpoint.
- Loop Over Items (Split in Batches): Adjust the "Batch Size" and "Delay Between Batches" as needed to optimize performance and respect API rate limits.
- OpenAI Chat Model: Confirm that the "Model" is set to
gpt-4o-minior your preferred OpenAI chat model.
- Read/Write Files from Disk: Ensure the "File Path" in this node points to the correct location of your
- Execute the Workflow: Click "Execute Workflow" in the n8n editor to run the workflow manually and generate recipe recommendations.
Related Templates
Auto-create TikTok videos with VEED.io AI avatars, ElevenLabs & GPT-4
๐ฅ Viral TikTok Video Machine: Auto-Create Videos with Your AI Avatar --- ๐ฏ Who is this for? This workflow is for content creators, marketers, and agencies who want to use Veed.ioโs AI avatar technology to produce short, engaging TikTok videos automatically. Itโs ideal for creators who want to appear on camera without recording themselves, and for teams managing multiple brands who need to generate videos at scale. --- โ๏ธ What problem this workflow solves Manually creating videos for TikTok can take hours โ finding trends, writing scripts, recording, and editing. By combining Veed.io, ElevenLabs, and GPT-4, this workflow transforms a simple Telegram input into a ready-to-post TikTok video featuring your AI avatar powered by Veed.io โ speaking naturally with your cloned voice. --- ๐ What this workflow does This automation links Veed.ioโs video-generation API with multiple AI tools: Analyzes TikTok trends via Perplexity AI Writes a 10-second viral script using GPT-4 Generates your voiceover via ElevenLabs Uses Veed.io (Fabric 1.0 via FAL.ai) to animate your avatar and sync the lips to the voice Creates an engaging caption + hashtags for TikTok virality Publishes the video automatically via Blotato TikTok API Logs all results to Google Sheets for tracking --- ๐งฉ Setup Telegram Bot Create your bot via @BotFather Configure it as the trigger for sending your photo and theme Connect Veed.io Create an account on Veed.io Get your FAL.ai API key (Veed Fabric 1.0 model) Use HTTPS image/audio URLs compatible with Veed Fabric Other APIs Add Perplexity, ElevenLabs, and Blotato TikTok keys Connect your Google Sheet for logging results --- ๐ ๏ธ How to customize this workflow Change your Avatar: Upload a new image through Telegram, and Veed.io will generate a new talking version automatically. Modify the Script Style: Adjust the GPT prompt for tone (educational, funny, storytelling). Adjust Voice Tone: Tweak ElevenLabs stability and similarity settings. Expand Platforms: Add Instagram, YouTube Shorts, or X (Twitter) posting nodes. Track Performance: Customize your Google Sheet to measure your most successful Veed.io-based videos. --- ๐ง Expected Outcome In just a few seconds after sending your photo and theme, this workflow โ powered by Veed.io โ creates a fully automated TikTok video featuring your AI avatar with natural lip-sync and voice. The result is a continuous stream of viral short videos, made without cameras, editing, or effort. --- โ Import the JSON file in n8n, add your API keys (including Veed.io via FAL.ai), and start generating viral TikTok videos starring your AI avatar today! ๐ฅ Watch This Tutorial --- ๐ Documentation: Notion Guide Need help customizing? Contact me for consulting and support : Linkedin / Youtube
Track competitor SEO keywords with Decodo + GPT-4.1-mini + Google Sheets
This workflow automates competitor keyword research using OpenAI LLM and Decodo for intelligent web scraping. Who this is for SEO specialists, content strategists, and growth marketers who want to automate keyword research and competitive intelligence. Marketing analysts managing multiple clients or websites who need consistent SEO tracking without manual data pulls. Agencies or automation engineers using Google Sheets as an SEO data dashboard for keyword monitoring and reporting. What problem this workflow solves Tracking competitor keywords manually is slow and inconsistent. Most SEO tools provide limited API access or lack contextual keyword analysis. This workflow solves that by: Automatically scraping any competitorโs webpage with Decodo. Using OpenAI GPT-4.1-mini to interpret keyword intent, density, and semantic focus. Storing structured keyword insights directly in Google Sheets for ongoing tracking and trend analysis. What this workflow does Trigger โ Manually start the workflow or schedule it to run periodically. Input Setup โ Define the website URL and target country (e.g., https://dev.to, france). Data Scraping (Decodo) โ Fetch competitor web content and metadata. Keyword Analysis (OpenAI GPT-4.1-mini) Extract primary and secondary keywords. Identify focus topics and semantic entities. Generate a keyword density summary and SEO strength score. Recommend optimization and internal linking opportunities. Data Structuring โ Clean and convert GPT output into JSON format. Data Storage (Google Sheets) โ Append structured keyword data to a Google Sheet for long-term tracking. Setup Prerequisites If you are new to Decode, please signup on this link visit.decodo.com n8n account with workflow editor access Decodo API credentials OpenAI API key Google Sheets account connected via OAuth2 Make sure to install the Decodo Community node. Create a Google Sheet Add columns for: primarykeywords, seostrengthscore, keyworddensity_summary, etc. Share with your n8n Google account. Connect Credentials Add credentials for: Decodo API credentials - You need to register, login and obtain the Basic Authentication Token via Decodo Dashboard OpenAI API (for GPT-4o-mini) Google Sheets OAuth2 Configure Input Fields Edit the โSet Input Fieldsโ node to set your target site and region. Run the Workflow Click Execute Workflow in n8n. View structured results in your connected Google Sheet. How to customize this workflow Track Multiple Competitors โ Use a Google Sheet or CSV list of URLs; loop through them using the Split In Batches node. Add Language Detection โ Add a Gemini or GPT node before keyword analysis to detect content language and adjust prompts. Enhance the SEO Report โ Expand the GPT prompt to include backlink insights, metadata optimization, or readability checks. Integrate Visualization โ Connect your Google Sheet to Looker Studio for SEO performance dashboards. Schedule Auto-Runs โ Use the Cron Node to run weekly or monthly for competitor keyword refreshes. Summary This workflow automates competitor keyword research using: Decodo for intelligent web scraping OpenAI GPT-4.1-mini for keyword and SEO analysis Google Sheets for live tracking and reporting Itโs a complete AI-powered SEO intelligence pipeline ideal for teams that want actionable insights on keyword gaps, optimization opportunities, and content focus trends, without relying on expensive SEO SaaS tools.
Generate song lyrics and music from text prompts using OpenAI and Fal.ai Minimax
Spark your creativity instantly in any chatโturn a simple prompt like "heartbreak ballad" into original, full-length lyrics and a professional AI-generated music track, all without leaving your conversation. ๐ What This Template Does This chat-triggered workflow harnesses AI to generate detailed, genre-matched song lyrics (at least 600 characters) from user messages, then queues them for music synthesis via Fal.ai's minimax-music model. It polls asynchronously until the track is ready, delivering lyrics and audio URL back in chat. Crafts original, structured lyrics with verses, choruses, and bridges using OpenAI Submits to Fal.ai for melody, instrumentation, and vocals aligned to the style Handles long-running generations with smart looping and status checks Returns complete song package (lyrics + audio link) for seamless sharing ๐ง Prerequisites n8n account (self-hosted or cloud with chat integration enabled) OpenAI account with API access for GPT models Fal.ai account for AI music generation ๐ Required Credentials OpenAI API Setup Go to platform.openai.com โ API keys (sidebar) Click "Create new secret key" โ Name it (e.g., "n8n Songwriter") Copy the key and add to n8n as "OpenAI API" credential type Test by sending a simple chat completion request Fal.ai HTTP Header Auth Setup Sign up at fal.ai โ Dashboard โ API Keys Generate a new API key โ Copy it In n8n, create "HTTP Header Auth" credential: Name="Fal.ai", Header Name="Authorization", Header Value="Key [Your API Key]" Test with a simple GET to their queue endpoint (e.g., /status) โ๏ธ Configuration Steps Import the workflow JSON into your n8n instance Assign OpenAI API credentials to the "OpenAI Chat Model" node Assign Fal.ai HTTP Header Auth to the "Generate Music Track", "Check Generation Status", and "Fetch Final Result" nodes Activate the workflowโchat trigger will appear in your n8n chat interface Test by messaging: "Create an upbeat pop song about road trips" ๐ฏ Use Cases Content Creators: YouTubers generating custom jingles for videos on the fly, streamlining production from idea to audio export Educators: Music teachers using chat prompts to create era-specific folk tunes for classroom discussions, fostering interactive learning Gift Personalization: Friends crafting anniversary R&B tracks from shared memories via quick chats, delivering emotional audio surprises Artist Brainstorming: Songwriters prototyping hip-hop beats in real-time during sessions, accelerating collaboration and iteration โ ๏ธ Troubleshooting Invalid JSON from AI Agent: Ensure the system prompt stresses valid JSON; test the agent standalone with a sample query Music Generation Fails (401/403): Verify Fal.ai API key has minimax-music access; check usage quotas in dashboard Status Polling Loops Indefinitely: Bump wait time to 45-60s for complex tracks; inspect fal.ai queue logs for bottlenecks Lyrics Under 600 Characters: Tweak agent prompt to enforce fuller structures like [V1][C][V2][B][C]; verify output length in executions