MongoDB
App IntegrationsMongoDB Node
Overview
Supports the following operations: Find Documents, Insert Document(s), Update Documents, Delete Documents, Aggregate Pipeline.
Configuration
| Property | Type | Default | Description |
|---|---|---|---|
operation | string | — | Action to execute |
database | string | — | Database for this node |
collection | string | — | Database collection or table name |
query | string | — | Search or database query string |
document | string | — | Document for this node |
update | string | — | Update for this node |
pipeline | string | — | Pipeline for this node |
limit | string | — | Maximum number of results to return |
Output Variables
Reference these variables in downstream nodes using the {{node.field}} syntax.
{{mongodb.documents}}anyOutput field: documents
{{mongodb.success}}anyOutput field: success
{{mongodb.insertedId}}anyOutput field: insertedId
{{mongodb.matchedCount}}anyOutput field: matchedCount
Examples
Basic Usage
Example configuration:
{
"operation": "value",
"database": "value",
"collection": "value",
"query": "value",
"document": "value",
"update": "value",
"pipeline": "value",
"limit": "value"
}Tips & Best Practices
- •Ensure all required fields are configured.
- •Check the output variables to see available data.
- •Verify your connection credentials are configured in Settings > Integrations.
Try MongoDB in Your Workflow
Create a free account and start building AI-powered workflows with the MongoDB node.
Open Workflow Editor