Will Cooper
Will Cooper
May 26, 2023

Power Automate is a powerful workflow tool that is a vital part of the Microsoft 365 ecosystem. Many of our customers use Ultimate Forms Actions in combination with Power Automate Flows as a part of their solutions.

One thing you might wonder is this:

How can you trigger a Power Automate Flow based on a specific form update in SharePoint?

There are two methods that we will cover in this article.

  • The first method is to use an HTTP Request Flow along with a corresponding Call application or service action in Ultimate Forms.
  • The second method involves using the Get Changes for an ItemFlow block in Power Automate to detect specific field changes when an item is modified.

If you use Power Automate, in your SharePoint solutions, you will want to learn how to use both methods.


Flow HTTP Request Method

In Ultimate Forms, there is a new option available when using the Call application or service action. To begin, start out your action as shown:

To do the next steps, you will create a new Flow using the When a HTTP request is received method in Power Automate. 

(Note that this type of Flow action requires a Per-user plan subscription from Microsoft for the user creating the Flow. You can find out more about Power Automate licensing here: https://powerautomate.microsoft.com/en-us/pricing/)

Here is example code in which two parameters will be passed to the Flow "License" and "Template" which are two text fields in our SharePoint list.

{
   "type": "object",
   "properties": {
       "License": {
           "type": "string"
       },
       "Template": {
           "type": "string"
       }
   }
}
 
You should build your own JSON code according to your own field names and field types.
Once the flow is triggered, you can use the passed values in the rest of your Flow as shown:

In Ultimate Forms, you are now ready to enter the configuration for your action. Select Power Automate for the Application type.

Now copy and past the HTTP Post URL to the action and enter parameters as shown:

Adjust the conditions according to trigger that you want to kick off the flow.

 


Get Changes for Item Method

The second method relies on conditions defined in your Flow and does not require a Power Automate Per User Plan license. 

In Power Automate, create a Flow using the "When an Item or File is Modified" trigger.

In the second flow block, add a Get changes for an item or a fileflow block.

Use Trigger Window Start Token and Trigger Window End Token for the last two fields as shown.

 

Now you can check whether a specific update has occurred in the form. In the provided example a Yes / No field is checked to see if it has been updated using the "Has changed" option:

 

Note that you can define whatever conditions you want in your Flow. You could use an action in Ultimate Forms to trigger an update to a special field which you create just for this purpose.

For example, you could add a Yes / No column "Approval Request" (as shown above) which is ready only in the form and set by a special button which you create in your form which sets the value to yes.

You can detect that change using the method defined above.

Note that it is recommend to make this Flow more efficient by using a Trigger Condition which restricts the Flow to run ONLY when a field has a specific value.

In this way, the Flow won't run every single time the list record is modified.

A more detailed explanation and walkhrough of this method is demonstrated in the below video on the SharePoint Smart YouTube Channel here:

 

Loading...

Add your comment

Comments are not meant for support. If you experiencing an issue, please open a support request.
Build powerful business applications in SharePoint using only your browser.
100% No-Code Solution
It’s never been easier to create, innovate, and share. All you need is your web browser!
Cost-Effective
Address business process pain points immediately. Save time and money.
Fantastic Support Team
In addition to our responsive support team, a wide variety of resources, documentations, tutorials, blogs and webinars is available to you
Flexible Forms
Convenient responsive forms, featuring tabs, permissions, dynamic rules, repeating sections, electronic signatures and input validation
Intuitive Automation
Replace complex workflows with simple, but versatile actions to create and update data inside SharePoint and in a variety of integrated applications
Clear Reporting
Present data as actionable insights with detailed shareable reports, dashboards, calendars and charts
100’s of Templates
Build and replicate business solutions with ease, selecting from our vast free library and creating your own custom templates
Dive deeper
Watch a short introductory video showcasing the different unique capabilities of UltimateForms.
Microsoft partner logo
© 2005-2024 Infowise Solutions Ltd. All rights reserved.
Privacy | Cookie Policy | Accessibility | Cloud SLA
Pick a solution template to install
Solution Templates
Webinar Templates