Site icon Quickinfoz

How to Automate Leave Approval Process Using Power Automate (Step-by-Step Guide)

In this blog, I will guide you through creating a fully automated Leave Approval Process using Power Automate. This solution ensures smooth communication between employees and their reporting managers or team leaders, with automated notifications and updates.

Overview

This Power Automate flow is triggered when an employee submits a leave request via Microsoft Forms. The flow determines the number of leave days and directs the request to the appropriate approver (Team Leader or Manager) based on predefined conditions. Notifications are sent to both the approver and requester, and the approval status is updated in a central record-keeping system such as an Excel file or SharePoint list.

Steps to Create a Leave Request Form in Microsoft Forms

  1. Open Microsoft Forms
  2. Create a New Form
    • Click New Form.
    • Give your form a title like Leave Request Form.
    • Add a short description such as “Use this form to apply for leave. The approval will be automated through Power Automate.”
  3. Add Form Fields
    Here are the recommended fields based on your screenshot:
    • Employee NameText field (Required)
    • Employee EmailText field (Required)
    • DepartmentChoice field (e.g., HR, IT, Finance, Sales, etc.)
    • Leave TypeChoice field (e.g., Sick Leave, Casual Leave, Annual Leave, Other)
    • Start DateDate field (Required)
    • End DateDate field (Required)
    • Number of DaysText or calculated field (this will help trigger conditions in Power Automate)
    • Reason for LeaveLong answer text field (Optional but useful for managers)
    • Attachment (if required) → Currently, Forms does not support file upload for personal accounts, only for organizational accounts. If you’re using a corporate account, you can add a File Upload field.
  4. Adjust Settings
    • Go to Form Settings → Select “Record name” if you want to capture the logged-in user’s details.
    • Enable “Required” for critical fields like Name, Email, Start Date, End Date.
  5. Preview Your Form
    • Click Preview to see how it looks on desktop and mobile.
    • Make sure the flow of questions is simple and user-friendly.
  6. Share the Form
    • Once ready, click Share → Copy the form link.
    • This link will be used in Power Automate as the trigger (When a new response is submitted).

Steps to Create the Flow

1. Trigger: When a new response is submitted

Add ‘When a new response is submitted trigger connector’ and use the ‘Leave request form id’ here.

2. Get Response Details

3. Convert Leave Days to Number Format

4. Define Approver Details in JSON Format

5. Parse JSON

6. Add a Condition to Check Leave Days

7. Start and Wait for Approval

8. Update Approval Status in a Record

9. Notify Approver and Requester

10. Test the Flow

Additional Features

Conclusion

This automated leave approval process reduces manual intervention, ensures timely approvals, and keeps all stakeholders informed. By leveraging Power Automate’s versatile connectors and dynamic capabilities, you can streamline this crucial HR function and improve employee satisfaction.

Feel free to implement this flow and customize it as per your organizational needs. Let me know in the comments if you have any questions or face any issues!

Vinod Gill

Exit mobile version