Overview
MongoDB Atlas is MongoDB's managed cloud database service – runs on AWS, Azure, GCP. The Automize MongoDB Atlas connector covers document reads and writes, connecting straight to the cluster with the MongoDB driver.
- Regions: Cluster lives in one or more regions. Multi-region for global apps.
- Plans: Shared (free M0/M2/M5), Dedicated (M10+), Serverless (pay-per-RPU).
Setting up the connection
Auth type: HTTP Basic.
- MongoDB retired the Atlas Data API in September 2025. Automize now connects straight to the cluster as a database user, so there is no API key to create.
- In Atlas, open Database Access and add a database user with read and write rights on the database the process uses.
- In Network Access, allow the IP address of the machine the bot runs on.
- In Automize, open Settings → Connectors → MongoDB Atlas → Add connection.
- Copy the connection string from Connect → Drivers and paste it in Connection string, and enter the Database the process works in. If the string has no user name and password in it, enter them in Username and Password.
Find your credentials at https://cloud.mongodb.com/.
Rate limits
No API rate limit – the connector talks to the cluster directly. The cluster tier sets the limits: free and shared tiers cap connections and operations per second.
Data model
MongoDB primitives:
Project ─── Cluster ─── Databases ─── Collections ─── Documents (BSON)
└─ Atlas Search (text + vector indexes)Available operations
11 operations available. Click any row to jump to its detail.
| Operation | Category | What it does |
|---|---|---|
| Aggregate | General | Run an aggregation pipeline |
| Count Documents | General | Count documents matching a filter |
| Delete Many | General | Delete all documents matching a filter |
| Delete One | General | Delete a single document matching a filter |
| Find Documents | General | Find documents matching a filter |
| Find One Document | General | Find a single document matching a filter |
| Insert Many | General | Insert multiple documents |
| Insert One | General | Insert a single document |
| List Collections | General | List all collection names in the database |
| Update Many | General | Update all documents matching a filter |
| Update One | General | Update a single document matching a filter |
Operations
Aggregate
Run an aggregation pipeline
| Parameter | Required | Type | Description |
|---|---|---|---|
Collection collection | Yes | text | |
Pipeline pipeline | Yes | textarea |
Tips
- pipeline: array of stages ($match, $group, $lookup, $project).
Count Documents
Count documents matching a filter
| Parameter | Required | Type | Description |
|---|---|---|---|
Collection collection | Yes | text | |
Filter filter | No | textarea |
Delete Many
Delete all documents matching a filter
| Parameter | Required | Type | Description |
|---|---|---|---|
Collection collection | Yes | text | |
Filter filter | Yes | textarea |
Delete One
Delete a single document matching a filter
| Parameter | Required | Type | Description |
|---|---|---|---|
Collection collection | Yes | text | |
Filter filter | Yes | textarea |
Tips
- First matching doc by filter.
Find Documents
Find documents matching a filter
| Parameter | Required | Type | Description |
|---|---|---|---|
Collection collection | Yes | text | |
Filter filter | No | textarea | |
Projection projection | No | textarea | |
Limit limit | No | number | |
Sort sort | No | textarea |
Tips
- Returns array. Supports skip + limit + sort. Use for paged reads.
Find One Document
Find a single document matching a filter
| Parameter | Required | Type | Description |
|---|---|---|---|
Collection collection | Yes | text | |
Filter filter | No | textarea | |
Projection projection | No | textarea |
Tips
- filter: MongoDB query syntax e.g. {email:'foo@bar.com'}.
- projection: {field1:1, field2:1} to limit returned fields.
Insert Many
Insert multiple documents
| Parameter | Required | Type | Description |
|---|---|---|---|
Collection collection | Yes | text | |
Documents documents | Yes | textarea |
Tips
- Bulk – up to 100k docs. Ordered (stop on first error) or unordered.
Insert One
Insert a single document
| Parameter | Required | Type | Description |
|---|---|---|---|
Collection collection | Yes | text | |
Document document | Yes | textarea |
Tips
- document: full BSON object. Returns insertedId.
List Collections
List all collection names in the database
No input parameters.
Update Many
Update all documents matching a filter
| Parameter | Required | Type | Description |
|---|---|---|---|
Collection collection | Yes | text | |
Filter filter | Yes | textarea | |
Update update | Yes | textarea | |
Upsert upsert | No | switch |
Update One
Update a single document matching a filter
| Parameter | Required | Type | Description |
|---|---|---|---|
Collection collection | Yes | text | |
Filter filter | Yes | textarea | |
Update update | Yes | textarea | |
Upsert upsert | No | switch |
Tips
- filter to match + update object ({$set:{...}, $inc:{...}}).
- upsert=true creates if not found.
FAQ
- What happened to the Data API?
- MongoDB retired the Atlas Data API in September 2025. Automize now connects with the database driver, so set up a database user instead of an API key.
- Why is my $lookup slow?
- Add indexes on the joined field. Atlas Search for full-text. Avoid $lookup on large collections without indexes.