FlowDSL Node Catalog
Mongo INSERT
Insert one or many documents.
Overview
| Property | Value |
|---|---|
| Node ID | mongoops/insert |
| Kind | action |
| Module | mongoops-flowdsl |
| Repo | go-framework |
| Handler | github.com/redelay/go-framework/modules/mongoops/flowdsl.Insert |
| Icon | lucide:plus-square |
| Color | #10b981 |
| Tags | mongo, write |
Outputs
out— (no description)
Settings
| Property | Type | Required | Default | UI Group | Description |
|---|---|---|---|---|---|
collection | string | yes | — | Target | |
documentPath | string | yes | — | Data | Path to a single doc (object) OR an array of docs. |
outputKey | string | — | inserted_id | Output |
Example
yaml
# Use this node in a flow:
nodes:
- id: my_step
name: My Step
kind: action
action_ref: mongoops/insert
config:
collection: "value"
documentPath: some.packet.path
outputKey: inserted_id