Skip to main content

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:

  1. Using Connect Node: Use the Connect node to establish a connection and get a Client ID, then pass this ID to other nodes
  2. Direct Credentials: Most nodes accept database credentials directly, allowing single-node operations without explicit connection management

Available Nodes