MongoDB
Connect to MongoDB database
Integrate MongoDB into the workflow. Can find, insert, update, delete, and aggregate data.
| Parameter | Type | Required | Description |
|---|
host | string | Yes | No description |
port | number | Yes | No description |
database | string | Yes | Database name to connect to (e.g., "mydb") |
username | string | No | No description |
password | string | No | No description |
authSource | string | No | No description |
ssl | string | No | No description |
collection | string | Yes | No description |
query | string | No | No description |
limit | number | No | No description |
sort | string | No | No description |
| Parameter | Type | Description |
|---|
message | string | Operation status message |
documents | array | Array of documents returned from the query |
documentCount | number | Number of documents returned |
| Parameter | Type | Required | Description |
|---|
host | string | Yes | No description |
port | number | Yes | No description |
database | string | Yes | Database name to connect to (e.g., "mydb") |
username | string | No | No description |
password | string | No | No description |
authSource | string | No | No description |
ssl | string | No | No description |
collection | string | Yes | No description |
documents | array | Yes | No description |
| Parameter | Type | Description |
|---|
message | string | Operation status message |
documentCount | number | Number of documents inserted |
insertedId | string | ID of inserted document (single insert) |
insertedIds | array | Array of inserted document IDs (multiple insert) |
| Parameter | Type | Required | Description |
|---|
host | string | Yes | No description |
port | number | Yes | No description |
database | string | Yes | Database name to connect to (e.g., "mydb") |
username | string | No | No description |
password | string | No | No description |
authSource | string | No | No description |
ssl | string | No | No description |
collection | string | Yes | No description |
filter | string | Yes | No description |
update | string | Yes | No description |
upsert | boolean | No | No description |
multi | boolean | No | No description |
| Parameter | Type | Description |
|---|
message | string | Operation status message |
matchedCount | number | Number of documents matched by filter |
modifiedCount | number | Number of documents modified |
documentCount | number | Total number of documents affected |
insertedId | string | ID of inserted document (if upsert) |
| Parameter | Type | Required | Description |
|---|
host | string | Yes | No description |
port | number | Yes | No description |
database | string | Yes | Database name to connect to (e.g., "mydb") |
username | string | No | No description |
password | string | No | No description |
authSource | string | No | No description |
ssl | string | No | No description |
collection | string | Yes | No description |
filter | string | Yes | No description |
multi | boolean | No | No description |
| Parameter | Type | Description |
|---|
message | string | Operation status message |
deletedCount | number | Number of documents deleted |
documentCount | number | Total number of documents affected |
| Parameter | Type | Required | Description |
|---|
host | string | Yes | No description |
port | number | Yes | No description |
database | string | Yes | Database name to connect to (e.g., "mydb") |
username | string | No | No description |
password | string | No | No description |
authSource | string | No | No description |
ssl | string | No | No description |
collection | string | Yes | No description |
pipeline | string | Yes | No description |
| Parameter | Type | Description |
|---|
message | string | Operation status message |
documents | array | Array of documents returned from aggregation |
documentCount | number | Number of documents returned |
| Parameter | Type | Required | Description |
|---|
host | string | Yes | No description |
port | number | Yes | No description |
database | string | No | Database name to introspect (e.g., "mydb"). If not provided, lists all databases |
username | string | No | No description |
password | string | No | No description |
authSource | string | No | No description |
ssl | string | No | No description |
| Parameter | Type | Description |
|---|
message | string | Operation status message |
databases | array | Array of database names |
collections | array | Array of collection info with name, type, document count, and indexes |