ActionMongoDB AtlasUpdated September 2026

How do I query MongoDB documents?

Short answer: You can find mongodb documents in MongoDB Atlas by hand from its own interface, but it won’t repeat itself. On TinyCommand, add the MongoDB Atlas Find MongoDB Documents action to a workflow, map its 7 inputs from any upstream app, and it runs automatically every time the trigger fires. No code, and a free tier to start.

Find MongoDB Documents in MongoDB Atlas — start free
Inputs

The fields this action accepts.

Every field can be mapped from an upstream trigger, AI step, table row, or hard-coded literal.

FieldTypeRequiredDescription
Database
database
stringRequiredmyapp_prod
Collection
collection
stringRequiredusers
Filter
filter
objectOptionalMongoDB query filter. `{}` returns all. Use operators: `{"status":"active"}`, `{"age":{"$gt":18}}`, `{"tags":{"$in":["a","b"]}}`.
Projection
projection
objectOptionalFields to include/exclude: `{"_id":1, "name":1}` or `{"password":0}`.
Sort
sort
objectOptional`{"created_at":-1}` for desc, `1` for asc.
Limit
limit
numberOptionalMax documents to return (Data API cap is 1000).
Skip
skip
numberOptionalOffset 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 run history shows the failed step with its input and the error message MongoDB Atlas returned, so you can fix the input and run the workflow again. Automatic retries are built into HTTP steps only, where you can also set your own retry count and delay.
Does Find MongoDB Documents support batch operations?
Run Find MongoDB Documents inside a loop to process each item in an array. TinyCommand does not throttle calls for you, so for large arrays add a Delay step if you need to stay within MongoDB Atlas's rate limits.
More actions

Other MongoDB Atlas actions.

Find MongoDB Documents in MongoDB Atlas — start free