Portal Community
11 operations across 2 resources. The document resource covers the full CRUD lifecycle plus aggregation pipelines: insert, find, findOneAndUpdate, findOneAndReplace, update, delete, and aggregate. The searchindex resource manages MongoDB Atlas Search indexes: list, create, update, and drop. Each operation is documented on its own page with configuration reference, sample configurations, output schema, expression reference, and workflow examples.

Authentication

All MongoDB operations share a single connection string. The connection string encodes the host, credentials, and optional target database in one value:

PropertyTypeDescription
ConnectionUricredentialFull MongoDB connection string including username, password, and cluster host. Example: mongodb+srv://appuser:s3cr3t@cluster0.abc12.mongodb.net/. Store in BizFirst Credentials Manager — never hard-code in workflow expressions. Reference via {{ $credentials.mongodbAtlas }}.
DatabasestringThe target database name within the cluster. Specified per-operation so the same credential can reach multiple databases in the same workflow.
CollectionstringThe target collection within the database. MongoDB creates the collection on first write if it does not already exist.
Atlas Search index operations require MongoDB Atlas. The searchindex/list, searchindex/create, searchindex/update, and searchindex/drop operations use the Atlas Search Index Management API and are not available on self-hosted MongoDB or MongoDB Community Edition. Your Atlas cluster must be M10 tier or above — shared-tier M0, M2, and M5 clusters do not support programmatic Atlas Search index management.
Document Operations

document/insert 20400

Insert one or more documents into a collection. Supports ordered and unordered bulk writes. Returns inserted IDs for all successful documents.

document/find 20401

Query a collection with a filter, sort, projection, and limit. Returns a document array suitable for passing directly to a Loop node.

document/findOneAndUpdate 20402

Atomically find the first matching document and apply update operators. Optionally upsert and return the document before or after the update.

document/findOneAndReplace 20403

Atomically find the first matching document and replace it entirely with a new document. Supports upsert and return-new-document modes.

document/update 20404

Apply update operators to one or all matching documents. Use UpdateMany: false to limit to the first match, or UpdateMany: true (default) to update every match.

document/delete 20405

Delete one or all documents matching a filter. Returns the count of deleted documents. Irreversible — use with a carefully scoped query filter.

document/aggregate 20406

Execute a full MongoDB Aggregation Pipeline. Supports $match, $group, $lookup, $unwind, $project, and all other pipeline stages including Atlas $search.

Search Index Operations

searchindex/list 20407

List all Atlas Search indexes defined on a collection. Returns index names, statuses, and their full definition objects.

searchindex/create 20408

Create a new Atlas Search index with a custom field mapping definition. The index builds asynchronously after creation.

searchindex/update 20409

Replace the definition of an existing Atlas Search index. The index rebuilds automatically after the update completes.

searchindex/drop 20410

Permanently delete an Atlas Search index by name. The underlying collection data is unaffected. Irreversible.