MongoDB
The MongoDB package provides comprehensive NoSQL database automation capabilities for Robomotion RPA. MongoDB is a source-available, cross-platform, document-oriented database program classified as a NoSQL database. This package enables you to perform database operations, manage collections, and manipulate documents programmatically within your automation flows.
Key Features
- Connection Management: Establish and manage connections to MongoDB servers with support for authentication
- Database Operations: Create, drop, and list databases
- Collection Management: Create, drop, and list collections within databases
- Document Operations: Insert, update, delete, read, and query documents with flexible JSON-based queries
- Credential Support: Two authentication methods - explicit Connect node or direct credential usage
- Query Support: Full MongoDB query syntax with Handlebars template support
Use Cases
- Data Migration: Transfer data between MongoDB databases or from other sources
- Automated Reporting: Extract and process data from MongoDB for reports
- Data Synchronization: Keep MongoDB collections in sync with external systems
- Testing: Automate database setup, data insertion, and cleanup for testing
- Monitoring: Query databases to monitor data changes and trigger alerts
- Bulk Operations: Process large volumes of documents efficiently
Authentication Methods
The MongoDB package supports two ways to authenticate:
- Using Connect Node: Use the Connect node to establish a connection and get a Client ID, then pass this ID to other nodes
- Direct Credentials: Most nodes accept database credentials directly, allowing single-node operations without explicit connection management
Available Nodes
Connect
Robomotion.MongoDB.Connect
Create Collection
Robomotion.MongoDB.CreateCollection
Create Database
Robomotion.MongoDB.CreateDatabase
Delete Document
Robomotion.MongoDB.DeleteDocument
Disconnect
Robomotion.MongoDB.Disconnect
Drop Collection
Robomotion.MongoDB.DropCollection
Drop Database
Robomotion.MongoDB.DropDatabase
Insert Document
Robomotion.MongoDB.InsertDocument
List Databases
Robomotion.MongoDB.ListDatabases
Read All
Robomotion.MongoDB.ReadAll
Read Document
Robomotion.MongoDB.ReadDocument
Show Collections
Robomotion.MongoDB.ShowCollections
Update Document
Robomotion.MongoDB.UpdateDocument