Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added new prompt leave-approval-automation #65

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions prompts/power-automate/leave-approval-automation/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Leave Approval Automation

<!--
Replace the name
-->

## Description

This prompt helps with automating leave approval process. It sends out approval to manager and notifications to employee on aproval status

## Prompt
Fetch leave details from a SharePoint list whenever a new item is added. Retrieve the employee's manager and send an approval request to manager. Update the SharePoint list based on the manager's decision. Finally, send an email and a Teams message to the employee with the final approval status.
### Supported Language(s)

[English](./en-us/prompt.md)

## Authors

Solution|Author(s)
--------|---------
REPLACE WITH PROMPT NAME | [Sandeep Angara](https://www.github.com/angarasandeep), Argano

## Minimal Path to Awesome

* Copy the prompt
* Paste prompt into the tool of your choice (AIBuilder Azure Open AI, Power Apps Copilot, etc)

## Disclaimer

**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.**

<img src="https://m365-visitor-stats.azurewebsites.net/powerplatform-prompts/samples/ai-builder/sample" aria-hidden="true" />
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fetch leave details from a SharePoint list whenever a new item is added. Retrieve the employee's manager and send an approval request to manager. Update the SharePoint list based on the manager's decision. Finally, send an email and a Teams message to the employee with the final approval status.
Loading