{"id":1331442,"date":"2021-08-23T08:46:12","date_gmt":"2021-08-23T15:46:12","guid":{"rendered":"https:\/\/www.esri.com\/arcgis-blog\/?post_type=blog&#038;p=1331442"},"modified":"2024-05-20T11:36:36","modified_gmt":"2024-05-20T18:36:36","slug":"use-webhooks-to-automate-workflows-in-arcgis-field-maps-with-power-automate","status":"publish","type":"blog","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/field-maps\/field-mobility\/use-webhooks-to-automate-workflows-in-arcgis-field-maps-with-power-automate","title":{"rendered":"Use webhooks to automate workflows in ArcGIS Field Maps with Power Automate"},"author":8272,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"_acf_changed":false,"_searchwp_excluded":""},"categories":[23261],"tags":[761322,147182,207172],"industry":[],"product":[679821],"class_list":["post-1331442","blog","type-blog","status-publish","format-standard","hentry","category-field-mobility","tag-automate","tag-monitor","tag-webhook","product-field-maps"],"acf":{"short_description":"Use Microsoft Power Automate to automate data collection workflows with ArcGIS Field Maps.","flexible_content":[{"acf_fc_layout":"sidebar","content":"<p><strong>Caution:\u00a0<\/strong>The workflow in this blog post is outdated. For the latest information, see <a href=\"https:\/\/www.esri.com\/arcgis-blog\/products\/field-maps\/field-mobility\/automate-field-notifications-with-microsoft-power-automate\/\">Automate Field Notifications with Microsoft Power Automate<\/a>.<\/p>\n","image_reference":false,"layout":"standard","image_reference_figure":"","snippet":"","spotlight_name":"","section_title":"","position":"Center","spotlight_image":false},{"acf_fc_layout":"content","content":"<p style=\"text-align: justify;\">Would you like to be notified when a mobile worker completes an inspection? How about an automatic report that\u2019s generated after new data is collected or updated in the field? You can automate both of these tasks with the help of webhooks.<\/p>\n<p style=\"text-align: justify;\">In this article we\u2019ll introduce key concepts and then guide you through the ins and outs of configuring a webhook that works with <a href=\"https:\/\/www.esri.com\/en-us\/arcgis\/products\/arcgis-field-maps\/overview\">ArcGIS Field Maps<\/a> and <a href=\"https:\/\/powerautomate.microsoft.com\/\">Microsoft Power Automate<\/a> to improve and automate key workflows.<\/p>\n<p style=\"text-align: justify;\">This is a very technical procedure and is recommended for intermediate to advanced users. If you are interested in using webhooks with Integromat, see this <a href=\"https:\/\/www.esri.com\/arcgis-blog\/products\/field-maps\/field-mobility\/use-webhooks-to-automate-workflows-in-arcgis-field-maps\/\">blog post<\/a> to get started. If you have specific requirements related to webhooks, we\u2019d love to hear about it. Please email us at <a href=\"mailto:arcgisfieldmaps@arcgis.com\">arcgisfieldmaps@arcgis.com<\/a>.<\/p>\n<p style=\"text-align: justify;\"><i>Note: This article only applies for ArcGIS Online. Feature service webhooks are currently not available in ArcGIS Enterprise.<\/i><\/p>\n<p style=\"text-align: justify;\"><strong>What is a webhook?<\/strong><\/p>\n<p style=\"text-align: justify;\">If you&#8217;ve used services like Slack or GitHub you may be familiar with webhooks. A webhook is a way for an application to provide other apps with near real-time information via callbacks. This functionality enables automated workflows, such as sending an email notification when an inspection is completed. Webhooks are user-defined HTTP requests that are trigged by an event. When that event occurs, the configured app or service sends an HTTP POST request to the configured webhook URL. In the case of ArcGIS Online hosted feature services, such events include when features are created, updated, or deleted (among other things). For more information about ArcGIS Feature Service Webhooks, check out <a href=\"https:\/\/www.esri.com\/arcgis-blog\/products\/arcgis-online\/sharing-collaboration\/how-to-create-a-hosted-feature-service-webhook\/\">this blog post<\/a>.<\/p>\n<p style=\"text-align: justify;\">There are a few key concepts to understand regarding webhooks:<\/p>\n<ul style=\"text-align: justify;\">\n<li><strong>Trigger<\/strong> \u2013 starts the webhook task\/process<\/li>\n<li><strong>Action<\/strong> \u2013 something the webhook does<\/li>\n<li><strong>Provider<\/strong> \u2013 third party software that enables webhooks<\/li>\n<li><strong>Payload<\/strong> \u2013 content sent to the webhook<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">When a webhook is triggered, a <a href=\"https:\/\/developers.arcgis.com\/rest\/services-reference\/web-hooks-payloads-feature-service-.htm\">payload<\/a> of information is sent to the specified URL. Then the provider that maintains that URL can take an action with the provided information. There are many providers such as: Integromat, Microsoft Power Automate, and Zapier that can be configured to consume webhooks.<\/p>\n<p style=\"text-align: justify;\"><strong>What is an automation workflow?<\/strong><\/p>\n<p style=\"text-align: justify;\">Workflow automation is technology that uses a set of defined rules to automate a manual process. It is common to develop an automation workflow for tasks that are well defined, complex, and repeatable. A few examples of automation workflows in the context of ArcGIS Online are:<\/p>\n<ul style=\"text-align: justify;\">\n<li>Sending an email notification when a new feature is collected<\/li>\n<li>Updating the information in a third-party system (e.g., Google Sheets, SAP) when a feature is edited<\/li>\n<li>Creating or updating features when another feature was modified<\/li>\n<\/ul>\n<p style=\"text-align: justify;\">In this tutorial, we are going to automate a workflow using Microsoft Power Automate &#8211; software that supports incoming webhooks and other actions to support automating tasks without code. We&#8217;ll focus on creating a webhook workflow that emails a supervisor when a damage assessment report has been completed.<\/p>\n<p style=\"text-align: justify;\">Let&#8217;s get started!<\/p>\n<p><em>Note: This tutorial relies on some Premium Power Automate connectors which may not be available with all licenses.<\/em><\/p>\n<h2 style=\"text-align: justify;\">Create a feature service and map<\/h2>\n<p style=\"text-align: justify;\">In ArcGIS Online, navigate to the content page and create a new layer using the <strong>Damage Assessment <\/strong>feature layer template.<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":1450582,"id":1450582,"title":"damage assessment feature template","filename":"damage-assessment-feature-template.png","filesize":85586,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/damage-assessment-feature-template.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/field-maps\/field-mobility\/use-webhooks-to-automate-workflows-in-arcgis-field-maps-with-power-automate\/damage-assessment-feature-template","alt":"Damage Assessment feature layer template","author":"10102","description":"","caption":"","name":"damage-assessment-feature-template","status":"inherit","uploaded_to":1331442,"date":"2021-12-31 15:27:06","modified":"2021-12-31 15:27:23","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":799,"height":479,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/damage-assessment-feature-template-213x200.png","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/damage-assessment-feature-template.png","medium-width":435,"medium-height":261,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/damage-assessment-feature-template.png","medium_large-width":768,"medium_large-height":460,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/damage-assessment-feature-template.png","large-width":799,"large-height":479,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/damage-assessment-feature-template.png","1536x1536-width":799,"1536x1536-height":479,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/damage-assessment-feature-template.png","2048x2048-width":799,"2048x2048-height":479,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/damage-assessment-feature-template-776x465.png","card_image-width":776,"card_image-height":465,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/damage-assessment-feature-template.png","wide_image-width":799,"wide_image-height":479}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p style=\"text-align: justify;\">Select only the <strong>Residential Buildings<\/strong> layers. When prompted, provide a name for your new feature service and continue through the dialogs until it&#8217;s successfully created. Once the layer has been created, open the <strong>Settings<\/strong> tab and scroll to the <strong>Editing<\/strong> settings. Check the <strong>Keep track of created and updated features<\/strong> and click <strong>Save<\/strong>. This will enable change tracking for the feature service which is a prerequisite for enabling webhooks.<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":1331622,"id":1331622,"title":"Enable-Change-Tracking","filename":"Enable-Change-Tracking.png","filesize":17458,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Enable-Change-Tracking.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/field-maps\/field-mobility\/use-webhooks-to-automate-workflows-in-arcgis-field-maps-with-power-automate\/enable-change-tracking-2","alt":"Enabled change tracking","author":"8272","description":"","caption":"","name":"enable-change-tracking-2","status":"inherit","uploaded_to":1331442,"date":"2021-08-20 17:51:19","modified":"2021-08-20 17:51:31","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":446,"height":228,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Enable-Change-Tracking-213x200.png","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Enable-Change-Tracking.png","medium-width":446,"medium-height":228,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Enable-Change-Tracking.png","medium_large-width":446,"medium_large-height":228,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Enable-Change-Tracking.png","large-width":446,"large-height":228,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Enable-Change-Tracking.png","1536x1536-width":446,"1536x1536-height":228,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Enable-Change-Tracking.png","2048x2048-width":446,"2048x2048-height":228,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Enable-Change-Tracking.png","card_image-width":446,"card_image-height":228,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Enable-Change-Tracking.png","wide_image-width":446,"wide_image-height":228}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p style=\"text-align: justify;\">Next, let&#8217;s add this new layer and table to a new map. On the <strong>Overview <\/strong>tab, click the overflow button near <strong>Open in Map Viewer<\/strong> <strong>.<\/strong> In Map Viewer, save the map. Later, we will use this map in ArcGIS Field Maps to collect features.<\/p>\n<h2 style=\"text-align: justify;\">Creating the flow with Power Automate<\/h2>\n<p style=\"text-align: justify;\">Now we are going to use Power Automate and create a new flow that can consume the webhook we will enable. At a high-level these are the steps that we need to do:<\/p>\n<ol style=\"text-align: justify;\">\n<li>Configure an incoming webhook for Power Automate<\/li>\n<li>Configure an outgoing webhook for the feature service<\/li>\n<li>Create a complete flow to process the new damage assessment features<\/li>\n<\/ol>\n<p style=\"text-align: justify;\">At the end of the tutorial, the flow should look like this:<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":1331632,"id":1331632,"title":"Completed flow","filename":"Complete-Flow.png","filesize":22949,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Complete-Flow.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/field-maps\/field-mobility\/use-webhooks-to-automate-workflows-in-arcgis-field-maps-with-power-automate\/complete-flow","alt":"Completed flow","author":"8272","description":"","caption":"","name":"complete-flow","status":"inherit","uploaded_to":1331442,"date":"2021-08-20 17:52:27","modified":"2021-08-20 17:52:39","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":477,"height":778,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Complete-Flow-213x200.png","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Complete-Flow.png","medium-width":160,"medium-height":261,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Complete-Flow.png","medium_large-width":477,"medium_large-height":778,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Complete-Flow.png","large-width":477,"large-height":778,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Complete-Flow.png","1536x1536-width":477,"1536x1536-height":778,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Complete-Flow.png","2048x2048-width":477,"2048x2048-height":778,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Complete-Flow-285x465.png","card_image-width":285,"card_image-height":465,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Complete-Flow.png","wide_image-width":477,"wide_image-height":778}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p style=\"text-align: justify;\">In Power Automate (after signing in), click <strong>My flows<\/strong>. Then, click <strong>New flow<\/strong> and select <strong>Instant cloud flow<\/strong>.<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":1331642,"id":1331642,"title":"Create New Flow","filename":"Create-New-Flow.png","filesize":19874,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Create-New-Flow.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/field-maps\/field-mobility\/use-webhooks-to-automate-workflows-in-arcgis-field-maps-with-power-automate\/create-new-flow","alt":"Create new flow","author":"8272","description":"","caption":"","name":"create-new-flow","status":"inherit","uploaded_to":1331442,"date":"2021-08-20 17:53:18","modified":"2021-08-20 17:53:29","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":470,"height":376,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Create-New-Flow-213x200.png","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Create-New-Flow.png","medium-width":326,"medium-height":261,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Create-New-Flow.png","medium_large-width":470,"medium_large-height":376,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Create-New-Flow.png","large-width":470,"large-height":376,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Create-New-Flow.png","1536x1536-width":470,"1536x1536-height":376,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Create-New-Flow.png","2048x2048-width":470,"2048x2048-height":376,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Create-New-Flow.png","card_image-width":470,"card_image-height":376,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Create-New-Flow.png","wide_image-width":470,"wide_image-height":376}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p style=\"text-align: justify;\">Enter a name for your flow (e.g. Email when assessment completed). Select the <strong>When an HTTP request is received<\/strong> trigger (it&#8217;s near the bottom of the list). Then click <strong>Create<\/strong><b>.<\/b><\/p>\n<p style=\"text-align: justify;\">At least one action must be added before the flow can be saved. Click <strong>+ New step<\/strong> to add a new step to the flow. Search for the <strong>HTTP<\/strong> action and click it. This first action is going to use ArcGIS Online credentials (for a built-in user) to generate a token which will be used in future actions. Configure it as follows using your own credentials:<\/p>\n<ul style=\"text-align: justify;\">\n<li><strong>Method: <\/strong><code>POST<\/code><\/li>\n<li><strong>URI:<\/strong> <code>https:\/\/arcgis.com\/sharing\/rest\/generateToken<\/code><\/li>\n<li><strong>Headers:<\/strong>\n<ul>\n<li style=\"margin-left: 50px;\"><strong>Key<\/strong>: <code>Content-Type<\/code><\/li>\n<li style=\"margin-left: 50px;\"><strong>Value: <\/strong><code>application\/x-www-form-urlencoded<\/code><\/li>\n<\/ul>\n<\/li>\n<li style=\"text-align: left;\"><strong>Body: <\/strong><code>username={username}&amp;password={password}&amp;referer=https:\/\/arcgis.com&amp;expiration=60&amp;f=json<\/code><\/li>\n<\/ul>\n<p style=\"text-align: justify;\">\n"},{"acf_fc_layout":"image","image":{"ID":1331662,"id":1331662,"title":"Generate Portal Token","filename":"Generate-Portal-Token.png","filesize":19671,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Generate-Portal-Token.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/field-maps\/field-mobility\/use-webhooks-to-automate-workflows-in-arcgis-field-maps-with-power-automate\/generate-portal-token","alt":"Generate portal token","author":"8272","description":"","caption":"","name":"generate-portal-token","status":"inherit","uploaded_to":1331442,"date":"2021-08-20 17:55:51","modified":"2021-08-20 17:56:00","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":605,"height":404,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Generate-Portal-Token-213x200.png","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Generate-Portal-Token.png","medium-width":391,"medium-height":261,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Generate-Portal-Token.png","medium_large-width":605,"medium_large-height":404,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Generate-Portal-Token.png","large-width":605,"large-height":404,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Generate-Portal-Token.png","1536x1536-width":605,"1536x1536-height":404,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Generate-Portal-Token.png","2048x2048-width":605,"2048x2048-height":404,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Generate-Portal-Token.png","card_image-width":605,"card_image-height":404,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Generate-Portal-Token.png","wide_image-width":605,"wide_image-height":404}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p style=\"text-align: justify;\">Rename the action to &#8220;Generate Portal Token&#8221; \u2013 this will make it easier to understand the steps that make up the flow.<\/p>\n<p style=\"text-align: justify;\"><em>Note: As a best practice, these credentials should be stored in Azure Key Vault and fetched as needed. To simplify the tutorial, these steps were omitted. Also, consider using <a href=\"https:\/\/docs.microsoft.com\/en-us\/power-automate\/guidance\/planning\/define-input-output#securing-inputs-and-outputs\">Secure inputs and outputs<\/a> to hide your credentials in flow results.<br \/>\n<\/em><\/p>\n<p style=\"text-align: justify;\">Click <strong>Save<\/strong> to save the flow.<\/p>\n<p style=\"text-align: justify;\">Click the <strong>When a HTTP request is received<\/strong> trigger to configure it. Set the <strong>Request Body JSON Schema<\/strong> to:<\/p>\n<p style=\"text-align: justify;\">\n"},{"acf_fc_layout":"sidebar","content":"","image_reference":false,"layout":"code_snippet","image_reference_figure":"","snippet":"{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"name\":{\"type\":\"string\"},\"layerId\":{\"type\":\"integer\"},\"orgId\":{\"type\":\"string\"},\"serviceName\":{\"type\":\"string\"},\"lastUpdatedTime\":{\"type\":\"integer\"},\"changesUrl\":{\"type\":\"string\"},\"events\":{\"type\":\"array\",\"items\":{\"type\":\"string\"}}},\"required\":[\"name\",\"layerId\",\"orgId\",\"serviceName\",\"lastUpdatedTime\",\"changesUrl\",\"events\"]}}","spotlight_name":"","section_title":"","position":"Center","spotlight_image":false},{"acf_fc_layout":"content","content":"<p style=\"text-align: justify;\">This will allow the future actions to use the properties of the webhook payload to make additional requests. Once the flow is completed, we will come back to this trigger and use the generated URL to configure the webhook in ArcGIS Online.<\/p>\n<p style=\"text-align: justify;\">Click <strong>+ New step<\/strong> and add a <strong>Parse JSON<\/strong> action. Rename the action to &#8220;Portal Token Response&#8221;. This step will parse the response from the server and extract the token.<\/p>\n<p style=\"text-align: justify;\">Set the <strong>Content<\/strong> to be the &#8220;Body&#8221; of the previous &#8220;Generate Portal Token&#8221; action: <code>@{body('Generate_Portal_Token')}<\/code><\/p>\n<p style=\"text-align: justify;\">Set the <strong>Schema<\/strong> to:<\/p>\n"},{"acf_fc_layout":"sidebar","content":"","image_reference":false,"layout":"code_snippet","image_reference_figure":"","snippet":"{\"type\":\"object\",\"properties\":{\"token\":{\"type\":\"string\"},\"expires\":{\"type\":\"integer\"},\"ssl\":{\"type\":\"boolean\"}}}","spotlight_name":"","section_title":"","position":"Center","spotlight_image":false},{"acf_fc_layout":"image","image":{"ID":1331672,"id":1331672,"title":"Portal Token Response","filename":"Portal-Token-Response.png","filesize":13007,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Portal-Token-Response.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/field-maps\/field-mobility\/use-webhooks-to-automate-workflows-in-arcgis-field-maps-with-power-automate\/portal-token-response","alt":"Portal token response","author":"8272","description":"","caption":"","name":"portal-token-response","status":"inherit","uploaded_to":1331442,"date":"2021-08-20 17:58:18","modified":"2021-08-20 17:58:28","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":609,"height":340,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Portal-Token-Response-213x200.png","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Portal-Token-Response.png","medium-width":464,"medium-height":259,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Portal-Token-Response.png","medium_large-width":609,"medium_large-height":340,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Portal-Token-Response.png","large-width":609,"large-height":340,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Portal-Token-Response.png","1536x1536-width":609,"1536x1536-height":340,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Portal-Token-Response.png","2048x2048-width":609,"2048x2048-height":340,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Portal-Token-Response.png","card_image-width":609,"card_image-height":340,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Portal-Token-Response.png","wide_image-width":609,"wide_image-height":340}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p style=\"text-align: justify;\">Next, the portal token needs to be exchanged for a server token. The serverURL will be derived from the initial webhook payload using the changesUrl property. Click <strong>+ New step<\/strong> and select the <strong>HTTP<\/strong> action. Rename it to &#8220;Generate Server Token&#8221;. Configure it as follows:<\/p>\n<ul>\n<li style=\"text-align: justify;\"><strong>Method:<\/strong><code>POST<\/code><\/li>\n<li style=\"text-align: justify;\"><strong>URI:<\/strong><code>https:\/\/arcgis.com\/sharing\/rest\/generateToken<\/code><\/li>\n<li style=\"text-align: justify;\"><strong>Headers:<\/strong>\n<ul>\n<li style=\"margin-left: 50px;\"><strong>Key: <\/strong><code>Content-Type<\/code><\/li>\n<li style=\"margin-left: 50px;\"><strong>Value<\/strong>: <code>application\/x-www-form-urlencoded<\/code><\/li>\n<\/ul>\n<\/li>\n<li style=\"text-align: left;\"><strong>Body:<\/strong><code>f=json&amp;token=@{body('Portal_Token_Response')?['token']}&amp;serverURL=@{decodeUriComponent(first(triggerBody())['changesUrl'])}<\/code><\/li>\n<\/ul>\n"},{"acf_fc_layout":"image","image":{"ID":1331682,"id":1331682,"title":"Generate Server Token","filename":"Generate-Server-Token.png","filesize":16271,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Generate-Server-Token.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/field-maps\/field-mobility\/use-webhooks-to-automate-workflows-in-arcgis-field-maps-with-power-automate\/generate-server-token","alt":"Generate server token","author":"8272","description":"","caption":"","name":"generate-server-token","status":"inherit","uploaded_to":1331442,"date":"2021-08-20 17:59:25","modified":"2021-08-20 17:59:36","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":605,"height":385,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Generate-Server-Token-213x200.png","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Generate-Server-Token.png","medium-width":410,"medium-height":261,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Generate-Server-Token.png","medium_large-width":605,"medium_large-height":385,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Generate-Server-Token.png","large-width":605,"large-height":385,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Generate-Server-Token.png","1536x1536-width":605,"1536x1536-height":385,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Generate-Server-Token.png","2048x2048-width":605,"2048x2048-height":385,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Generate-Server-Token.png","card_image-width":605,"card_image-height":385,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Generate-Server-Token.png","wide_image-width":605,"wide_image-height":385}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p style=\"text-align: justify;\">Click <b>+ New step<\/b> and add a <b>Parse JSON<\/b> action. Rename the action to &#8220;Server Token Response&#8221;. This step will parse the response from the server and extract the token.<\/p>\n<p style=\"text-align: justify;\">Set the <b>Content<\/b> to be the &#8220;Body&#8221; of the previous &#8220;Generate Server Token&#8221; action: <code> @{body('Generate_Server_Token')} <\/code><\/p>\n<p style=\"text-align: justify;\">Set the <b>Schema<\/b> to:<\/p>\n"},{"acf_fc_layout":"sidebar","content":"","image_reference":false,"layout":"code_snippet","image_reference_figure":"","snippet":"{\"type\":\"object\",\"properties\":{\"token\":{\"type\":\"string\"},\"expires\":{\"type\":\"integer\"},\"ssl\":{\"type\":\"boolean\"}}}","spotlight_name":"","section_title":"","position":"Center","spotlight_image":false},{"acf_fc_layout":"image","image":{"ID":1331692,"id":1331692,"title":"Server Token Response","filename":"Server-Token-Response.png","filesize":11996,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Server-Token-Response.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/field-maps\/field-mobility\/use-webhooks-to-automate-workflows-in-arcgis-field-maps-with-power-automate\/server-token-response","alt":"Server token response","author":"8272","description":"","caption":"","name":"server-token-response","status":"inherit","uploaded_to":1331442,"date":"2021-08-20 18:00:26","modified":"2021-08-20 18:00:38","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":605,"height":339,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Server-Token-Response-213x200.png","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Server-Token-Response.png","medium-width":464,"medium-height":261,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Server-Token-Response.png","medium_large-width":605,"medium_large-height":339,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Server-Token-Response.png","large-width":605,"large-height":339,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Server-Token-Response.png","1536x1536-width":605,"1536x1536-height":339,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Server-Token-Response.png","2048x2048-width":605,"2048x2048-height":339,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Server-Token-Response.png","card_image-width":605,"card_image-height":339,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Server-Token-Response.png","wide_image-width":605,"wide_image-height":339}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p style=\"text-align: justify;\">Next, the changesUrl provided by the webhook payload will be fetched.<\/p>\n<p style=\"text-align: justify;\">Click <strong>+ New step<\/strong> and select the <strong>HTTP<\/strong> action. Rename the action to &#8220;Get Changes&#8221;. This will trigger an asynchronous job that will generate the changeset.<\/p>\n<p style=\"text-align: justify;\">Configure it as follows so that an authenticated request is made to the changesUrl:<\/p>\n<ul>\n<li style=\"text-align: justify;\"><strong>Method:<\/strong><code>GET<\/code><\/li>\n<li style=\"text-align: justify;\"><strong>URI: <\/strong><code>@concat(decodeUriComponent(first(triggerBody())['changesUrl']),'&amp;f=json')<\/code><\/li>\n<li><strong>Headers:<\/strong>\n<ul>\n<li style=\"margin-left: 50px; text-align: justify;\"><strong>Key<\/strong>: <code>X-Esri-Authorization<\/code><\/li>\n<li style=\"margin-left: 50px; text-align: justify;\"><strong>Value<\/strong>: <code>Bearer @{body('Server_Token_Response')?['token']}<\/code><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n"},{"acf_fc_layout":"image","image":{"ID":1336242,"id":1336242,"title":"Get Edits","filename":"Get-Edits-2.png","filesize":10058,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Get-Edits-2.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/field-maps\/field-mobility\/use-webhooks-to-automate-workflows-in-arcgis-field-maps-with-power-automate\/get-edits-2","alt":"Get Edits","author":"8272","description":"","caption":"","name":"get-edits-2","status":"inherit","uploaded_to":1331442,"date":"2021-08-26 13:08:22","modified":"2021-08-26 13:08:32","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":604,"height":364,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Get-Edits-2-213x200.png","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Get-Edits-2.png","medium-width":433,"medium-height":261,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Get-Edits-2.png","medium_large-width":604,"medium_large-height":364,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Get-Edits-2.png","large-width":604,"large-height":364,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Get-Edits-2.png","1536x1536-width":604,"1536x1536-height":364,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Get-Edits-2.png","2048x2048-width":604,"2048x2048-height":364,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Get-Edits-2.png","card_image-width":604,"card_image-height":364,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Get-Edits-2.png","wide_image-width":604,"wide_image-height":364}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p style=\"text-align: justify;\">Next, the results from this job need to be parsed so that the job status can be checked periodically until the results are ready.<\/p>\n<p style=\"text-align: justify;\">Click <strong>+ New step<\/strong> and select the <strong>Parse JSON<\/strong> action. Rename the action to &#8220;Changes Response\u201d<\/p>\n<p style=\"text-align: justify;\">Set the <strong>Content<\/strong> to the body of the &#8220;Get Changes&#8221; action: <code>@{body('Get_Changes')}<\/code><\/p>\n<p style=\"text-align: justify;\">Set the <strong>Schema<\/strong> to:<\/p>\n"},{"acf_fc_layout":"sidebar","content":"","image_reference":false,"layout":"code_snippet","image_reference_figure":"","snippet":"{\"type\":\"object\",\"properties\":{\"statusUrl\":{\"type\":\"string\"}}}","spotlight_name":"","section_title":"","position":"Center","spotlight_image":false},{"acf_fc_layout":"image","image":{"ID":1331712,"id":1331712,"title":"Changes Response","filename":"Changes-Response.png","filesize":10549,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Changes-Response.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/field-maps\/field-mobility\/use-webhooks-to-automate-workflows-in-arcgis-field-maps-with-power-automate\/changes-response","alt":"Changes response","author":"8272","description":"","caption":"","name":"changes-response","status":"inherit","uploaded_to":1331442,"date":"2021-08-20 18:02:12","modified":"2021-08-20 18:02:21","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":604,"height":339,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Changes-Response-213x200.png","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Changes-Response.png","medium-width":464,"medium-height":261,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Changes-Response.png","medium_large-width":604,"medium_large-height":339,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Changes-Response.png","large-width":604,"large-height":339,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Changes-Response.png","1536x1536-width":604,"1536x1536-height":339,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Changes-Response.png","2048x2048-width":604,"2048x2048-height":339,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Changes-Response.png","card_image-width":604,"card_image-height":339,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Changes-Response.png","wide_image-width":604,"wide_image-height":339}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p style=\"text-align: justify;\">Next, the status of the job will be checked every 5 seconds. A loop needs to be introduced to the flow to accomplish this. Click <b>+ New step<\/b> and select the <b>Do until<\/b> action. Rename the action to &#8220;Check Status Results Until Ready&#8221;.<\/p>\n<p style=\"text-align: justify;\">Inside the loop, click <b>Add an action<\/b>. Select the <b>Delay<\/b> action.<\/p>\n<p style=\"text-align: justify;\">Set the <b>Count<\/b> to 5.<\/p>\n<p style=\"text-align: justify;\">Set the <b>Unit<\/b> to <b>Second.<\/b><\/p>\n"},{"acf_fc_layout":"image","image":{"ID":1331722,"id":1331722,"title":"Delay","filename":"Delay.png","filesize":3991,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Delay.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/field-maps\/field-mobility\/use-webhooks-to-automate-workflows-in-arcgis-field-maps-with-power-automate\/delay-2","alt":"Delay 5 seconds","author":"8272","description":"","caption":"","name":"delay-2","status":"inherit","uploaded_to":1331442,"date":"2021-08-20 18:02:52","modified":"2021-08-20 18:03:00","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":606,"height":143,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Delay-213x143.png","thumbnail-width":213,"thumbnail-height":143,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Delay.png","medium-width":464,"medium-height":109,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Delay.png","medium_large-width":606,"medium_large-height":143,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Delay.png","large-width":606,"large-height":143,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Delay.png","1536x1536-width":606,"1536x1536-height":143,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Delay.png","2048x2048-width":606,"2048x2048-height":143,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Delay.png","card_image-width":606,"card_image-height":143,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Delay.png","wide_image-width":606,"wide_image-height":143}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p style=\"text-align: justify;\">Click <strong>Add an action<\/strong> and select the <strong>HTTP<\/strong> action. Rename the action to &#8220;Check Status&#8221;.<\/p>\n<p style=\"text-align: justify;\">Configure it as follows so that an authenticated request is made to the statusURL:<\/p>\n<ul>\n<li style=\"text-align: justify;\"><strong>Method:<\/strong> <code>GET<\/code><\/li>\n<li style=\"text-align: justify;\"><strong>URI:<\/strong> <code>@{body('Changes_Response')?['statusUrl']}<\/code><\/li>\n<li style=\"text-align: justify;\"><strong>Headers:<\/strong>\n<ul>\n<li style=\"margin-left: 50px;\"><strong>Key<\/strong>: <code>X-Esri-Authorization<\/code><\/li>\n<li style=\"margin-left: 50px;\"><strong>Value<\/strong>: <code>Bearer @{body('Server_Token_Response')?['token']}<\/code><\/li>\n<\/ul>\n<\/li>\n<li><strong>Queries:<\/strong>\n<ul>\n<li style=\"margin-left: 50px; text-align: justify;\"><strong>Key: <\/strong><code>f<\/code><\/li>\n<li style=\"margin-left: 50px; text-align: justify;\"><strong>Value<\/strong>: <code>json<\/code><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n"},{"acf_fc_layout":"image","image":{"ID":1331732,"id":1331732,"title":"Check Status","filename":"Check-Status.png","filesize":13416,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Check-Status.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/field-maps\/field-mobility\/use-webhooks-to-automate-workflows-in-arcgis-field-maps-with-power-automate\/check-status","alt":"Check status","author":"8272","description":"","caption":"","name":"check-status","status":"inherit","uploaded_to":1331442,"date":"2021-08-20 18:03:42","modified":"2021-08-20 18:03:50","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":604,"height":393,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Check-Status-213x200.png","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Check-Status.png","medium-width":401,"medium-height":261,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Check-Status.png","medium_large-width":604,"medium_large-height":393,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Check-Status.png","large-width":604,"large-height":393,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Check-Status.png","1536x1536-width":604,"1536x1536-height":393,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Check-Status.png","2048x2048-width":604,"2048x2048-height":393,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Check-Status.png","card_image-width":604,"card_image-height":393,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Check-Status.png","wide_image-width":604,"wide_image-height":393}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p style=\"text-align: justify;\">Click <strong>Add an Action<\/strong> and select the <strong>Parse JSON<\/strong> action. Rename the action to &#8220;Parse Status&#8221;.<\/p>\n<p style=\"text-align: justify;\">Set the <strong>Content <\/strong>to the <strong>Body<\/strong> of the &#8220;Check Status&#8221; action: <code>@{body('Check_Status')}<\/code><\/p>\n<p style=\"text-align: justify;\">Set the schema to:<\/p>\n"},{"acf_fc_layout":"sidebar","content":"","image_reference":false,"layout":"code_snippet","image_reference_figure":"","snippet":"{\"type\":\"object\",\"properties\":{\"submissionTime\":{\"type\":\"integer\"},\"lastUpdatedTime\":{\"type\":\"integer\"},\"status\":{\"type\":\"string\"},\"responseType\":{\"type\":\"string\"},\"resultUrl\":{\"type\":\"string\"}}}","spotlight_name":"","section_title":"","position":"Center","spotlight_image":false},{"acf_fc_layout":"image","image":{"ID":1331752,"id":1331752,"title":"Parse Status","filename":"Parse-Status.png","filesize":12353,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Parse-Status.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/field-maps\/field-mobility\/use-webhooks-to-automate-workflows-in-arcgis-field-maps-with-power-automate\/parse-status","alt":"Parse status","author":"8272","description":"","caption":"","name":"parse-status","status":"inherit","uploaded_to":1331442,"date":"2021-08-20 18:06:19","modified":"2021-08-20 18:06:28","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":605,"height":340,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Parse-Status-213x200.png","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Parse-Status.png","medium-width":464,"medium-height":261,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Parse-Status.png","medium_large-width":605,"medium_large-height":340,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Parse-Status.png","large-width":605,"large-height":340,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Parse-Status.png","1536x1536-width":605,"1536x1536-height":340,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Parse-Status.png","2048x2048-width":605,"2048x2048-height":340,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Parse-Status.png","card_image-width":605,"card_image-height":340,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Parse-Status.png","wide_image-width":605,"wide_image-height":340}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p style=\"text-align: justify;\">Back in the &#8220;Check Status Results Until Ready&#8221; action, set the <strong>value<\/strong> to &#8220;status&#8221; of the request: <code>@{body('Parse_Status')?['status']}<\/code><\/p>\n<p style=\"text-align: justify;\">Set the operator to &#8220;is equal to&#8221; and set the other value to &#8220;Completed&#8221;.<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":1331762,"id":1331762,"title":"Check Status Results Until Ready","filename":"Check-Status-Results-Until-Ready.png","filesize":12708,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Check-Status-Results-Until-Ready.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/field-maps\/field-mobility\/use-webhooks-to-automate-workflows-in-arcgis-field-maps-with-power-automate\/check-status-results-until-ready","alt":"Check status of results","author":"8272","description":"","caption":"","name":"check-status-results-until-ready","status":"inherit","uploaded_to":1331442,"date":"2021-08-20 18:07:01","modified":"2021-08-20 18:07:13","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":637,"height":527,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Check-Status-Results-Until-Ready-213x200.png","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Check-Status-Results-Until-Ready.png","medium-width":315,"medium-height":261,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Check-Status-Results-Until-Ready.png","medium_large-width":637,"medium_large-height":527,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Check-Status-Results-Until-Ready.png","large-width":637,"large-height":527,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Check-Status-Results-Until-Ready.png","1536x1536-width":637,"1536x1536-height":527,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Check-Status-Results-Until-Ready.png","2048x2048-width":637,"2048x2048-height":527,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Check-Status-Results-Until-Ready-562x465.png","card_image-width":562,"card_image-height":465,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Check-Status-Results-Until-Ready.png","wide_image-width":637,"wide_image-height":527}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p style=\"text-align: justify;\">Once this loop exists, the results should be ready to download.<\/p>\n<p style=\"text-align: justify;\">Click <strong>+ New step<\/strong> to add a new <strong>HTTP<\/strong> action. Rename the action to &#8220;Get Edits&#8221;.<\/p>\n<p style=\"text-align: justify;\">Configure it as follows so that an authenticated request is made to the resultUrl:<\/p>\n<ul>\n<li style=\"text-align: justify;\"><strong>Method<\/strong>: <code>GET<\/code><\/li>\n<li style=\"text-align: justify;\"><strong>URI<\/strong>: <code>@{body('Parse_Status')?['resultUrl']}<\/code><\/li>\n<li><strong>Headers:<\/strong>\n<ul>\n<li style=\"margin-left: 50px; text-align: justify;\"><strong>Key: <\/strong><code>X-Esri-Authorization<\/code><\/li>\n<li style=\"margin-left: 50px; text-align: justify;\"><strong>Value:<\/strong> <code>Bearer @{body('Server_Token_Response')?['token']}<\/code><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n"},{"acf_fc_layout":"image","image":{"ID":1331772,"id":1331772,"title":"Get Edits","filename":"Get-Edits.png","filesize":8524,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Get-Edits.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/field-maps\/field-mobility\/use-webhooks-to-automate-workflows-in-arcgis-field-maps-with-power-automate\/get-edits","alt":"Get edits","author":"8272","description":"","caption":"","name":"get-edits","status":"inherit","uploaded_to":1331442,"date":"2021-08-20 18:07:57","modified":"2021-08-20 18:08:07","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":604,"height":362,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Get-Edits-213x200.png","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Get-Edits.png","medium-width":435,"medium-height":261,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Get-Edits.png","medium_large-width":604,"medium_large-height":362,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Get-Edits.png","large-width":604,"large-height":362,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Get-Edits.png","1536x1536-width":604,"1536x1536-height":362,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Get-Edits.png","2048x2048-width":604,"2048x2048-height":362,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Get-Edits.png","card_image-width":604,"card_image-height":362,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Get-Edits.png","wide_image-width":604,"wide_image-height":362}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p style=\"text-align: justify;\">Unfortunately, this request will redirect to a different URL which contains the json file. The HTTP action does not automatically handle this, so some additional configuration is needed.<\/p>\n<p style=\"text-align: justify;\">Click <strong>+ New step<\/strong> and select the <strong>HTTP<\/strong> action. Change the name to &#8220;Get Edits Redirect&#8221;.<\/p>\n<p style=\"text-align: justify;\">Configure it as follows so that a request is made to the redirected URL (the provided URL contains temporary authorization already):<\/p>\n<ul style=\"text-align: justify;\">\n<li><strong>Method:<\/strong> <code>GET<\/code><\/li>\n<li><strong>URI:<\/strong> <code>@{outputs('Get_Edits')['headers']?['location']}<\/code><\/li>\n<\/ul>\n<p style=\"text-align: justify;\">Using the overflow menu, click the <strong>Configure run after<\/strong> option.<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":1331782,"id":1331782,"title":"Configure Run After for Redirect","filename":"Configure-Run-After-for-Redirect.png","filesize":19709,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Configure-Run-After-for-Redirect.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/field-maps\/field-mobility\/use-webhooks-to-automate-workflows-in-arcgis-field-maps-with-power-automate\/configure-run-after-for-redirect","alt":"Configure run after option","author":"8272","description":"","caption":"","name":"configure-run-after-for-redirect","status":"inherit","uploaded_to":1331442,"date":"2021-08-20 18:08:48","modified":"2021-08-20 18:08:58","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":833,"height":333,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Configure-Run-After-for-Redirect-213x200.png","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Configure-Run-After-for-Redirect.png","medium-width":464,"medium-height":185,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Configure-Run-After-for-Redirect.png","medium_large-width":768,"medium_large-height":307,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Configure-Run-After-for-Redirect.png","large-width":833,"large-height":333,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Configure-Run-After-for-Redirect.png","1536x1536-width":833,"1536x1536-height":333,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Configure-Run-After-for-Redirect.png","2048x2048-width":833,"2048x2048-height":333,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Configure-Run-After-for-Redirect-826x330.png","card_image-width":826,"card_image-height":330,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Configure-Run-After-for-Redirect.png","wide_image-width":833,"wide_image-height":333}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p style=\"text-align: justify;\">Check only the <strong>has failed<\/strong> option and click <strong>Done<\/strong>. When the original request to get the edits fails due to the redirect, this second request will be made.<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":1331792,"id":1331792,"title":"Run on failure","filename":"Run-on-failure.png","filesize":8946,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Run-on-failure.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/field-maps\/field-mobility\/use-webhooks-to-automate-workflows-in-arcgis-field-maps-with-power-automate\/run-on-failure","alt":"Run when previous request failed","author":"8272","description":"","caption":"","name":"run-on-failure","status":"inherit","uploaded_to":1331442,"date":"2021-08-20 18:09:45","modified":"2021-08-20 18:09:58","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":605,"height":219,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Run-on-failure-213x200.png","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Run-on-failure.png","medium-width":464,"medium-height":168,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Run-on-failure.png","medium_large-width":605,"medium_large-height":219,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Run-on-failure.png","large-width":605,"large-height":219,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Run-on-failure.png","1536x1536-width":605,"1536x1536-height":219,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Run-on-failure.png","2048x2048-width":605,"2048x2048-height":219,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Run-on-failure.png","card_image-width":605,"card_image-height":219,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Run-on-failure.png","wide_image-width":605,"wide_image-height":219}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p style=\"text-align: justify;\">Once this new request completes, the edit results need to be processed and parsed. Click <strong>+ New step<\/strong> and select the <strong>Parse JSON <\/strong>action. Rename the action to &#8220;Parse Edits&#8221;.<\/p>\n<p style=\"text-align: justify;\">Since the response containing the edits is an actual file, the content needs to be converted to a JSON string first and then parsed. This is done by using the json function.<\/p>\n<p style=\"text-align: justify;\">Set the <strong>Content<\/strong> to: <code>@{json(body('Get_Edits_Redirect'))}<\/code><\/p>\n<p style=\"text-align: justify;\">Set the Schema to:<\/p>\n"},{"acf_fc_layout":"sidebar","content":"","image_reference":false,"layout":"code_snippet","image_reference_figure":"","snippet":"{\"type\":\"object\",\"properties\":{\"layerServerGens\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"integer\"},\"serverGen\":{\"type\":\"integer\"}},\"required\":[\"id\",\"serverGen\"]}},\"transportType\":{\"type\":\"string\"},\"responseType\":{\"type\":\"string\"},\"edits\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"integer\"},\"features\":{\"type\":\"object\",\"properties\":{\"adds\":{\"type\":\"array\"},\"updates\":{\"type\":\"array\"},\"deleteIds\":{\"type\":\"array\"}}},\"attachments\":{\"type\":\"object\",\"properties\":{\"adds\":{\"type\":\"array\"},\"updates\":{\"type\":\"array\"},\"deleteIds\":{\"type\":\"array\"}}}},\"required\":[\"id\",\"features\"]}}}}","spotlight_name":"","section_title":"","position":"Center","spotlight_image":false},{"acf_fc_layout":"content","content":"<p style=\"text-align: justify;\">This schema is generic for any change result but could be further customized to parse specific attributes if desired.<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":1331802,"id":1331802,"title":"Parse Edits","filename":"Parse-Edits.png","filesize":12718,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Parse-Edits.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/field-maps\/field-mobility\/use-webhooks-to-automate-workflows-in-arcgis-field-maps-with-power-automate\/parse-edits","alt":"Parse edits","author":"8272","description":"","caption":"","name":"parse-edits","status":"inherit","uploaded_to":1331442,"date":"2021-08-20 18:10:56","modified":"2021-08-20 18:11:06","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":604,"height":338,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Parse-Edits-213x200.png","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Parse-Edits.png","medium-width":464,"medium-height":261,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Parse-Edits.png","medium_large-width":604,"medium_large-height":338,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Parse-Edits.png","large-width":604,"large-height":338,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Parse-Edits.png","1536x1536-width":604,"1536x1536-height":338,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Parse-Edits.png","2048x2048-width":604,"2048x2048-height":338,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Parse-Edits.png","card_image-width":604,"card_image-height":338,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Parse-Edits.png","wide_image-width":604,"wide_image-height":338}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p style=\"text-align: justify;\">The last step to this flow is to send an email for each of the new damage assessment reports. In this case we are going to send the raw json of the features, but a more user-friendly message could be created if desired.<\/p>\n<p style=\"text-align: justify;\">Since the change set may contain multiple layers, the first layer must be selected, and then for each new feature within that layer, an email should be sent.<\/p>\n<p style=\"text-align: justify;\">Click <strong>+ New step<\/strong> and add the <strong>Apply to each<\/strong> action.<\/p>\n<p style=\"text-align: justify;\">Set the array to: <code>@{body('Parse_Edits')['edits'][0]['features']['adds']}<\/code><\/p>\n<p style=\"text-align: justify;\">Click <strong>Add an action <\/strong>and add the <strong>Send an email (V2)<\/strong> action.<\/p>\n<p style=\"text-align: justify;\">Set the <strong>To<\/strong> address to your own email address.<\/p>\n<p style=\"text-align: justify;\">Set the <strong>Subject<\/strong> to &#8220;New Damage Assessment Report(s)&#8221;.<\/p>\n<p style=\"text-align: justify;\">Set the body to: <code>@{item()}<\/code><\/p>\n"},{"acf_fc_layout":"image","image":{"ID":1331812,"id":1331812,"title":"Send Email","filename":"Send-Email.png","filesize":15192,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Send-Email.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/field-maps\/field-mobility\/use-webhooks-to-automate-workflows-in-arcgis-field-maps-with-power-automate\/send-email","alt":"Send an email","author":"8272","description":"","caption":"","name":"send-email","status":"inherit","uploaded_to":1331442,"date":"2021-08-20 18:11:49","modified":"2021-08-20 18:12:07","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":637,"height":518,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Send-Email-213x200.png","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Send-Email.png","medium-width":321,"medium-height":261,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Send-Email.png","medium_large-width":637,"medium_large-height":518,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Send-Email.png","large-width":637,"large-height":518,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Send-Email.png","1536x1536-width":637,"1536x1536-height":518,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Send-Email.png","2048x2048-width":637,"2048x2048-height":518,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Send-Email-572x465.png","card_image-width":572,"card_image-height":465,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Send-Email.png","wide_image-width":637,"wide_image-height":518}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p style=\"text-align: justify;\">Save the flow.<\/p>\n<p><em>Note: <\/em>To access specific attributes of a feature use an expression like <code>item()['attributes']['fieldName']<\/code><\/p>\n<h2 style=\"text-align: justify;\">Configure the webhook in ArcGIS Online<\/h2>\n<p style=\"text-align: justify;\">Copy the URL from the &#8220;When a HTTP request is received&#8221; trigger to the clipboard. We are going to use this URL to configure our feature service webhook.<\/p>\n<p style=\"text-align: justify;\">Back in ArcGIS Online, open the feature service URL using the <strong>URL<\/strong> on the <strong>Overview<\/strong> tab. In the URL add &#8220;admin&#8221; between &#8220;rest\/services&#8221; so that you can access the feature service admin APIs. The URL should be similar to:<\/p>\n<p style=\"text-align: justify;\">https:\/\/services.arcgis.com\/&lt;redacted&gt;\/arcgis\/rest\/admin\/services\/Residential_Damage_Assessements<\/p>\n<p style=\"text-align: justify;\">At the bottom of the admin page, click <strong>Web Hooks.<\/strong><\/p>\n"},{"acf_fc_layout":"image","image":{"ID":1331962,"id":1331962,"title":"Webhooks admin link2","filename":"Webhooks-admin-link2.png","filesize":5849,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Webhooks-admin-link2.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/field-maps\/field-mobility\/use-webhooks-to-automate-workflows-in-arcgis-field-maps-with-power-automate\/webhooks-admin-link2","alt":"Web hooks admin API","author":"8272","description":"","caption":"","name":"webhooks-admin-link2","status":"inherit","uploaded_to":1331442,"date":"2021-08-20 18:52:55","modified":"2021-08-20 18:53:26","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":1119,"height":39,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Webhooks-admin-link2-213x39.png","thumbnail-width":213,"thumbnail-height":39,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Webhooks-admin-link2.png","medium-width":464,"medium-height":16,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Webhooks-admin-link2.png","medium_large-width":768,"medium_large-height":27,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Webhooks-admin-link2.png","large-width":1119,"large-height":39,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Webhooks-admin-link2.png","1536x1536-width":1119,"1536x1536-height":39,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Webhooks-admin-link2.png","2048x2048-width":1119,"2048x2048-height":39,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Webhooks-admin-link2-826x29.png","card_image-width":826,"card_image-height":29,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Webhooks-admin-link2.png","wide_image-width":1119,"wide_image-height":39}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p style=\"text-align: justify;\">Next, click <strong>Create<\/strong>. Provide a <strong>Name<\/strong> for your webhook. Set the <strong>Change Types<\/strong> to <code>FeaturesCreated<\/code> so that this webhook only will trigger when new features are created.<\/p>\n<p style=\"text-align: justify;\">Leave the <strong>Signature Key<\/strong> empty. If defined, a Signature Key can be used as an additional layer of security by allowing the webhook receiver to verify the sender.For simplicity we will not do this in the tutorial.<\/p>\n<p style=\"text-align: justify;\">Paste the URL you copied from Power Automate into the <strong>HookUrl<\/strong> text box. This URL will be where ArcGIS Online sends information when features are created. Leave the remaining options alone.<\/p>\n<p style=\"text-align: justify;\">Set the <strong>Content Type<\/strong> to <code>application\/json<\/code><\/p>\n<p style=\"text-align: justify;\">It should look like this:<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":1331832,"id":1331832,"title":"Webhook Config","filename":"Webhook-Config.png","filesize":23554,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Webhook-Config.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/field-maps\/field-mobility\/use-webhooks-to-automate-workflows-in-arcgis-field-maps-with-power-automate\/webhook-config","alt":"Webhook configuration","author":"8272","description":"","caption":"","name":"webhook-config","status":"inherit","uploaded_to":1331442,"date":"2021-08-20 18:13:53","modified":"2021-08-20 18:14:03","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":602,"height":477,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Webhook-Config-213x200.png","thumbnail-width":213,"thumbnail-height":200,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Webhook-Config.png","medium-width":329,"medium-height":261,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Webhook-Config.png","medium_large-width":602,"medium_large-height":477,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Webhook-Config.png","large-width":602,"large-height":477,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Webhook-Config.png","1536x1536-width":602,"1536x1536-height":477,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Webhook-Config.png","2048x2048-width":602,"2048x2048-height":477,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Webhook-Config-587x465.png","card_image-width":587,"card_image-height":465,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Webhook-Config.png","wide_image-width":602,"wide_image-height":477}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p style=\"text-align: justify;\">Click<strong>. <\/strong>Next, click <strong>Edit<\/strong>, set <strong>Active<\/strong> to <strong>True<\/strong>, and then click <strong>Edit <\/strong>to activate the webhook. Your feature service webhook is now activated and ready to use in Integromat.<\/p>\n<p style=\"text-align: justify;\">Now let&#8217;s verify it works, in Power Automate click <strong>Test<\/strong>.<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":1331842,"id":1331842,"title":"Test flow","filename":"Test-flow.png","filesize":3538,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Test-flow.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/field-maps\/field-mobility\/use-webhooks-to-automate-workflows-in-arcgis-field-maps-with-power-automate\/test-flow","alt":"Test the flow","author":"8272","description":"","caption":"","name":"test-flow","status":"inherit","uploaded_to":1331442,"date":"2021-08-20 18:14:32","modified":"2021-08-20 18:14:42","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":272,"height":38,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Test-flow-213x38.png","thumbnail-width":213,"thumbnail-height":38,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Test-flow.png","medium-width":272,"medium-height":38,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Test-flow.png","medium_large-width":272,"medium_large-height":38,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Test-flow.png","large-width":272,"large-height":38,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Test-flow.png","1536x1536-width":272,"1536x1536-height":38,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Test-flow.png","2048x2048-width":272,"2048x2048-height":38,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Test-flow.png","card_image-width":272,"card_image-height":38,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Test-flow.png","wide_image-width":272,"wide_image-height":38}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p style=\"text-align: justify;\">Then open your map in ArcGIS Field Maps and collect a new residential damage feature. You should receive an email after a minute or so that look similar to this:<\/p>\n"},{"acf_fc_layout":"image","image":{"ID":1331852,"id":1331852,"title":"Email","filename":"Email.png","filesize":23048,"url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Email.png","link":"https:\/\/www.esri.com\/arcgis-blog\/products\/field-maps\/field-mobility\/use-webhooks-to-automate-workflows-in-arcgis-field-maps-with-power-automate\/email-3","alt":"Email","author":"8272","description":"","caption":"","name":"email-3","status":"inherit","uploaded_to":1331442,"date":"2021-08-20 18:15:11","modified":"2021-08-20 18:15:20","menu_order":0,"mime_type":"image\/png","type":"image","subtype":"png","icon":"https:\/\/www.esri.com\/arcgis-blog\/wp-includes\/images\/media\/default.png","width":891,"height":196,"sizes":{"thumbnail":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Email-213x196.png","thumbnail-width":213,"thumbnail-height":196,"medium":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Email.png","medium-width":464,"medium-height":102,"medium_large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Email.png","medium_large-width":768,"medium_large-height":169,"large":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Email.png","large-width":891,"large-height":196,"1536x1536":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Email.png","1536x1536-width":891,"1536x1536-height":196,"2048x2048":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Email.png","2048x2048-width":891,"2048x2048-height":196,"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Email-826x182.png","card_image-width":826,"card_image-height":182,"wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/Email.png","wide_image-width":891,"wide_image-height":196}},"image_position":"center","orientation":"horizontal","hyperlink":""},{"acf_fc_layout":"content","content":"<p style=\"text-align: justify;\"><em>Note: This may take a while to work because ArcGIS Online batches and schedules webhook events and the default interval is 30 seconds.<\/em><\/p>\n<h2 style=\"text-align: justify;\">Summary<\/h2>\n<p style=\"text-align: justify;\">In summary, we started from nothing and were able to:<\/p>\n<ol style=\"text-align: justify;\">\n<li>Create a hosted feature layer<\/li>\n<li>Create a map<\/li>\n<li>Configure an incoming webhook as part of a flow with Power Automate<\/li>\n<li>Configure an outgoing webhook for the feature service<\/li>\n<li>Create a flow to process the new damage assessment features and send an email<\/li>\n<\/ol>\n<p style=\"text-align: justify;\">Where do we go from here? There are many options beyond just emailing features. For example, we could expand this to support pushing the features into a hosted Excel spreadsheet. The nice thing is that a lot of what we built can be re-used.<\/p>\n<p style=\"text-align: justify;\">Webhooks open up a lot of opportunities for automation without the need for coding and are a great way to streamline many workflows. We look forward to seeing what you come up with!<\/p>\n<p style=\"text-align: justify;\">If you have specific requirements related to webhooks, we&#8217;d love to hear about it. Please email us at <a href=\"http:\/\/arcgisfieldmaps@esri.com\">arcgisfieldmaps@esri.com<\/a>.<\/p>\n<h2 style=\"text-align: justify;\">Additional Resources:<\/h2>\n<ul>\n<li style=\"text-align: justify;\"><a href=\"https:\/\/developers.arcgis.com\/rest\/services-reference\/web-hooks-feature-service-.htm\">ArcGIS Online Hosted Feature Service Webhooks<\/a><\/li>\n<li style=\"text-align: justify;\"><a href=\"https:\/\/www.esri.com\/arcgis-blog\/products\/field-maps\/field-mobility\/use-webhooks-to-automate-workflows-in-arcgis-field-maps\/\">Use webhooks to automate workflows in ArcGIS Field Maps<\/a><\/li>\n<li style=\"text-align: justify;\"><a href=\"https:\/\/powerautomate.microsoft.com\/\">Power Automate Resources<\/a><\/li>\n<\/ul>\n"}],"authors":[{"ID":8272,"user_firstname":"Aaron","user_lastname":"Pulver","nickname":"APulver","user_nicename":"apulver","display_name":"Aaron Pulver","user_email":"APulver@esri.com","user_url":"","user_registered":"2018-08-13 15:03:58","user_description":"Aaron is a lead Product Engineer on the Field Apps team primarily focused on location sharing, smart forms, and automation. In his free time, you can often find him hiking, camping, or kayaking throughout Central New York.","user_avatar":"<img data-del=\"avatar\" src='https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/08\/2099642.jpeg' class='avatar pp-user-avatar avatar-96 photo ' height='96' width='96'\/>"},{"ID":10102,"user_firstname":"Joshua","user_lastname":"Clifford","nickname":"Joshua Clifford","user_nicename":"jclifford","display_name":"Josh Clifford","user_email":"jclifford@esri.com","user_url":"","user_registered":"2019-11-13 14:04:25","user_description":"Josh is a Product Engineering Writer with a background in geography and comparative literature. When he isn't writing for the field apps team, he enjoys reading short stories, trying new recipes, and playing his bass clarinet.","user_avatar":"<img data-del=\"avatar\" src='https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2022\/03\/josh-213x200.jpg' class='avatar pp-user-avatar avatar-96 photo ' height='96' width='96'\/>"}],"related_articles":[{"ID":1166972,"post_author":"8272","post_date":"2021-03-23 06:30:15","post_date_gmt":"2021-03-23 13:30:15","post_content":"","post_title":"Use webhooks to automate workflows in ArcGIS Field Maps","post_excerpt":"","post_status":"publish","comment_status":"open","ping_status":"closed","post_password":"","post_name":"use-webhooks-to-automate-workflows-in-arcgis-field-maps","to_ping":"","pinged":"","post_modified":"2022-07-05 08:45:23","post_modified_gmt":"2022-07-05 15:45:23","post_content_filtered":"","post_parent":0,"guid":"https:\/\/www.esri.com\/arcgis-blog\/?post_type=blog&#038;p=1166972","menu_order":0,"post_type":"blog","post_mime_type":"","comment_count":"1","filter":"raw"},{"ID":873451,"post_author":"39221","post_date":"2020-08-28 09:00:34","post_date_gmt":"2020-08-28 16:00:34","post_content":"","post_title":"Create a hosted feature service webhook","post_excerpt":"","post_status":"publish","comment_status":"closed","ping_status":"closed","post_password":"","post_name":"how-to-create-a-hosted-feature-service-webhook","to_ping":"","pinged":"","post_modified":"2021-03-24 07:30:11","post_modified_gmt":"2021-03-24 14:30:11","post_content_filtered":"","post_parent":0,"guid":"https:\/\/www.esri.com\/arcgis-blog\/?post_type=blog&#038;p=873451","menu_order":0,"post_type":"blog","post_mime_type":"","comment_count":"0","filter":"raw"}],"card_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/card-1.png","wide_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/banner.png"},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v25.9 (Yoast SEO v25.9) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Use webhooks to automate workflows in ArcGIS Field Maps with Power Automate<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.esri.com\/arcgis-blog\/products\/field-maps\/field-mobility\/use-webhooks-to-automate-workflows-in-arcgis-field-maps-with-power-automate\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Use webhooks to automate workflows in ArcGIS Field Maps with Power Automate\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.esri.com\/arcgis-blog\/products\/field-maps\/field-mobility\/use-webhooks-to-automate-workflows-in-arcgis-field-maps-with-power-automate\" \/>\n<meta property=\"og:site_name\" content=\"ArcGIS Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/esrigis\/\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-20T18:36:36+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@ESRI\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"16 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":[\"Article\",\"BlogPosting\"],\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/field-maps\/field-mobility\/use-webhooks-to-automate-workflows-in-arcgis-field-maps-with-power-automate#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/field-maps\/field-mobility\/use-webhooks-to-automate-workflows-in-arcgis-field-maps-with-power-automate\"},\"author\":{\"name\":\"Aaron Pulver\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/8d54151f4591c7f17798ea38801e11c7\"},\"headline\":\"Use webhooks to automate workflows in ArcGIS Field Maps with Power Automate\",\"datePublished\":\"2021-08-23T15:46:12+00:00\",\"dateModified\":\"2024-05-20T18:36:36+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/field-maps\/field-mobility\/use-webhooks-to-automate-workflows-in-arcgis-field-maps-with-power-automate\"},\"wordCount\":12,\"commentCount\":5,\"publisher\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#organization\"},\"keywords\":[\"automate\",\"Monitor\",\"webhook\"],\"articleSection\":[\"Field Operations\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.esri.com\/arcgis-blog\/products\/field-maps\/field-mobility\/use-webhooks-to-automate-workflows-in-arcgis-field-maps-with-power-automate#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/field-maps\/field-mobility\/use-webhooks-to-automate-workflows-in-arcgis-field-maps-with-power-automate\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/field-maps\/field-mobility\/use-webhooks-to-automate-workflows-in-arcgis-field-maps-with-power-automate\",\"name\":\"Use webhooks to automate workflows in ArcGIS Field Maps with Power Automate\",\"isPartOf\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#website\"},\"datePublished\":\"2021-08-23T15:46:12+00:00\",\"dateModified\":\"2024-05-20T18:36:36+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/field-maps\/field-mobility\/use-webhooks-to-automate-workflows-in-arcgis-field-maps-with-power-automate#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.esri.com\/arcgis-blog\/products\/field-maps\/field-mobility\/use-webhooks-to-automate-workflows-in-arcgis-field-maps-with-power-automate\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/products\/field-maps\/field-mobility\/use-webhooks-to-automate-workflows-in-arcgis-field-maps-with-power-automate#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.esri.com\/arcgis-blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Use webhooks to automate workflows in ArcGIS Field Maps with Power Automate\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#website\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/\",\"name\":\"ArcGIS Blog\",\"description\":\"Get insider info from Esri product teams\",\"publisher\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.esri.com\/arcgis-blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#organization\",\"name\":\"Esri\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png\",\"contentUrl\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png\",\"width\":400,\"height\":400,\"caption\":\"Esri\"},\"image\":{\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/esrigis\/\",\"https:\/\/x.com\/ESRI\",\"https:\/\/www.linkedin.com\/company\/5311\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/8d54151f4591c7f17798ea38801e11c7\",\"name\":\"Aaron Pulver\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/08\/2099642.jpeg\",\"contentUrl\":\"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/08\/2099642.jpeg\",\"caption\":\"Aaron Pulver\"},\"description\":\"Aaron is a lead Product Engineer on the Field Apps team primarily focused on location sharing, smart forms, and automation. In his free time, you can often find him hiking, camping, or kayaking throughout Central New York.\",\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/apulverizer\"],\"url\":\"https:\/\/www.esri.com\/arcgis-blog\/author\/apulver\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Use webhooks to automate workflows in ArcGIS Field Maps with Power Automate","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.esri.com\/arcgis-blog\/products\/field-maps\/field-mobility\/use-webhooks-to-automate-workflows-in-arcgis-field-maps-with-power-automate","og_locale":"en_US","og_type":"article","og_title":"Use webhooks to automate workflows in ArcGIS Field Maps with Power Automate","og_url":"https:\/\/www.esri.com\/arcgis-blog\/products\/field-maps\/field-mobility\/use-webhooks-to-automate-workflows-in-arcgis-field-maps-with-power-automate","og_site_name":"ArcGIS Blog","article_publisher":"https:\/\/www.facebook.com\/esrigis\/","article_modified_time":"2024-05-20T18:36:36+00:00","twitter_card":"summary_large_image","twitter_site":"@ESRI","twitter_misc":{"Est. reading time":"16 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":["Article","BlogPosting"],"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/field-maps\/field-mobility\/use-webhooks-to-automate-workflows-in-arcgis-field-maps-with-power-automate#article","isPartOf":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/field-maps\/field-mobility\/use-webhooks-to-automate-workflows-in-arcgis-field-maps-with-power-automate"},"author":{"name":"Aaron Pulver","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/8d54151f4591c7f17798ea38801e11c7"},"headline":"Use webhooks to automate workflows in ArcGIS Field Maps with Power Automate","datePublished":"2021-08-23T15:46:12+00:00","dateModified":"2024-05-20T18:36:36+00:00","mainEntityOfPage":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/field-maps\/field-mobility\/use-webhooks-to-automate-workflows-in-arcgis-field-maps-with-power-automate"},"wordCount":12,"commentCount":5,"publisher":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#organization"},"keywords":["automate","Monitor","webhook"],"articleSection":["Field Operations"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.esri.com\/arcgis-blog\/products\/field-maps\/field-mobility\/use-webhooks-to-automate-workflows-in-arcgis-field-maps-with-power-automate#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/field-maps\/field-mobility\/use-webhooks-to-automate-workflows-in-arcgis-field-maps-with-power-automate","url":"https:\/\/www.esri.com\/arcgis-blog\/products\/field-maps\/field-mobility\/use-webhooks-to-automate-workflows-in-arcgis-field-maps-with-power-automate","name":"Use webhooks to automate workflows in ArcGIS Field Maps with Power Automate","isPartOf":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#website"},"datePublished":"2021-08-23T15:46:12+00:00","dateModified":"2024-05-20T18:36:36+00:00","breadcrumb":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/field-maps\/field-mobility\/use-webhooks-to-automate-workflows-in-arcgis-field-maps-with-power-automate#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.esri.com\/arcgis-blog\/products\/field-maps\/field-mobility\/use-webhooks-to-automate-workflows-in-arcgis-field-maps-with-power-automate"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.esri.com\/arcgis-blog\/products\/field-maps\/field-mobility\/use-webhooks-to-automate-workflows-in-arcgis-field-maps-with-power-automate#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.esri.com\/arcgis-blog\/"},{"@type":"ListItem","position":2,"name":"Use webhooks to automate workflows in ArcGIS Field Maps with Power Automate"}]},{"@type":"WebSite","@id":"https:\/\/www.esri.com\/arcgis-blog\/#website","url":"https:\/\/www.esri.com\/arcgis-blog\/","name":"ArcGIS Blog","description":"Get insider info from Esri product teams","publisher":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.esri.com\/arcgis-blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.esri.com\/arcgis-blog\/#organization","name":"Esri","url":"https:\/\/www.esri.com\/arcgis-blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png","contentUrl":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/04\/Esri.png","width":400,"height":400,"caption":"Esri"},"image":{"@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/esrigis\/","https:\/\/x.com\/ESRI","https:\/\/www.linkedin.com\/company\/5311\/"]},{"@type":"Person","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/8d54151f4591c7f17798ea38801e11c7","name":"Aaron Pulver","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.esri.com\/arcgis-blog\/#\/schema\/person\/image\/","url":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/08\/2099642.jpeg","contentUrl":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2018\/08\/2099642.jpeg","caption":"Aaron Pulver"},"description":"Aaron is a lead Product Engineer on the Field Apps team primarily focused on location sharing, smart forms, and automation. In his free time, you can often find him hiking, camping, or kayaking throughout Central New York.","sameAs":["https:\/\/www.linkedin.com\/in\/apulverizer"],"url":"https:\/\/www.esri.com\/arcgis-blog\/author\/apulver"}]}},"text_date":"August 23, 2021","author_name":"Multiple Authors","author_page":"https:\/\/www.esri.com\/arcgis-blog\/products\/field-maps\/field-mobility\/use-webhooks-to-automate-workflows-in-arcgis-field-maps-with-power-automate","custom_image":"https:\/\/www.esri.com\/arcgis-blog\/app\/uploads\/2021\/08\/banner.png","primary_product":"ArcGIS Field Maps","tag_data":[{"term_id":761322,"name":"automate","slug":"automate","term_group":0,"term_taxonomy_id":761322,"taxonomy":"post_tag","description":"","parent":0,"count":7,"filter":"raw"},{"term_id":147182,"name":"Monitor","slug":"monitor","term_group":0,"term_taxonomy_id":147182,"taxonomy":"post_tag","description":"","parent":0,"count":6,"filter":"raw"},{"term_id":207172,"name":"webhook","slug":"webhook","term_group":0,"term_taxonomy_id":207172,"taxonomy":"post_tag","description":"","parent":0,"count":6,"filter":"raw"}],"category_data":[{"term_id":23261,"name":"Field Operations","slug":"field-mobility","term_group":0,"term_taxonomy_id":23261,"taxonomy":"category","description":"","parent":0,"count":617,"filter":"raw"}],"product_data":[{"term_id":679821,"name":"ArcGIS Field Maps","slug":"field-maps","term_group":0,"term_taxonomy_id":679821,"taxonomy":"product","description":"","parent":36591,"count":153,"filter":"raw"}],"primary_product_link":"https:\/\/www.esri.com\/arcgis-blog\/?s=#&products=field-maps","_links":{"self":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/blog\/1331442","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/blog"}],"about":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/types\/blog"}],"author":[{"embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/users\/8272"}],"replies":[{"embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/comments?post=1331442"}],"version-history":[{"count":0,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/blog\/1331442\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/media?parent=1331442"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/categories?post=1331442"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/tags?post=1331442"},{"taxonomy":"industry","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/industry?post=1331442"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/www.esri.com\/arcgis-blog\/wp-json\/wp\/v2\/product?post=1331442"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}