← All nodes
Input

MongoDB Input

Reads documents from a MongoDB collection — optionally filtered and narrowed to some fields — one row per document, nested fields flattened to dot paths.

When to use it

Use it to pull a collection (customer profiles, events, orders) into a flow, from Atlas or your own server.

In a pipeline

Settings

SettingTypeRequiredDefault or hint
ConnectionselectYesAdd a connection below
TableselectYesSelect a table
Filter (JSON)textarea—{"status":"active"}
Fields (JSON)textarea—{"name":1,"email":1}

Example

Active customers

  • Table=customers
  • Filter (JSON)={"status":"active"}
One row per document
_idnameaddress.citystatus
6530a1…Harbour FoodsLeedsactive

Worth knowing

  • Host takes a server name or a full mongodb+srv://… address (Atlas); the Table list shows the database's collections.
  • Filter and Fields are MongoDB JSON, e.g. {"total":{"$gt":500}} and {"name":1,"email":1}.
  • ObjectIds and dates come back as text; arrays stay as they are (JSON Parse / Flatten or JSON to Rows takes them further).

Others in Input