{"id":34461,"date":"2023-04-17T14:24:04","date_gmt":"2023-04-17T08:54:04","guid":{"rendered":"https:\/\/www.inogic.com\/blog\/?p=34461"},"modified":"2024-01-04T12:23:57","modified_gmt":"2024-01-04T06:53:57","slug":"how-to-filter-json-array-using-filter-array-action-in-power-automate","status":"publish","type":"post","link":"https:\/\/www.inogic.com\/blog\/2023\/04\/how-to-filter-json-array-using-filter-array-action-in-power-automate\/","title":{"rendered":"How to filter JSON array using Filter Array action in Power Automate"},"content":{"rendered":"<p>A requirement of filtering JASON arrays can easily be solved using JavaScript. But to do it in <a href=\"https:\/\/www.inogic.com\/services\/microsoft-power-platform\/microsoft-power-automate\/\">Power Automate<\/a>, we have to create a web resource and register the script in CRM. However, with the new updates, we can achieve this requirement within the CRM process itself. Power Automate introduced the Filter Array action, using which we can easily filter the JSON array of objects and get the exact output from the JSON array.<\/p>\n<p><strong>Requirement:<\/strong><\/p>\n<p>Consider that we have JSON data containing individual Employee\u2019s Project Details which specify the number of projects that a single employee is working on, the number of projects completed, the estimation of the projects in days, and their start date. Please find below the JSON array that we want to filter:<\/p>\n<pre class=\"lang:css gutter:true start:1\">{\r\n\r\n{\r\n\r\n\"Project Name\": \"Employee Payroll System\",\r\n\r\n\"Start Date\": \"22-05-2021\",\r\n\r\n\"Duration\": 65,\r\n\r\n\"Industry\": \"IT Corporate\",\r\n\r\n\"Status\": \"Complete\"\r\n\r\n},\r\n\r\n{\r\n\r\n\"Project Name\": \"Healthcare Solution\",\r\n\r\n\"Start Date\": \"22-03-2023\",\r\n\r\n\"Duration\": 95,\r\n\r\n\"Industry\": \"Heath and Hospitality\",\r\n\r\n\"Status\": \"In Progress\"\r\n\r\n},\r\n\r\n{\r\n\r\n\"Project Name\": \"Pharmacare Solution\",\r\n\r\n\"Start Date\": \"26-03-2022\",\r\n\r\n\"Duration\": 32,\r\n\r\n\"Industry\": \"Heath and Hospitality\",\r\n\r\n\"Status\": \"Complete\"\r\n\r\n},\r\n\r\n{\r\n\r\n\"Project Name\": \"Agro Management System\",\r\n\r\n\"Start Date\": \"22-08-2021\",\r\n\r\n\"Duration\": 120,\r\n\r\n\"Industry\": \"Agriculture\",\r\n\r\n\"Status\": \"Complete\"\r\n\r\n},\r\n\r\n{\r\n\r\n\"Project Name\": \"Finance Management System\",\r\n\r\n\"Start Date\": \"22-08-2023\",\r\n\r\n\"Duration\": 38,\r\n\r\n\"Industry\": \"Finance\",\r\n\r\n\"Status\": \"Not Started\"\r\n\r\n}\r\n\r\n}<\/pre>\n<p>In the above JSON array, they mention project details for five projects. So, now we want to identify how many projects an individual employee has completed for a duration greater than 40.<\/p>\n<h2><strong>Solution<\/strong><\/h2>\n<p>For this requirement, we go with the Power Automate solution. We have created an on-demand Power Automate flow. In that we have passed the above JSON array as an input as shown in the following screenshot:<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-34463\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/04\/1Filter-Array-action-in-Power-Automate.jpeg\" alt=\"Filter Array action in Power Automate\" width=\"1361\" height=\"643\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/04\/1Filter-Array-action-in-Power-Automate.jpeg 1361w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/04\/1Filter-Array-action-in-Power-Automate-300x142.jpeg 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/04\/1Filter-Array-action-in-Power-Automate-1024x484.jpeg 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/04\/1Filter-Array-action-in-Power-Automate-768x363.jpeg 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/04\/1Filter-Array-action-in-Power-Automate-660x312.jpeg 660w\" sizes=\"(max-width: 1361px) 100vw, 1361px\" \/><\/p>\n<p>Next, we apply the Filter Array action on the above input of the JSON array<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-34464\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/04\/2Filter-Array-action-in-Power-Automate.jpeg\" alt=\"Filter Array action in Power Automate\" width=\"1363\" height=\"639\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/04\/2Filter-Array-action-in-Power-Automate.jpeg 1363w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/04\/2Filter-Array-action-in-Power-Automate-300x141.jpeg 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/04\/2Filter-Array-action-in-Power-Automate-1024x480.jpeg 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/04\/2Filter-Array-action-in-Power-Automate-768x360.jpeg 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/04\/2Filter-Array-action-in-Power-Automate-660x309.jpeg 660w\" sizes=\"(max-width: 1363px) 100vw, 1363px\" \/><\/p>\n<p>Following is the Filter Array expression that we have used to get the exact output:<\/p>\n<p><strong><em>@and(equals(item().Status,\u2019Complete\u2019),greater(item().Duration,40))<\/em><\/strong><\/p>\n<p>Here we have applied both conditions which we have merged with the\u00a0<strong><em>@and<\/em>\u00a0<\/strong>clause. In that,<\/p>\n<p><a href=\"https:\/\/bit.ly\/43AEpmS\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"alignnone wp-image-34467\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/04\/Microsoft-Power-Platform.gif\" alt=\"Microsoft Power Platform\" width=\"1016\" height=\"254\" \/><\/a><\/p>\n<p>1. The projects which were completed, were obtained using the <strong><em>@equals<\/em><\/strong> clause<\/p>\n<p><strong><em>equals(item().Status,&#8217;Complete&#8217;)<\/em><\/strong><\/p>\n<p>2. The projects which have not been completed within 40 days, were obtained using the <strong>@greater<\/strong><\/p>\n<p><strong><em>greater(item().Duration,40)<\/em><\/strong><\/p>\n<p>After applying the Filter Array action we got the exact output as shown in the screenshot below:<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-34465\" style=\"border: 1px solid #0a0a0a; padding: 1px; margin: 1px;\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/04\/3Filter-Array-action-in-Power-Automate.jpeg\" alt=\"Filter Array action in Power Automate\" width=\"1365\" height=\"673\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/04\/3Filter-Array-action-in-Power-Automate.jpeg 1365w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/04\/3Filter-Array-action-in-Power-Automate-300x148.jpeg 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/04\/3Filter-Array-action-in-Power-Automate-1024x505.jpeg 1024w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/04\/3Filter-Array-action-in-Power-Automate-768x379.jpeg 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/04\/3Filter-Array-action-in-Power-Automate-660x325.jpeg 660w\" sizes=\"(max-width: 1365px) 100vw, 1365px\" \/><\/p>\n<h2>Conclusion<\/h2>\n<p><strong>Filter Array<\/strong>\u00a0is the best option to filter the JSON array in Power Automate without writing any external programming logic.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A requirement of filtering JASON arrays can easily be solved using JavaScript. But to do it in Power Automate, we have to create a web resource and register the script in CRM. However, with the new updates, we can achieve this requirement within the CRM process itself. Power Automate introduced the Filter Array action, using\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.inogic.com\/blog\/2023\/04\/how-to-filter-json-array-using-filter-array-action-in-power-automate\/\">Read More: How to filter JSON array using Filter Array action in\u2026 &raquo;<\/a><\/span><\/p>\n","protected":false},"author":13,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1913,1985,2361],"tags":[2689,1975],"class_list":["post-34461","post","type-post","status-publish","format-standard","hentry","category-microsoft-power-platform-services","category-power-automate","category-technical","tag-json-array","tag-power-automate"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"In this blog, we learn about filtering JSON arrays in Power Automate. We all know that this type of requirement can easily be solved using JavaScript. But in this method, we have to create a web resource to register the script in CRM. Now, we can achieve this requirement within the CRM process itself. Power Automate introduced the Filter Array action, using which we can easily filter the JSON array of objects and get the exact output from the JSON array.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Inogic\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.inogic.com\/blog\/2023\/04\/how-to-filter-json-array-using-filter-array-action-in-power-automate\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Microsoft Dynamics 365 CRM Tips and Tricks - By Inogic\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"How to filter JSON array using Filter Array action in Power Automate\" \/>\n\t\t<meta property=\"og:description\" content=\"In this blog, we learn about filtering JSON arrays in Power Automate. We all know that this type of requirement can easily be solved using JavaScript. But in this method, we have to create a web resource to register the script in CRM. Now, we can achieve this requirement within the CRM process itself. Power Automate introduced the Filter Array action, using which we can easily filter the JSON array of objects and get the exact output from the JSON array.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.inogic.com\/blog\/2023\/04\/how-to-filter-json-array-using-filter-array-action-in-power-automate\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/04\/1Filter-Array-action-in-Power-Automate.jpeg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/04\/1Filter-Array-action-in-Power-Automate.jpeg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"1361\" \/>\n\t\t<meta property=\"og:image:height\" content=\"643\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2023-04-17T08:54:04+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2024-01-04T06:53:57+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inogicindia\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@inogic\" \/>\n\t\t<meta name=\"twitter:title\" content=\"How to filter JSON array using Filter Array action in Power Automate\" \/>\n\t\t<meta name=\"twitter:description\" content=\"In this blog, we learn about filtering JSON arrays in Power Automate. We all know that this type of requirement can easily be solved using JavaScript. But in this method, we have to create a web resource to register the script in CRM. Now, we can achieve this requirement within the CRM process itself. Power Automate introduced the Filter Array action, using which we can easily filter the JSON array of objects and get the exact output from the JSON array.\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@inogic\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/04\/1Filter-Array-action-in-Power-Automate.jpeg\" \/>\n\t\t<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t\t<meta name=\"twitter:data1\" content=\"Inogic\" \/>\n\t\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2023\\\/04\\\/how-to-filter-json-array-using-filter-array-action-in-power-automate\\\/#blogposting\",\"name\":\"How to filter JSON array using Filter Array action in Power Automate\",\"headline\":\"How to filter JSON array using Filter Array action in Power Automate\",\"author\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/04\\\/1Filter-Array-action-in-Power-Automate.jpeg\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2023\\\/04\\\/how-to-filter-json-array-using-filter-array-action-in-power-automate\\\/#articleImage\",\"width\":1361,\"height\":643,\"caption\":\"Filter Array action in Power Automate\"},\"datePublished\":\"2023-04-17T14:24:04+05:30\",\"dateModified\":\"2024-01-04T12:23:57+05:30\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2023\\\/04\\\/how-to-filter-json-array-using-filter-array-action-in-power-automate\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2023\\\/04\\\/how-to-filter-json-array-using-filter-array-action-in-power-automate\\\/#webpage\"},\"articleSection\":\"Microsoft Power Platform Services, Power Automate, Technical, JSON aRRAY, Power Automate\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2023\\\/04\\\/how-to-filter-json-array-using-filter-array-action-in-power-automate\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.inogic.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/microsoft-power-platform-services\\\/#listItem\",\"name\":\"Microsoft Power Platform Services\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/microsoft-power-platform-services\\\/#listItem\",\"position\":2,\"name\":\"Microsoft Power Platform Services\",\"item\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/microsoft-power-platform-services\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2023\\\/04\\\/how-to-filter-json-array-using-filter-array-action-in-power-automate\\\/#listItem\",\"name\":\"How to filter JSON array using Filter Array action in Power Automate\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2023\\\/04\\\/how-to-filter-json-array-using-filter-array-action-in-power-automate\\\/#listItem\",\"position\":3,\"name\":\"How to filter JSON array using Filter Array action in Power Automate\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/microsoft-power-platform-services\\\/#listItem\",\"name\":\"Microsoft Power Platform Services\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#organization\",\"name\":\"Microsoft Dynamics 365 CRM Tips and Tricks\",\"description\":\"By Inogic\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/inogic-logo.png\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2023\\\/04\\\/how-to-filter-json-array-using-filter-array-action-in-power-automate\\\/#organizationLogo\",\"width\":1000,\"height\":325,\"caption\":\"inogic logo\"},\"image\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2023\\\/04\\\/how-to-filter-json-array-using-filter-array-action-in-power-automate\\\/#organizationLogo\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/inogicindia\",\"https:\\\/\\\/twitter.com\\\/inogic\",\"https:\\\/\\\/www.instagram.com\\\/inogicindia\\\/\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCM4V7ousgLSu1hbOEv4DUuQ\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/inogicindia\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/#author\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/\",\"name\":\"Inogic\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2023\\\/04\\\/how-to-filter-json-array-using-filter-array-action-in-power-automate\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/839d9ae7d2b941d2d09e91df322267a429821f2ce5494302b53bd5ca3679f1a0?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Inogic\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2023\\\/04\\\/how-to-filter-json-array-using-filter-array-action-in-power-automate\\\/#webpage\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2023\\\/04\\\/how-to-filter-json-array-using-filter-array-action-in-power-automate\\\/\",\"name\":\"How to filter JSON array using Filter Array action in Power Automate\",\"description\":\"In this blog, we learn about filtering JSON arrays in Power Automate. We all know that this type of requirement can easily be solved using JavaScript. But in this method, we have to create a web resource to register the script in CRM. Now, we can achieve this requirement within the CRM process itself. Power Automate introduced the Filter Array action, using which we can easily filter the JSON array of objects and get the exact output from the JSON array.\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2023\\\/04\\\/how-to-filter-json-array-using-filter-array-action-in-power-automate\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/#author\"},\"datePublished\":\"2023-04-17T14:24:04+05:30\",\"dateModified\":\"2024-01-04T12:23:57+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/\",\"name\":\"Microsoft Dynamics 365 CRM Tips and Tricks\",\"alternateName\":\"Inogic\",\"description\":\"By Inogic\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"How to filter JSON array using Filter Array action in Power Automate","description":"In this blog, we learn about filtering JSON arrays in Power Automate. We all know that this type of requirement can easily be solved using JavaScript. But in this method, we have to create a web resource to register the script in CRM. Now, we can achieve this requirement within the CRM process itself. Power Automate introduced the Filter Array action, using which we can easily filter the JSON array of objects and get the exact output from the JSON array.","canonical_url":"https:\/\/www.inogic.com\/blog\/2023\/04\/how-to-filter-json-array-using-filter-array-action-in-power-automate\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/www.inogic.com\/blog\/2023\/04\/how-to-filter-json-array-using-filter-array-action-in-power-automate\/#blogposting","name":"How to filter JSON array using Filter Array action in Power Automate","headline":"How to filter JSON array using Filter Array action in Power Automate","author":{"@id":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/#author"},"publisher":{"@id":"https:\/\/www.inogic.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/04\/1Filter-Array-action-in-Power-Automate.jpeg","@id":"https:\/\/www.inogic.com\/blog\/2023\/04\/how-to-filter-json-array-using-filter-array-action-in-power-automate\/#articleImage","width":1361,"height":643,"caption":"Filter Array action in Power Automate"},"datePublished":"2023-04-17T14:24:04+05:30","dateModified":"2024-01-04T12:23:57+05:30","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.inogic.com\/blog\/2023\/04\/how-to-filter-json-array-using-filter-array-action-in-power-automate\/#webpage"},"isPartOf":{"@id":"https:\/\/www.inogic.com\/blog\/2023\/04\/how-to-filter-json-array-using-filter-array-action-in-power-automate\/#webpage"},"articleSection":"Microsoft Power Platform Services, Power Automate, Technical, JSON aRRAY, Power Automate"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inogic.com\/blog\/2023\/04\/how-to-filter-json-array-using-filter-array-action-in-power-automate\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.inogic.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/category\/microsoft-power-platform-services\/#listItem","name":"Microsoft Power Platform Services"}},{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/category\/microsoft-power-platform-services\/#listItem","position":2,"name":"Microsoft Power Platform Services","item":"https:\/\/www.inogic.com\/blog\/category\/microsoft-power-platform-services\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/2023\/04\/how-to-filter-json-array-using-filter-array-action-in-power-automate\/#listItem","name":"How to filter JSON array using Filter Array action in Power Automate"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/2023\/04\/how-to-filter-json-array-using-filter-array-action-in-power-automate\/#listItem","position":3,"name":"How to filter JSON array using Filter Array action in Power Automate","previousItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/category\/microsoft-power-platform-services\/#listItem","name":"Microsoft Power Platform Services"}}]},{"@type":"Organization","@id":"https:\/\/www.inogic.com\/blog\/#organization","name":"Microsoft Dynamics 365 CRM Tips and Tricks","description":"By Inogic","url":"https:\/\/www.inogic.com\/blog\/","logo":{"@type":"ImageObject","url":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/inogic-logo.png","@id":"https:\/\/www.inogic.com\/blog\/2023\/04\/how-to-filter-json-array-using-filter-array-action-in-power-automate\/#organizationLogo","width":1000,"height":325,"caption":"inogic logo"},"image":{"@id":"https:\/\/www.inogic.com\/blog\/2023\/04\/how-to-filter-json-array-using-filter-array-action-in-power-automate\/#organizationLogo"},"sameAs":["https:\/\/www.facebook.com\/inogicindia","https:\/\/twitter.com\/inogic","https:\/\/www.instagram.com\/inogicindia\/","https:\/\/www.youtube.com\/channel\/UCM4V7ousgLSu1hbOEv4DUuQ","https:\/\/www.linkedin.com\/company\/inogicindia"]},{"@type":"Person","@id":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/#author","url":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/","name":"Inogic","image":{"@type":"ImageObject","@id":"https:\/\/www.inogic.com\/blog\/2023\/04\/how-to-filter-json-array-using-filter-array-action-in-power-automate\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/839d9ae7d2b941d2d09e91df322267a429821f2ce5494302b53bd5ca3679f1a0?s=96&d=mm&r=g","width":96,"height":96,"caption":"Inogic"}},{"@type":"WebPage","@id":"https:\/\/www.inogic.com\/blog\/2023\/04\/how-to-filter-json-array-using-filter-array-action-in-power-automate\/#webpage","url":"https:\/\/www.inogic.com\/blog\/2023\/04\/how-to-filter-json-array-using-filter-array-action-in-power-automate\/","name":"How to filter JSON array using Filter Array action in Power Automate","description":"In this blog, we learn about filtering JSON arrays in Power Automate. We all know that this type of requirement can easily be solved using JavaScript. But in this method, we have to create a web resource to register the script in CRM. Now, we can achieve this requirement within the CRM process itself. Power Automate introduced the Filter Array action, using which we can easily filter the JSON array of objects and get the exact output from the JSON array.","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.inogic.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.inogic.com\/blog\/2023\/04\/how-to-filter-json-array-using-filter-array-action-in-power-automate\/#breadcrumblist"},"author":{"@id":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/#author"},"creator":{"@id":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/#author"},"datePublished":"2023-04-17T14:24:04+05:30","dateModified":"2024-01-04T12:23:57+05:30"},{"@type":"WebSite","@id":"https:\/\/www.inogic.com\/blog\/#website","url":"https:\/\/www.inogic.com\/blog\/","name":"Microsoft Dynamics 365 CRM Tips and Tricks","alternateName":"Inogic","description":"By Inogic","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.inogic.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"Microsoft Dynamics 365 CRM Tips and Tricks - By Inogic","og:type":"article","og:title":"How to filter JSON array using Filter Array action in Power Automate","og:description":"In this blog, we learn about filtering JSON arrays in Power Automate. We all know that this type of requirement can easily be solved using JavaScript. But in this method, we have to create a web resource to register the script in CRM. Now, we can achieve this requirement within the CRM process itself. Power Automate introduced the Filter Array action, using which we can easily filter the JSON array of objects and get the exact output from the JSON array.","og:url":"https:\/\/www.inogic.com\/blog\/2023\/04\/how-to-filter-json-array-using-filter-array-action-in-power-automate\/","og:image":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/04\/1Filter-Array-action-in-Power-Automate.jpeg","og:image:secure_url":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/04\/1Filter-Array-action-in-Power-Automate.jpeg","og:image:width":1361,"og:image:height":643,"article:published_time":"2023-04-17T08:54:04+00:00","article:modified_time":"2024-01-04T06:53:57+00:00","article:publisher":"https:\/\/www.facebook.com\/inogicindia","twitter:card":"summary_large_image","twitter:site":"@inogic","twitter:title":"How to filter JSON array using Filter Array action in Power Automate","twitter:description":"In this blog, we learn about filtering JSON arrays in Power Automate. We all know that this type of requirement can easily be solved using JavaScript. But in this method, we have to create a web resource to register the script in CRM. Now, we can achieve this requirement within the CRM process itself. Power Automate introduced the Filter Array action, using which we can easily filter the JSON array of objects and get the exact output from the JSON array.","twitter:creator":"@inogic","twitter:image":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/04\/1Filter-Array-action-in-Power-Automate.jpeg","twitter:label1":"Written by","twitter:data1":"Inogic","twitter:label2":"Est. reading time","twitter:data2":"2 minutes"},"aioseo_meta_data":{"post_id":"34461","title":"How to filter JSON array using Filter Array action in Power Automate","description":"In this blog, we learn about filtering JSON arrays in Power Automate. We all know that this type of requirement can easily be solved using JavaScript. But in this method, we have to create a web resource to register the script in CRM. Now, we can achieve this requirement within the CRM process itself. Power Automate introduced the Filter Array action, using which we can easily filter the JSON array of objects and get the exact output from the JSON array.","keywords":[],"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":true,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"BlogPosting","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2023-04-17 08:43:11","updated":"2025-07-04 10:03:48","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.inogic.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.inogic.com\/blog\/category\/microsoft-power-platform-services\/\" title=\"Microsoft Power Platform Services\">Microsoft Power Platform Services<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tHow to filter JSON array using Filter Array action in Power Automate\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.inogic.com\/blog"},{"label":"Microsoft Power Platform Services","link":"https:\/\/www.inogic.com\/blog\/category\/microsoft-power-platform-services\/"},{"label":"How to filter JSON array using Filter Array action in Power Automate","link":"https:\/\/www.inogic.com\/blog\/2023\/04\/how-to-filter-json-array-using-filter-array-action-in-power-automate\/"}],"_links":{"self":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/34461","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/comments?post=34461"}],"version-history":[{"count":0,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/34461\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media?parent=34461"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/categories?post=34461"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/tags?post=34461"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}