{"id":38619,"date":"2020-03-09T06:00:33","date_gmt":"2020-03-09T13:00:33","guid":{"rendered":"http:\/\/devblogs.microsoft.com\/premier-developer\/?p=38619"},"modified":"2020-03-05T13:59:04","modified_gmt":"2020-03-05T20:59:04","slug":"updating-cosmos-db-documents-with-azure-logic-apps","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/premier-developer\/updating-cosmos-db-documents-with-azure-logic-apps\/","title":{"rendered":"Updating Cosmos DB Documents with Azure Logic Apps"},"content":{"rendered":"<p>In this post, App Dev Manager <a href=\"https:\/\/www.linkedin.com\/in\/bryansoltis\/\">Bryan Soltis<\/a> shows how to query and update Cosmos DB Documents with Azure Logic Apps.<\/p>\n<hr \/>\n<p>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\u2019m going to show you how I managed Azure Cosmos DB data from within a Logic App workflow.<\/p>\n<p>This is article is part of a bigger series, in where I detail the entire architecture. For now, I\u2019m going to focus on working with Azure Cosmos DB data within a Logic App. I\u2019ll show you how I query the data for specific values, loop through the results, and update the data. This is one of my first \u201creal\u201d projects with Cosmos DB, so there may be a few pieces I\u2019m not doing in the most efficient manner, but hopefully you\u2019ll get the idea. So, let\u2019s check it out!<\/p>\n<p><a href=\"https:\/\/soltisweb.com\/blog\/detail\/2020-28-28-updating-cosmos-db-documents-with-azure-logic-apps\">Continue reading\u2026<\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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.<\/p>\n","protected":false},"author":582,"featured_media":38621,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[25,129],"tags":[24,186,60,308],"class_list":["post-38619","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-azure","category-premier","tag-azure","tag-cosmosdb","tag-logic-apps","tag-premier"],"acf":[],"blog_post_summary":"<p>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.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/posts\/38619","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/users\/582"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/comments?post=38619"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/posts\/38619\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/media\/38621"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/media?parent=38619"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/categories?post=38619"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/tags?post=38619"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}