- Integrations
- /
- MongoDB Atlas
- /
- Actions
- /
- Find MongoDB Documents
ActionMongoDB AtlasUpdated May 2026
How do I query MongoDB documents?
Short answer: Drop the "MongoDB Atlas → Find MongoDB Documents" action anywhere in your workflow, map the inputs from upstream nodes, and publish.
Inputs
The fields this action accepts.
Every field can be mapped from an upstream trigger, AI step, table row, or hard-coded literal.
| Field | Type | Required | Description |
|---|---|---|---|
Database database | string | Required | myapp_prod |
Collection collection | string | Required | users |
Filter filter | object | Optional | MongoDB query filter. `{}` returns all. Use operators: `{"status":"active"}`, `{"age":{"$gt":18}}`, `{"tags":{"$in":["a","b"]}}`. |
Projection projection | object | Optional | Fields to include/exclude: `{"_id":1, "name":1}` or `{"password":0}`. |
Sort sort | object | Optional | `{"created_at":-1}` for desc, `1` for asc. |
Limit limit | number | Optional | Max documents to return (Data API cap is 1000). |
Skip skip | number | Optional | Offset for pagination. |
Sample request
{"database": "myapp_prod","collection": "users","filter": "{{trigger.filter}}","projection": "{{trigger.projection}}","sort": "{{trigger.sort}}"}
Returns
{"documents": [{"_id": "6a02b...","name": "Jane","email": "jane@example.com"}]}
Use these fields in downstream nodes for routing, logging, or error handling.
Triggered by
Apps that pair well as the trigger for Find MongoDB Documents.
Any of these apps can fire this action as part of a workflow.
FAQ
Questions about Find MongoDB Documents.
What does the Find MongoDB Documents action do in MongoDB Atlas?
Returns documents matching a MongoDB filter from a specific collection. Standard MongoDB query syntax — supports comparison, set, boolean operators. For sync workflows or for "fetch this user's record" lookups.
What inputs does Find MongoDB Documents require?
Required: Database, Collection. Every input accepts a static value or a variable from any upstream node in your workflow.
Can I use dynamic inputs from earlier workflow nodes?
Yes. Any field on this action can pull values from upstream nodes, whether that's a form response, a trigger payload, an AI output, or a lookup result.
What happens if MongoDB Atlas returns an error?
The workflow pauses on the failed node, the error message is captured in the run log, and you can retry the run with one click. Auto-retry policies are configurable per workflow with exponential backoff up to 5 attempts.
Does Find MongoDB Documents support batch operations?
Yes. Run Find MongoDB Documents inside a Loop node to process arrays. Tiny Command handles MongoDB Atlas's rate limits automatically so you don't have to throttle manually.
More actions
Other MongoDB Atlas actions.
Action
Insert One MongoDB Document
Inserts a single document into a collection. For bulk inserts, the bulk endpoint via HTTP action is much faster per-document.
ActionUpdate One MongoDB Document
Updates a single document by filter using update operators ($set, $inc, $push). Atomic at document level. For sync workflows that incrementally update Atlas-stored state.
Send find mongodb documents from your workflows.
Triggered by anything in the catalog. Free tier available. No credit card.