Turn chat messages into live movie picks from your MongoDB data. Great for marketing and content teams that want to guide viewers and capture favorites in one place. It delivers fast answers and saves user choices for follow up campaigns.
A public webhook receives each chat message. The OpenAI chat model understands the intent, while a short memory keeps the last ten turns so replies stay on topic. The agent can run a MongoDB aggregation on the movies collection using a pipeline it builds from the question, like filter by rating or genre. It can also call a separate insert flow to save a favorite title in the database. The result is a smart chat that searches your catalog and logs interest in the same thread.
You need an OpenAI API key and a MongoDB connection string. Point your chat UI to the webhook and confirm the insert tool targets the right collection and title field. Expect faster curation, new first party data, and clear signals for remarketing and email promos.