Database: Insert a document into a MongoDB collection

Insert a single document into a MongoDB collection.

Help Centre › Building Processes

Insert a single document into a MongoDB collection.

Add it to a process

In the process designer, open the Add step tab. Find Insert a document into a MongoDB collection under Database, or type its name in the search box, and drag it onto the canvas.

Fields

FieldRequiredWhat it does
CollectionYesCollection name
DocumentYesDocument to insert
VariableNoName of the variable where the result will be stored Default: inserted_id.

What it gives back

  • {inserted_id} – ID of inserted document

See all Database steps.

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.