# Workflow Designer

Go to **Edit Workflow.**

![](https://531923687-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnhvnNmu6p9CSODwQTjgf%2Fuploads%2FTrbFjx9FBqyaoseyGdb6%2F0.png?alt=media)

Choose automated Workflow.

![](https://531923687-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnhvnNmu6p9CSODwQTjgf%2Fuploads%2FruY75575ebFILIGOoi0O%2F1.png?alt=media)

Select the **'Trigger On'** option when the user wants to trigger the workflow.

![](https://531923687-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnhvnNmu6p9CSODwQTjgf%2Fuploads%2FiqJqCUZOdLqwxOeaVv70%2F2.png?alt=media)

Enter App name and its description.

![](https://531923687-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnhvnNmu6p9CSODwQTjgf%2Fuploads%2FKKGxr80jstYRGIEhnORS%2F3.png?alt=media)

Select the category under which this app is visible.

![](https://531923687-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnhvnNmu6p9CSODwQTjgf%2Fuploads%2FjEJpGuq1qgSf5dCMSXAN%2F4.png?alt=media)

Select either 'User' or 'Team' in permissions for those who want to raise a leave request.

![](https://531923687-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnhvnNmu6p9CSODwQTjgf%2Fuploads%2Fr2hCyoidgGdpAKVuOy31%2F5.png?alt=media)

Select either 'User' or 'Team' in permissions for those who want to give admin permission.

![](https://531923687-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnhvnNmu6p9CSODwQTjgf%2Fuploads%2F4KI48cJt2sQKKYUTykEZ%2F6.png?alt=media)

Select repository.

![](https://531923687-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnhvnNmu6p9CSODwQTjgf%2Fuploads%2FE127lrcUqvL0FhdxODMl%2F7.png?alt=media)

Go to **Workflow Stages** tab and click on **+Stages** to add stages.

![](https://531923687-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnhvnNmu6p9CSODwQTjgf%2Fuploads%2F5kQJjGH6VcYvakuXy55M%2F8.png?alt=media)

Go to **Notification** Tab and select **Email Notification** option & click on **OK.**

![](https://531923687-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnhvnNmu6p9CSODwQTjgf%2Fuploads%2F0hh2PMcoHBIEdHjMt4Ze%2F9.png?alt=media)

After click on OK, Email Notification stage is added.

![](https://531923687-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnhvnNmu6p9CSODwQTjgf%2Fuploads%2F2HymW1Kluoggh6a9qs9m%2F10.png?alt=media)

Enter Stage Name.

![](https://531923687-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnhvnNmu6p9CSODwQTjgf%2Fuploads%2FBzweWUIt5nFu4NUoS2vn%2F11.png?alt=media)

Click on **Configure** to configure email template.

![](https://531923687-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnhvnNmu6p9CSODwQTjgf%2Fuploads%2FIwlNMKUrnrUI0FN7Ygmc%2F12.png?alt=media)

Select 'Employee' or 'Approver' in the 'To' field to whom you want to send the email notification. Then, enter the subject and message.

![](https://531923687-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnhvnNmu6p9CSODwQTjgf%2Fuploads%2FlPIToywyB8xJFOk1L6bW%2F13.png?alt=media)

Select the Approval stage if you want to send the leave request to the manager for approval.

![](https://531923687-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnhvnNmu6p9CSODwQTjgf%2Fuploads%2FDMPzH5NUsrCOnuggRQ4j%2F14.png?alt=media)

Enter the stage name and select the manager if you want to send the leave request to the manager for approval.

![](https://531923687-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnhvnNmu6p9CSODwQTjgf%2Fuploads%2FIjHXupwarvNXYME40Hbf%2F15.png?alt=media)

Click on **Finish** to save workflow.

![](https://531923687-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FnhvnNmu6p9CSODwQTjgf%2Fuploads%2FUU0i0lIvHegVMkXcuFhZ%2F16.png?alt=media)
