FlowDSL Node Catalog
Mongo FIND ONE
Fetch a single document. Emits on `found` or `missing`.
Overview
| Property | Value |
|---|---|
| Node ID | mongoops/find-one |
| Kind | router |
| Module | mongoops-flowdsl |
| Repo | go-framework |
| Handler | github.com/redelay/go-framework/modules/mongoops/flowdsl.FindOne |
| Icon | lucide:file-search |
| Color | #10b981 |
| Tags | mongo, read |
Outputs
found— (no description)missing— (no description)
Settings
| Property | Type | Required | Default | UI Group | Description |
|---|---|---|---|---|---|
collection | string | yes | — | Target | |
filterPath | string | yes | — | Query | |
outputKey | string | — | doc | Output |
Example
yaml
# Use this node in a flow:
nodes:
- id: my_step
name: My Step
kind: router
action_ref: mongoops/find-one
config:
collection: "value"
filterPath: some.packet.path
outputKey: doc