Build a Movie Recommendation Chatbot with n8n, Qdrant & OpenAI

Discover how to automate personalized movie recommendations using n8n with Qdrant vector search and OpenAI embeddings. This workflow handles movie data ingestion, indexing, and chat-based recommendations, saving hours of manual searching.
manualTrigger
github
chatTrigger
+24
Workflow Identifier: 1043
NODES in Use: Manual Trigger, GitHub, Extract from File, Embeddings OpenAI, Default Data Loader, Token Splitter, Qdrant Vector Store, When chat message received, OpenAI Chat Model, Call n8n Workflow Tool, Window Buffer Memory, Execute Workflow Trigger, Merge, Split Out, Split Out1, Merge1, Aggregate, AI Agent, Embedding Recommendation Request with Open AI, Embedding Anti-Recommendation Request with Open AI, Extracting Embedding, Extracting Embedding1, Calling Qdrant Recommendation API, Retrieving Recommended Movies Meta Data, Selecting Fields Relevant for Agent, Sticky Note, Sticky Note1
Automate movie chatbot with n8n and OpenAI

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

What This Automation Does

This workflow automates movie recommendations using n8n integrated with GitHub, Qdrant, and OpenAI.

It solves the problem of manual movie searching and mismatched suggestions.

The output is a chatbot that quickly gives personalized movie picks based on user likes and dislikes.

It fetches a Top 1000 IMDb movies list from GitHub, processes descriptions, creates embeddings with OpenAI, stores them in Qdrant, and uses similarity search for recommendations.

User chat inputs with examples of preferred and disliked movies guide the system.

The AI agent uses GPT-4o-mini to deliver well-written recommendations in chat.


How This Workflow Works: Inputs, Processing, and Outputs

Inputs

  • CSV file of Top 1000 IMDb movies from GitHub
  • User chat messages with movies they like or dislike
  • OpenAI API keys for embeddings and chat model
  • Qdrant API credentials for vector database access

Processing Steps

  • Download and parse CSV to extract movie name, description, and year
  • Split descriptions into tokens for embedding
  • Generate vector embeddings for descriptions with OpenAI’s embedding model
  • Upload vectors and metadata to Qdrant for indexing
  • When users send chat messages, extract positive and negative movie examples
  • Convert user input samples into embeddings for preferences and anti-preferences
  • Query Qdrant recommendation API with these embeddings to find top 3 similar movies, excluding disliked traits
  • Retrieve detailed data on recommended movies from Qdrant
  • Prepare formatted data for AI agent to create a conversational response
  • Use GPT-4o-mini chat model to polish the response and send back to user

Outputs

  • Top 3 recommended movies matching user tastes
  • Chatbot reply containing movie names, descriptions, release years, and reasons

Who Should Use This Workflow

Content creators who want fast, accurate movie recommendations without manual searching.

Small teams or hobbyists curious about combining AI embeddings, vector search, and chatbots in n8n.

Developers or automation fans seeking to build personalized recommendation systems without coding from scratch.


Tools and Services Used

  • n8n Automation Platform: Hosts and runs the workflow
  • GitHub API: Fetches movie dataset CSV
  • OpenAI API: Generates embeddings and runs GPT-4o-mini chat model
  • Qdrant Vector Database API: Stores and searches movie vector embeddings

Beginner Step-by-Step: How to Use This Workflow in n8n Production

1. Importing the Workflow

  1. Download the workflow file using the Download button on this page.
  2. Open the n8n editor where you want to run the workflow.
  3. Go to the menu and select “Import from File”.
  4. Choose the downloaded workflow file to add it to your n8n workflows.

2. Configure Credentials and Settings

  1. Open each node that needs API access, like GitHub, OpenAI, and Qdrant Vector Store.
  2. Enter your API Key or credentials in the credential manager for each service.
  3. Check nodes where IDs, emails, channels, folders, or table names appear and update them if needed.
  4. For example, verify that the GitHub repo name is mrscoopers/n8n_demo or change to your repo with the movies CSV.

3. Test the Workflow

  1. Find the Manual Trigger named “When clicking ‘Test workflow’”.
  2. Click Execute Workflow to start data ingestion and vector uploading.
  3. Watch execution progress to ensure no errors occur and movie data loads into Qdrant.

4. Activate for Production Use

  1. Once tests finish well, toggle the workflow to Active.
  2. Connect your chat platform to the When chat message received webhook node by copying its webhook URL.
  3. Deploy your chat client using the webhook URL so user messages reach this flow.
  4. Monitor workflow runs and logs via n8n to check smooth operation.
  5. Optionally, consider self-host n8n for better control or privacy.

Customization Ideas

  • Change recommendation priorities by editing the system message in the AI Agent node.
  • Use a different OpenAI embedding model in the Embeddings OpenAI node to try richer vector features.
  • Switch out the GitHub CSV node source to your own movie dataset or connect a Google Sheets node to update dynamically.
  • Adjust the name or structure of the Qdrant collection in the Qdrant Vector Store node to separate categories.
  • Set the number of recommendations by changing the “limit” value in the Calling Qdrant Recommendation API node.

Troubleshooting Tips

401 Unauthorized from OpenAI API

Cause: Wrong or expired OpenAI API key in credentials.

Solution: Update the key in n8n credentials manager, test with a simple node call.

No Movie Recommendations Returned

Cause: Qdrant collection empty or data not loaded correctly.

Solution: Re-run the Manual Trigger node to fetch and upload movie data again.

Chat Trigger Not Responding

Cause: Webhook config incorrect or node not active.

Solution: Verify the When chat message received webhook node’s webhook ID and activation status.

Pre-Production Checklist

  • Confirm all API credentials: GitHub, OpenAI, Qdrant are valid in n8n.
  • Test manual data upload and check data appear in Qdrant.
  • Run test chats using positive and negative movie examples to verify recommendations.
  • Check webhook URLs and ensure they are reachable from chat clients.
  • Backup the workflow JSON file before making big changes.

Deployment Guide

Switch the workflow status to Active inside n8n editor.

Connect the When chat message received webhook to the chat app you want to use.

Monitor workflow logs to track errors or API quota limits.

Optionally, for privacy or more control, run self-host n8n.


Summary

✓ Saves you time by automating movie data fetching and recommendation generation.

✓ Uses AI embeddings and vector search for better matching user preferences.

✓ Chatbot interface delivers personalized movie picks quickly and naturally.

→ Produces top 3 movie suggestions with descriptions tailored to user likes and dislikes.

→ Scales easily by updating movie datasets or tuning AI models.


Automate movie chatbot with n8n and OpenAI

Visit through Desktop to Interact with the Workflow.

Frequently Asked Questions

The workflow requires API keys for GitHub, OpenAI (for embeddings and GPT-4o-mini), and Qdrant vector database.
Movies are converted to vector embeddings and stored in Qdrant. The database is then queried for similarity recommendations based on user preferences.
Yes, the number is controlled by changing the “limit” value in the Qdrant Recommendation API node.
Activate the workflow in n8n, connect the chat app to the webhook URL from the “When chat message received” node, and the workflow will respond to user movie requests.

Promoted by BULDRR AI

Related Workflows

Automate Twist Channel Creation and Messaging with n8n

This workflow automates creating and updating a channel in Twist and sending a personalized message to specific users. It eliminates manual setup errors and saves time managing Twist communications.

Automate Ideogram Image Generation with Google Sheets & Gmail

This workflow automates graphic design image generation via Ideogram AI, storing image data in Google Sheets and Google Drive, with email alerts via Gmail. It saves designers hours by automating image creation, remixing, review, and record-keeping.

Automate IT Support with Slack and OpenAI in n8n

Streamline IT support by automating Slack message handling using n8n and OpenAI. This workflow handles Slack DMs, filters bots, queries a Confluence knowledge base, and delivers AI-generated responses, improving support efficiency and response time.

Automate Crypto Analysis with CoinMarketCap & n8n AI Agent

Discover how this unique n8n workflow leverages CoinMarketCap’s multi-agent AI to deliver precise, real-time cryptocurrency insights directly via Telegram. Manage crypto data analysis efficiently with automated multi-source API integration.

Automate Gumroad to Beehiiv Subscriber Sync with n8n

Learn how to automatically add new Gumroad sales customers as Beehiiv newsletter subscribers using n8n automation. This workflow saves time by syncing sales data to Google Sheets CRM and notifying your Telegram channel instantly.

Generate On-Brand Blog Articles Using n8n and OpenAI

This workflow automates the creation of on-brand blog articles by analyzing existing company content using n8n and OpenAI. It extracts article structures and brand voice to produce consistent draft articles, saving significant content creation time.
1:1 Free Strategy Session
Your competitors are already automating. Are you still paying for it manually?

Do you want to adopt AI Automation?

Every hour your team does repetitive work, you're burning real money.
While you wait, faster businesses are cutting costs and moving quicker.
AI and automations aren't the future anymore — they're the present.

Book a live 1-on-1 session where we show you exactly which of your daily tasks can be automated — and what it’s costing you not to.