detail.loadingPreview
Integrate Qdrant and Mistral AI to automatically recommend Hello Fresh recipes based on your preferences.
This n8n workflow automates the process of recommending Hello Fresh recipes by leveraging the power of Qdrant for efficient data retrieval and Mistral AI for intelligent language processing. The workflow begins by fetching the current week's menu from a Qdrant database. It then uses a Python script to insert recipe data into a local SQLite database, categorizing and tagging them for better organization. Subsequently, it utilizes Mistral AI to split and process recipe instructions and metadata. Finally, it queries Qdrant again to recommend recipes based on user-defined positive and negative criteria, acting as a personalized recipe bot for Hello Fresh.
http://qdrant:6333) and collection (hello_fresh) are correctly set up.positive and negative parameters to describe your desired recipe.
positive: Ingredients, flavors, meal types, etc.negative: Flavors to avoid, allergens, etc.To run this workflow, you will need API credentials for Mistral AI. Additionally, you need to ensure your Qdrant instance is accessible at the specified endpoint (`http://qdrant:6333`) and that the `hello_fresh` collection exists. No specific database credentials are required for the local SQLite database as it's managed by the script itself.
The `systemMessage` for the Mistral AI model explicitly states: 'Do not recommend any recipes other from the current week's menu. If there are no recipes to recommend, please ask the user to visit the website instead https://hellofresh.com.' This ensures a graceful fallback when no suitable recipes are found.
Yes, the workflow includes a JavaScript code snippet within the `ai_textSplitter` node that extracts the first 10 courses from the parsed page data (`pageData.props.pageProps.ssrPayload.courses.slice(0, 10)`). You can modify the `slice` parameters to adjust how many courses are processed. The `jsCode` and `pythonCode` sections offer further customization points for data handling and insertion.
This is a fantastic starting point for building a personalized recipe bot! The Qdrant integration for recommendations is super fast. Been tweaking the Mistral prompts to get even better suggestions. Thanks for sharing!
Anyone else struggling with the Qdrant connection? Mine keeps timing out. Is there a specific Qdrant setup I should be aware of for this workflow?
Really clean implementation of AI-driven recommendations. The SQLite part is a neat addition for local persistence. Could easily extend this to include user ratings or history for even more accurate suggestions.
{
"id": "4248ab3f-0f3b-4ed3-8dc8-b853541f908b",
"name": "Automated Hello Fresh Recipe Recommendation with Qdrant & Mistral AI",
"nodes": 0,
"category": "AI Tools",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
ID: 4248ab3f-0f3b...
Integration Guru
Connecting CRM, Notion, and Slack to automate your life.
Discover more workflows you might like
Automate Perplexity AI research and generate articles in HTML format for seamless integration.
Jumpstart your AI projects with this n8n workflow, seamlessly integrating DeepSeek's advanced Chat V3 and Reasoning R1 models. Automate conversations, complex problem-solving, and more.
Leverage the power of AI with this n8n workflow to create an intelligent assistant that interacts with your Airtable data. Seamlessly query, retrieve, and process information using natural language commands.
Turn your Apple device into a powerhouse with this n8n workflow, allowing Siri to trigger and interact with a custom AI agent. Speak your requests, and have n8n's AI Agent process them with advanced logic, delivering spoken responses directly back to you. It's hands-free, intelligent automation at your command.
This n8n workflow automates the ingestion of local files into a vector database (Qdrant) and creates an AI-powered Q&A agent using Mistral AI. It monitors a specified folder for file changes, processes the content, and makes it searchable and queryable.
Orchestrate intelligent, multi-agent AI conversations that adapt dynamically to user input. This workflow enables specialized AI assistants to collaborate, remember past interactions, and provide highly personalized responses based on real-time context and mentions.