MongoDB Atlas integration

Managed MongoDB cloud database (find, insert, update, delete, aggregate)

Help Centre › Connectors

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.

  1. 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.
  2. In Atlas, open Database Access and add a database user with read and write rights on the database the process uses.
  3. In Network Access, allow the IP address of the machine the bot runs on.
  4. In Automize, open Settings → Connectors → MongoDB Atlas → Add connection.
  5. 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.

OperationCategoryWhat it does
AggregateGeneralRun an aggregation pipeline
Count DocumentsGeneralCount documents matching a filter
Delete ManyGeneralDelete all documents matching a filter
Delete OneGeneralDelete a single document matching a filter
Find DocumentsGeneralFind documents matching a filter
Find One DocumentGeneralFind a single document matching a filter
Insert ManyGeneralInsert multiple documents
Insert OneGeneralInsert a single document
List CollectionsGeneralList all collection names in the database
Update ManyGeneralUpdate all documents matching a filter
Update OneGeneralUpdate a single document matching a filter

Operations

Aggregate

Run an aggregation pipeline

ParameterRequiredTypeDescription
Collection collectionYestext
Pipeline pipelineYestextarea

Tips

  • pipeline: array of stages ($match, $group, $lookup, $project).

Count Documents

Count documents matching a filter

ParameterRequiredTypeDescription
Collection collectionYestext
Filter filterNotextarea

Delete Many

Delete all documents matching a filter

ParameterRequiredTypeDescription
Collection collectionYestext
Filter filterYestextarea

Delete One

Delete a single document matching a filter

ParameterRequiredTypeDescription
Collection collectionYestext
Filter filterYestextarea

Tips

  • First matching doc by filter.

Find Documents

Find documents matching a filter

ParameterRequiredTypeDescription
Collection collectionYestext
Filter filterNotextarea
Projection projectionNotextarea
Limit limitNonumber
Sort sortNotextarea

Tips

  • Returns array. Supports skip + limit + sort. Use for paged reads.

Find One Document

Find a single document matching a filter

ParameterRequiredTypeDescription
Collection collectionYestext
Filter filterNotextarea
Projection projectionNotextarea

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

ParameterRequiredTypeDescription
Collection collectionYestext
Documents documentsYestextarea

Tips

  • Bulk – up to 100k docs. Ordered (stop on first error) or unordered.

Insert One

Insert a single document

ParameterRequiredTypeDescription
Collection collectionYestext
Document documentYestextarea

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

ParameterRequiredTypeDescription
Collection collectionYestext
Filter filterYestextarea
Update updateYestextarea
Upsert upsertNoswitch

Update One

Update a single document matching a filter

ParameterRequiredTypeDescription
Collection collectionYestext
Filter filterYestextarea
Update updateYestextarea
Upsert upsertNoswitch

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.

Related connectors

Get started

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or have your first automation working in 7 days.