Updating Cosmos DB Documents with Azure Logic Apps
In this post, App Dev Manager Bryan Soltis shows how to query and update Cosmos DB Documents with Azure Logic Apps.
When creating workflows with Azure Logic Apps, developers are often amazed at the amount of functionality at their fingertips. With a few simple clicks, you can create extremely capable automation, with integrations into multiple systems. Recently, I designed an architecture where I blended Azure Functions, Azure Cognitive Services, Azure Cosmos DB, and Azure Logic Apps to set up some pretty sweet automation. In this article, I’m going to show you how I managed Azure Cosmos DB data from within a Logic App workflow.
This is article is part of a bigger series, in where I detail the entire architecture. For now, I’m going to focus on working with Azure Cosmos DB data within a Logic App. I’ll show you how I query the data for specific values, loop through the results, and update the data. This is one of my first “real” projects with Cosmos DB, so there may be a few pieces I’m not doing in the most efficient manner, but hopefully you’ll get the idea. So, let’s check it out!