This sample sends an approval and reminders to a user via Teams until they respond to the approval. It will retrigger itself as needed to overcome timeout limitations.
Solution | Author(s) |
---|---|
approval-reminders | Steve Corey (@stevecorey365 ) |
Version | Date | Comments |
---|---|---|
1.0 | October 17, 2023 | Initial release |
This sample demonstrates the following concepts:
- Creating an approval
- Sending reminders for the approval via Teams adaptive cards
Before you can use this sample flow, you'll need to create a SharePoint library with the following custom columns:
Name | Type | Required |
---|---|---|
ApprovalID | Single line of text | No |
ApprovalCard | Multiple lines of text | No |
Status | Choice | Yes |
The library will look similar to this. Note that the ApprovalID and ApprovalCard fields don't have to be present on the view:
- Download the solution found under the
solution
folder here: Approval Reminders Zip - Import the Flow Solution. Open https://make.powerautomate.com/. Open Solutions, Import.
- Browse to the file you downloaded and select Next.
- In the Import a solution screen, select the connections you wish to use for the solution or create new connections.
- In the Environment Variables screen, select the site and library name of the library you wish to create approvals on.
- Once complete, select Import.
THIS CODE IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.