
MongoDB integration
MongoDB is an open source NoSQL database management program.
What your agents can do with MongoDB
12 pre-built MongoDB tool steps, ready to drop into any agent. Anything they do not cover, an agent can reach with an authenticated API call.
Actions (8)
Update Documents
Updates many documents by query filter.
Find Document
Finds a document by a query filter.
Execute Aggregation
Execute an aggregation pipeline on a MongoDB collection.
Update a Document
Updates a single document by ID.
Search Documents
Search for specific documents or return all documents.
Find Document by Id
Retrieves a single document by ID.
Delete a Document
Delete a single document by ID.
Create New Document
Create a new document in a collection of your choice.
Triggers (4)
New Document
Emit new an event when a new document is added to a collection.
New Field in Document
Emit new an event when a new field is added to a document.
New Database
Emit new an event when a new database is added.
New Collection
Emit new an event when a new collection is added to a database.
Set up MongoDB in Relevance AI
Do this once. Every agent in your workspace can then use the connection.
Create a Relevance AI account
Sign in, or create a free account. You do not need to be a developer to set this up.
Connect your MongoDB account
In Relevance AI, open Integrations and add MongoDB, then paste your Username, Password, Hostname, and Database. You will find it in your MongoDB account settings.
Use MongoDB in an agent
Create a tool, add a MongoDB tool step, and connect it to an agent. The agent fills in the step's inputs each time it runs.
Put MongoDB to work in your agents
Connect MongoDB alongside 1,800+ other integrations and let your agents run the busywork.