Power Automate
Single approval flow & Sequential approval flow
Power automate document
Definition:
Trigger:
A trigger is a powerful tool that automatically launches a workflow when a defined event happens. This enables you to automate complex business process without having to manually run the workflow every time.
Condition:
You can set conditions between two actions (or between a trigger and an action) in a workflow. If the conditions are met, the workflow will proceed to the next action. If the conditions fail, the workflow will be aborted.
Library:
The ‘LIBRARY’ section contains several pre-configured workflows that you can readily use. Some of these workflows are added to the ‘LIBRARY’ by Built.io Flow admin, while others are shared by Built.io Flow users. You simply need to import them to your ‘Workflows’ section to start using them.
Action:
Actions open a range of possibilities for composing business logic. With Actions, you can perform operations, such as Create, Update, Delete, Assign, or Perform Action. Internally, an action creates a custom message. Developers refer to these actions as ”messages”. Each of these messages is based on actions taken on an entity record. If the goal of a process is to create a record, then update it, and then assign it, there are three separate steps. Each step is defined by the capabilities of the entity – not necessarily your business process.
How to sign up for Power Automate:
If you have not used other online Microsoft products, you will need to sign up.
- In flow.microsoft.com, select Try free in the upper-right corner.
- Enter your email address.
- Select the right arrow.
How to sign in in the power automate
If you have used other Microsoft online products, either for work or yourself, all you need to do is sign in.
- In flow.microsoft.com, click or tap Sign in in the upper-right corner
- Enter your email address.
- On the sign-in page, enter your email address and password
There are 5 types of flows:
Flow type | Use case | Target |
Automated flows | Create a flow that performs one or more tasks automatically after it is triggered by an event. | Connectors for cloud or on-premises services. |
Button flows | Run repetitive tasks from anyplace, at any time, via your mobile device. | |
Scheduled flows | Create a flow that performs one or more tasks on a schedule. | |
Business process flows | Define a set of steps for people to follow to take them to a desired outcome. | Human processes |
UI flows | Record and automate the playback of manual steps on legacy software. | Desktop and Web applications that do not have APIs available for automation. |
Create a flow from a template in Power Automate
Prerequisites
- An account on flow.microsoft.com
- A Slack account
- Office 365 credentials
Choose a template
- In flow.microsoft.com, select Templates in the top navigation bar.
- In the search bar, type Slack, and then select the search icon.
- You will see only templates related to Slack, so you can now select Send a message on Slack when my manager emails me.
- Confirm that this template will do what you want, and then select Use this template.
- If you are not signed into Office or Slack, select Sign in and then follow the prompts.
- After you confirm your connections, select Continue. Your flow appears, showing each action with an orange title bar.
Customize your flow
- Select the title bar for an event to expand it, and then customize it (for example, by specifying a filter on the email that interests you).
- Actions that require input from you will automatically be expanded.
For example, the Post message action is expanded because you need to enter a channel, such as your @username. You can also customize the message content. By default, the message will contain just the subject, but you can include other information.
- Near the top of the screen, specify a name for your flow, and then select Create flow.
- Finally, if you are happy with your flow, select Done.
Create a flow from your phone by using Power Automate:
Prerequisites
- An account for Power Automate.
- The Power Automate mobile app for Android, iOS, or Windows Phone on a supported device. The graphics in this topic reflect the iPhone version of the app, but the interface on an Android device or Windows Phone is similar.
- To use the template demonstrated in this topic, you will also need:
- Office 365 credentials.
- Push notifications enabled on your phone.
Then find the template and customize it just like in the previous section.
Create a single approval flow
Prerequisites:
To complete this walkthrough, you must have access to:
- Power Automate.
- A SharePoint Online list.
- Office 365 Outlook and Office 365 Users account.
Start creating a single approval flow from the scratch.
- Sign in into Power Automate.
- Select the My flows tab.
- Select Create from blank.
- Select the Create from blank button.
Add a trigger:
- Enter SharePoint into the search box.
- Find, and then select the trigger according to your requirement.
- Select the Site Address and the List Name for the SharePoint list that your flow monitors for new items.
Add a profile action:
- Select New step, and then select Add an action.
- Enter profile into the Choose an action search box.
- Find, and then select the Office 365 Users - Get my profile action.
- Provide a name for your flow, and then select Create flow to save the work we've done so far.
Add an approval action:
- Select New step, and then select Add an action.
- Enter approval into the Choose an action search box.
- Select the Approvals - Start an approval action.
- Configure the Start an approval card to suit your needs.
Add a condition:
- Select New step, and then select Add a condition.
- Select the Object Name box, and then enter response into the search box on the Add dynamic content from the apps and services used in this flow card.
- Select the Response token.
- Select the Value box, and then enter Approve into the box.
Add an email action for approval.
Follow these steps to send an email if the vacation request is approved:
- Select Add an action on the IF YES branch of the condition.
- Enter send email into the search box on the Choose an action card.
- Select the Office 365 Outlook - Send an email action.
- Configure the email card to suit your needs.
Add an update action for approved request:
- Select Add an action from the IF YES branch.
- Enter update into the search box on the Choose an action card.
- Select the SharePoint - Update item action.
- Configure the Update item card to suit your needs.
Add an email action for rejection
- Select Add an action on the IF NO, DO NOTHING branch.
- Enter Send email into the search box of the Choose an action card.
- Select the Office 365 Outlook - Send an email action.
- Configure the email card to suit your needs.
This card represents the template for the email that is sent when the status of vacation requests change
Add update action for rejected requests.
- Select Add an action.
- Enter update item into the search box on the Choose an action card.
- Select the SharePoint - Update item action.
- Configure the card to suit your needs.
Request an approval
Create a vacation request in the SharePoint Online list you created earlier.
After you save this request, the flow triggers, and then:
- Creates a request in the approvals centre.
- Sends an approval request email to the approvers.
Manage sequential approvals with power automate
In sequential approval create the single approval and after action in the single approval start a new approval on both the sides i.e. when somebody rejects/accepts.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article