upsert item to array

This block is part of the mutations group and was last modified in core v13.0.4.

Field Selection Required

This block relies on a field that you select to perform its data actions. You must manually select the field you want to use in your flow using the field selector modal. To access the modal, click the white button on the block.

upsert item to array v13.0.4

inserts or updates an object within the given field by the unique key(s)

In pins 2
  • match keys required
    array

    one or multiple keys to match the object to, e.g. code field within the item object

  • item required
    object

    item to either insert or update within the given field

Out pins 1
  • mutations
    mutations

A typical wiring for upsert item to array: with values feeds the keys pin; new object feeds the object pin; the mutations out pin feeds get at index.

Studio canvas example for the upsert item to array block: typical wiring for upsert item to array.

Version history

Introduced in v13.0.4.


Back to mutations Return to the main group to view all sub-groups Back to mutations Return to the group to view all blocks within this group