Skip to content

MongoDB

MongoDB nodes let you query and manage documents in MongoDB databases. Each operation is a separate node.

All nodes require a MongoDB connection configured with your connection string and database name.

Nodes

Find

Query documents from a collection.

FieldDescriptionNotes
CollectionCollection nameRequired
FilterMongoDB query filter (JSON)Optional. Supports templates
ProjectionFields to include/exclude (JSON)Optional
SortSort specification (JSON, e.g., {"created_at": -1})Optional
LimitMaximum documents to returnOptional

Supports streaming — each document is emitted individually to downstream nodes.

Insert

Insert one or more documents into a collection.

FieldDescriptionNotes
CollectionCollection nameRequired
DocumentJSON document or array of documents to insertRequired. Supports templates

Update

Update documents matching a filter.

FieldDescriptionNotes
CollectionCollection nameRequired
FilterQuery filter to match documents (JSON)Required. Supports templates
UpdateUpdate operations (JSON, e.g., {"$set": {"status": "done"}})Required. Supports templates
Update ManyUpdate all matching documents (vs. just the first)Default: false

Delete

Delete documents matching a filter.

FieldDescriptionNotes
CollectionCollection nameRequired
FilterQuery filter to match documents (JSON)Required. Supports templates
Delete ManyDelete all matching documents (vs. just the first)Default: false

Aggregate

Run an aggregation pipeline on a collection.

FieldDescriptionNotes
CollectionCollection nameRequired
PipelineAggregation pipeline stages (JSON array)Required. Supports templates

Supports streaming — each result document is emitted individually.

Common Patterns

ETL from MongoDB

  1. MongoDB Find — query source documents
  2. Transform — reshape data
  3. DataStore Insert — store in the internal datastore

Update Documents from Upstream Data

  1. Google Sheets Read — fetch update data
  2. MongoDB Update — apply updates per row using template filters