Discover more about the Azure CosmosDB connector and how to use it on the Digibee Integration Platform.
Azure CosmosDB reads and writes records to the CosmosDB database on Azure cloud platform.
This connector supports only NoSQL databases. For MongoDB databases, please use the MongoDB connector.
Parameters
Take a look at the configuration parameters for the connector. Parameters supported by Double Braces expressions are marked with (DB).
General tab
Parameter
Description
Default value
Data type
Account
N/A
Account
Database Endpoint(DB)
The Azure Cosmos database endpoint to which the connector will connect.
N/A
String
Operation
The CosmosDB operation to be used. Options are:
Create Item
Delete Item
Query Items
Read Item
Replace Item
Upsert Item
Create Item
String
Database Name(DB)
The name of the Cosmos database to which the connector should connect.
N/A
String
Container Name(DB)
The name of the Cosmos container to which the connector should connect.
N/A
String
Query(DB)
SQL query type. Available on Query Items operation.
N/A
String
Container Partition Key Path(DB)
The container partition key path. Available on Create Item operation.
N/A
String
Item Id(DB)
The item ID. Available on Delete Item, Read Item, and Replace Item operations.
N/A
String
Item Partition Key(DB)
The partition key value in the Azure CosmosDB database service. A partition key identifies the partition in which the item is stored. Available on Create Item, Delete Item, Read Item, Replace Item, and Upsert Item operations.
N/A
String
Body(DB)
The request body. Available on Create Item, Replace Item, and Upsert Item operations.
{{ message.$ }}
JSON
Fail On Error
If the option is activated, the pipeline's execution with an error will be interrupted. Otherwise, the pipeline execution proceeds, but the result will show a false value for the "success" property.
False
Boolean
Optional tab
Parameter
Description
Default value
Data type
Consistency Level
Session
String
Client Telemetry Enabled
Enables telemetry to gather statistics on database operations and system data (for example, CPU and memory) at regular intervals, aiding in troubleshooting.
False
Boolean
Connection Sharing Across Clients Enabled
Allows multiple Cosmos customers within the same JVM to share connections in Direct mode when accessing multiple Cosmos accounts. Note: connection settings of the first customer will apply to all other customers.
False
Boolean
Content Response On Write Enabled
If enabled, Cosmos DB responses for Create, Update, and Delete operations will include only headers and status code, omitting content.
True
Boolean
Multiple Write Regions Enabled
Allows writes to any region for geo-replicated database accounts. When enabled, the SDK routes writes to available writable regions, following the order in the Preferred Regions parameter.
True
Boolean
Preferred Regions(DB)
Specifies preferred regions for geo-replicated database accounts, as a comma-separated list (for example, "East US").
N/A
String
Read Requests Fallback Enabled
Allows reads from multiple regions for accounts with multi-region configurations.
True
Boolean
Documentation tab
Parameter
Description
Default value
Data type
Documentation
Section for documenting any necessary information about the connector configuration and business rules.
{"id":"57162988-2621-4a1f-b9f4-629f63ec6bb2","categoryId":"340D259D-BFFE-4E2A-9C5E-8B1E473A0322","categoryName":"Accessories, Bike Stands","sku":"ST-1401","name":"Create All-Purpose Bike Stand","description":"XXXX The product called \"All-Purpose Bike Stand\"","price":159,"tags": [ {"id":"2CE9DADE-DCAC-436C-9D69-B7C886A01B77","name":"Tag-101" }, {"id":"304041C4-8C80-4C1E-9EE9-8A1DEFCF39FC","name":"Tag-72" }, {"id":"5A94DABD-FD34-48F7-9626-50872E214275","name":"Tag-181" }, {"id":"6167EE62-5458-45B8-822D-1C10F274D9F1","name":"Tag-170" }, {"id":"7337386B-E865-4ADC-BA17-4437CB02E3BE","name":"Tag-8" } ],"_rid":"T0kSAIhFqysEAAAAAAAAAA==","_self":"dbs/T0kSAA==/colls/T0kSAIhFqys=/docs/T0kSAIhFqysEAAAAAAAAAA==/","_etag":"\"01000aa9-0000-0b00-0000-6717edb20000\"","_attachments":"attachments/","_ts":1729621426}
{"id":"57162988-2621-4a1f-b9f4-629f63ec6bb2","categoryId":"340D259D-BFFE-4E2A-9C5E-8B1E473A0322","categoryName":"Accessories, Bike Stands","sku":"ST-1401","name":"XXXX All-Purpose Bike Stand","description":"XXXX The product called \"All-Purpose Bike Stand\"","price":15,"tags": [ {"id":"2CE9DADE-DCAC-436C-9D69-B7C886A01B77","name":"Tag-101" }, {"id":"304041C4-8C80-4C1E-9EE9-8A1DEFCF39FC","name":"Tag-72" }, {"id":"5A94DABD-FD34-48F7-9626-50872E214275","name":"Tag-181" }, {"id":"6167EE62-5458-45B8-822D-1C10F274D9F1","name":"Tag-170" }, {"id":"7337386B-E865-4ADC-BA17-4437CB02E3BE","name":"Tag-8" } ],"_rid":"T0kSAIhFqysEAAAAAAAAAA==","_self":"dbs/T0kSAA==/colls/T0kSAIhFqys=/docs/T0kSAIhFqysEAAAAAAAAAA==/","_etag":"\"01000aa9-0000-0b00-0000-6717edb20000\"","_attachments":"attachments/","_ts":1729621426}
{"id":"57162988-2621-4a1f-b9f4-629f63ec6bb2","categoryId":"340D259D-BFFE-4E2A-9C5E-8B1E473A0322","categoryName":"Accessories, Bike Stands","sku":"ST-1401","name":"XXXX All-Purpose Bike Stand","description":"XXXX The product called \"All-Purpose Bike Stand\"","price":160,"tags": [ {"id":"2CE9DADE-DCAC-436C-9D69-B7C886A01B77","name":"Tag-101" }, {"id":"304041C4-8C80-4C1E-9EE9-8A1DEFCF39FC","name":"Tag-72" }, {"id":"5A94DABD-FD34-48F7-9626-50872E214275","name":"Tag-181" }, {"id":"6167EE62-5458-45B8-822D-1C10F274D9F1","name":"Tag-170" }, {"id":"7337386B-E865-4ADC-BA17-4437CB02E3BE","name":"Tag-8" } ],"_rid":"T0kSAIhFqysEAAAAAAAAAA==","_self":"dbs/T0kSAA==/colls/T0kSAIhFqys=/docs/T0kSAIhFqysEAAAAAAAAAA==/","_etag":"\"01000aa9-0000-0b00-0000-6717edb20000\"","_attachments":"attachments/","_ts":1729621426}
The account used to connect to the CosmosDB. Supported account type: .
Specifies the consistency level for Cosmos DB operations, which must be equal to or weaker than the database account’s level. Options, from strongest to weakest, are Strong, Bounded Staleness, Session, Consistent Prefix, and Eventual. For more details, refer to .