Database: Update a document in a MongoDB collection

Update a single document in a MongoDB collection.

Help Centre › Building Processes

Update a single document in a MongoDB collection.

Add it to a process

In the process designer, open the Add step tab. Find Update a document in 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
FilterYesQuery filter to match document
UpdateYesUpdate operations
VariableNoName of the variable where the result will be stored Default: modified_count.
UpsertNoInsert if no match found Default: off.

What it gives back

  • {modified_count} – Number of documents modified

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.