Skip to content

This flow automates the document approval process in SharePoint, including automatic cleanup of pending approval requests that remain unaccepted.

License

Notifications You must be signed in to change notification settings

Jakbor32/auto-approval-cleanup-flow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Main purpose flow

The primary goal of this flow is to optimize the operation of systems that utilize Power Automate and SharePoint, specifically by managing and cleaning up Teams approval notifications that remain after a flow has completed its execution. This ensures that users are not left with outdated or unresolved approval messages, improving clarity, system hygiene, and user experience.

1 2

Cancellation of the old request approval teams because a new request of the same kind has been sent - reminder

image

Process diagram

Diagram

Required licenses

  • SharePoint requires a Microsoft 365 license (e.g. E1, E3, or E5).

  • Power Automate Requires a Power Automate Per User or Per Flow Plan to use premium connectors like Invoke HTTP Request.

⚠️ Important:
Premium connector bellow

3

How to configure HTTP Request

4
https://approvals.teams.microsoft.com
6
workflow()?['tags']?['environmentName']

Used connectors

  • SharePoint – used for reading and updating list items
  • HTTP Request (Entra) – used for sending custom requests to external services (premium)
  • Teams – used to create and manage approvals in Microsoft Teams
  • Outlook – used to send notification emails via Outlook

Import and configuration

  1. Downloading a file from Releases

  2. Import zip package to Power Automate

8
  1. Configure new connections to connectors
9
  1. Set flow Create as new
10
  1. After getting errors - errors will be because flow does not have embedded sharepoint/teams links
12
  1. Correct all connection parameters on the flow so that it points to the correct sharepoint
13

About

This flow automates the document approval process in SharePoint, including automatic cleanup of pending approval requests that remain unaccepted.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published