Connectors

Databases & Data Warehouses

MongoDB

Document database: find, insert, update, and aggregate JSON-like documents
MongoDB documentationAPI checked August 18, 2026
Signs in with
Connection details
Runs on
Cloud or On-Prem Worker
Operations
20
Ready-made triggers
0

Connect MongoDB

  1. In Neblex open Connect › Connections and click New Connection.
  2. Search for MongoDB and give the connection a clear name.
  3. Fill in the fields. Secret values are encrypted and never shown again.
  4. Click Test, then Create Connection.
If the system is only reachable inside your network, choose an On-Prem Worker under Test from and run the flow on that Worker. See On-Prem Workers.
FieldWhat to enter
Connection setupRequired
HostRequired
PortOptionalExample: 27017
DatabaseRequired
UsernameOptional
PasswordOptionalSecret
Use TLSOptionalTurning this off sends traffic and credentials without transport encryption. Use plaintext only for a customer-controlled endpoint that explicitly requires it.
Connection stringRequiredSecretPaste a mongodb:// or mongodb+srv:// connection string. Only the guarded runtime's allow-listed URI options are accepted.

Use it in a flow

  1. Open a flow, open the node library and search for MongoDB.
  2. Drag it onto the canvas and choose an Operation and your connection.
  3. Map the operation's fields from earlier steps, or click Map with Matt.
  4. Use Test this step to see what it returns, then save.

To start a flow from MongoDB without a ready-made trigger: a Poll for changes trigger on MongoDB with your own query passes on new or changed records.

Operations

20 operations in 4 groups. Each one is a step you can add to a flow.

Admin7
Create a collectioncreateCollectionCreate a new collection.
Create an indexcreateIndexCreate an index from a keys document.
Drop a collectiondropCollectionDelete a collection and all its documents.
Drop an indexdropIndexRemove an index by name.
List collectionslistCollectionsThe collection names in the database.
List indexeslistIndexesThe indexes on a collection.
Run a database commandrunCommandRun any MongoDB database command (the arbitrary escape hatch).
Connection1
Test MongoDBpingRun the server ping command against the configured database.
Read5
Count documentscountDocumentsThe number of documents matching the filter.
Distinct valuesdistinctThe distinct values of a field across matching documents.
Find documentsfindQuery a collection; each matching document becomes one record.
Find one documentfindOneThe first document matching the filter, or nothing.
Run an aggregationaggregateRun an aggregation pipeline; each result document becomes one record.
Write7
Delete many documentsdeleteManyDelete every matching document.
Delete one documentdeleteOneDelete the first matching document.
Insert a documentinsertOneInsert one document; returns its inserted id.
Insert many documentsinsertManyInsert a JSON array of documents.
Replace a documentreplaceOneReplace the first matching document wholesale.
Update many documentsupdateManyApply an update to every matching document.
Update one documentupdateOneApply an update to the first matching document.