CosmosDB-NoSQL
CosmosDB NoSQL Plugin – Overview & Available Actions
Summary (SEO Meta Description):
The CosmosDB NoSQL Plugin enables WeHub workflows to query and manipulate data inside Azure Cosmos DB’s NoSQL API.
Use it to run custom operations, execute stored procedures, and perform standard CRUD actions directly from your workflows.
Overview
The CosmosDB NoSQL Plugin provides seamless integration between WeHub and Azure Cosmos DB (NoSQL API).
It supports both custom operations (such as executing stored procedures) and standard database actions, allowing you to build powerful serverless data workflows.
Typical Use Cases:
- Execute stored procedures for complex database logic
- Run custom queries or scripts against Cosmos DB
- Perform CRUD operations (Create, Read, Update, Delete) on NoSQL collections
- Sync healthcare or enterprise data in real-time with scalable, globally distributed storage
Available Actions
| Action | Description | 
|---|---|
| STORED_PROCEDURE | Execute a predefined stored procedure in Cosmos DB and return transformed results based on the configured schema. | 
| CUSTOM | Run a custom query or operation on Cosmos DB data and receive output mapped to your workflow schema. | 
| DELETE | Remove a document or set of documents from a Cosmos DB container according to the schema definition. | 
| INSERT | Insert new documents into a Cosmos DB container and validate them against the schema. | 
| SELECT | Query and retrieve documents from Cosmos DB based on defined criteria and schema. | 
| UPDATE | Update existing documents with new values while preserving schema compliance. | 
| UPSERT | Insert a new document or update an existing one in a single atomic operation. | 
| PATCH | Apply partial updates to documents—modify only specific fields without replacing the entire document. | 
FAQ
Q: What API does this plugin use?
A: It leverages the Azure Cosmos DB NoSQL API, supporting document-based operations and custom stored procedures.
Q: Can I run complex joins or multi-container queries?
A: No. Cosmos DB NoSQL is optimized for document storage and does not support traditional SQL joins.
Q: Is schema enforcement mandatory?
A: No, but using a schema ensures predictable outputs and easier integration with downstream workflow steps.
Keywords: WeHub CosmosDB NoSQL Plugin, Azure Cosmos DB, NoSQL API, Stored Procedure, Custom Query, CRUD Operations, Insert Update Delete, Patch, Upsert