Connectors
Databases & Data Warehouses
Azure Cosmos DB
Globally distributed NoSQL database: create, query, and update documents and containers
- Signs in with
- Connection details
- Runs on
- Cloud or On-Prem Worker
- Operations
- 8
- Ready-made triggers
- 0
Connect Azure Cosmos DB
- In Neblex open Connect › Connections and click New Connection.
- Search for Azure Cosmos DB and give the connection a clear name.
- Fill in the fields. Secret values are encrypted and never shown again.
- Click Test, then Create Connection.
If the system is only reachable inside your network, choose an On-Prem Worker under Test from and run the flow on that Worker. See On-Prem Workers.
| Field | What to enter |
|---|---|
| Connection stringRequiredSecret | Paste the Azure portal connection string containing AccountEndpoint and AccountKey. |
Use it in a flow
- Open a flow, open the node library and search for Azure Cosmos DB.
- Drag it onto the canvas and choose an Operation and your connection.
- Map the operation's fields from earlier steps, or click Map with Matt.
- Use Test this step to see what it returns, then save.
To start a flow from Azure Cosmos DB without a ready-made trigger: a Poll for changes trigger on Azure Cosmos DB with your own query passes on new or changed records.
Operations
8 operations in 3 groups. Each one is a step you can add to a flow.
Admin3
Create a containercreateContainer | Create a container with a partition key path. | |
Delete a containerdeleteContainer | Delete a container and all its documents. | |
List containerslistContainers | The containers in a database. |
Read2
Get a documentgetDocument | Point-read one document by id + partition key. | |
Query documentsqueryDocuments | Run any Cosmos SQL query; :name tokens bind as @name parameters. |
Write3
Create a documentcreateDocument | Insert a document (or upsert when the toggle is on). | |
Delete a documentdeleteDocument | Delete one document by id + partition key. | |
Replace a documentreplaceDocument | Replace one document wholesale by id. |