Skip to content

Commit 5cfc05c

Browse files
committed
update
1 parent 9ec42b0 commit 5cfc05c

8 files changed

+41
-31
lines changed

articles/includes/add-action-to-send-email-when-vacation-approved-new-designer.md

Lines changed: 27 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,33 @@
1-
1. Select **+** to add the **Condition** action.
2-
1. Select the **Responses Approval response** token from the **Approvals - Start and wait for an approval** action and set it equal to **Approve** in the Parameters tab of the **Condition** action.
1+
1. To add the **Condition** action, select the plus sign.
2+
1. In the **Add an action** search field, type **condition**.
3+
1. In the list below the search field, select the **Condition** action.
4+
1. In the **Parameters** tab, select the first **Chose a value** field, and then select the lightning bolt icon.
5+
1. Select the **Responses Approval response** token.
6+
1. In the next field, select **is equal to** from the dropdown menu.
7+
1. In the other **choose a value** field, select the lightning bolt icon, and select **Approve**.
38

4-
1. Select **+** on the **True** branch of the **Condition** action.
9+
:::image type="content" source="../articles/media/modern-approvals/add-condition.png" alt-text="Screenshot showing how to add a new action after the condition in classic designer.":::
510

6-
:::image type="content" source="media/modern-approvals/add-action-after-condition-new-designer.png" alt-text="Screenshot showing how to add a new action after the condition in the new designer.":::
7-
1. Enter **send email** into the search box on the **Add an action** card.
8-
1. Select the **Send an email (V2)** action.
11+
1. Close the configuration pane.
12+
1. In the designer, select the plus sign under **True**.
13+
1. In the **Add an action** search field, type **send email**.
14+
1. In the list below the search field, select the **Send an email (V2)** action.
15+
16+
The **Parameters** tab displays. This is the template for the email that is sent when the status of the vacation request changes.
17+
18+
1. Select the **To** field and then select the lightning rod icon.
19+
1. Select the **Created By Email** token from the **Approvals - Start and wait for an approval** action you created in [Add an approval action](../modern-approvals.md#add-an-approval-action).
20+
1. In the **Subject** field, type a subject for the email. This example uses *Vacation request approved* as the subject.
21+
1. In the **Body** box, type a message for the email:
22+
1. Type the standard text you want to appear in the email, such as *Your vacation request has been approved by*.
23+
1. To insert the name of the person who approved the vacation request, place your cursor in the **Body** box at the location where you want the name to appear, and then select the lightning bolt icon.
24+
1. Select a token from the dropdown menu. The following example uses the **Responses Approver name** token.
25+
1. To insert the comments from the approver, type *Approver's comments*.
26+
1. To insert the comments from the approver, place your cursor in the **Body** box at the location where you want the comments to appear, and then select the lightning bolt icon.
27+
1. Select a token from the dropdown menu. The following example uses the **Responses comments** token.
28+
29+
:::image type="content" source="../articles/media/modern-approvals/yes-email-config-new-designer.png" alt-text="Screenshot showing how to add a new action after the condition in classic designer.":::
930

10-
:::image type="content" source="media/modern-approvals/select-send-email-yes-new-designer.png" alt-text="Screenshot showing how to select the send email action in the new designer.":::
11-
1. Configure the email card to suit your needs.
1231

13-
>[!NOTE]
14-
> **To**, **Subject**, and **Body** are required.
1532

16-
This card is a template for the email that is sent when the status of the vacation request changes.
1733

18-
In the **Body** box on the **Send an email (V2)** card, use the **Comments** token from the **Approvals - Start and wait for an approval** action created in [Add an approval action](../modern-approvals.md#add-an-approval-action).

articles/includes/add-action-to-send-email-when-vacation-approved.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
1. Select the **Responses Approval response** token from the **Approvals - Start and wait for an approval** action and set it equal to **Approve** in the Parameters tab of the **Condition** action.
33
1. Select **Add an action** on the **If yes** branch of the condition.
44

5-
:::image type="content" source="media/modern-approvals/add-action-after-condition.png" alt-text="Screenshot showing how to add a new action after the condition in classic designer.":::
5+
:::image type="content" source="../articles/media/modern-approvals/add-action-after-condition.png" alt-text="Screenshot showing how to add a new action after the condition in classic designer.":::
6+
67
1. Enter **send email** into the search box on the **Choose an action** card.
78
1. Select the **Send an email (V2)** action.
89

9-
:::image type="content" source="media/modern-approvals/select-send-email-yes.png" alt-text="Screenshot showing how to select the send email action in classic designer.":::
10+
:::image type="content" source="../articles/media/modern-approvals/select-send-email-yes.png" alt-text="Screenshot showing how to select the send email action in classic designer.":::
1011
1. Configure the email card to suit your needs.
1112

12-
>[!NOTE]
13+
> [!NOTE]
1314
> **To**, **Subject**, and **Body** are required.
14-
1515
This card is a template for the email that is sent when the status of the vacation request changes.
1616

1717
In the **Body** box on the **Send an email (V2)** card, use the **Comments** token from the **Approvals - Start and wait for an approval** action created in [Add an approval action](../modern-approvals.md#add-an-approval-action).

articles/includes/add-an-approval-action-new-designer.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,12 @@
22
1. Type **approval** into the **Add an action** search box.
33
1. Select the **Start and wait for an approval** action.
44

5-
:::image type="content" source="media/modern-approvals/select-approvals-new-designer.png" alt-text="Screenshot showing how to select the approvals action in the new designer.":::
5+
:::image type="content" source="media/modern-approvals/select-approvals-new-designer.png" alt-text="Screenshot showing how to select the approvals action in the new designer.":::
66

77
1. Configure the **Start and wait for an approval** card to suit your needs.
88

9-
>[!NOTE]
9+
> [!NOTE]
1010
> The **Approval type**, **Title** and **Assigned To** fields are required.
1111
> You can use [Markdown](../approvals-markdown-support.md) to format the **Details** field.
12-
>
13-
>
1412
15-
:::image type="content" source="media/modern-approvals/provide-approval-config-info-new-designer.png" alt-text="Screenshot showing how to configure the Start and wait for an approval card in the new designer.":::
13+
:::image type="content" source="media/modern-approvals/provide-approval-config-info-new-designer.png" alt-text="Screenshot showing how to configure the Start and wait for an approval card in the new designer.":::
-4.43 KB
Loading
19.6 KB
Loading
3.04 KB
Loading
-945 Bytes
Loading

articles/modern-approvals.md

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ms.reviewer: angieandrews
1313
ms.service: power-automate
1414
ms.subservice: cloud-flow
1515
ms.topic: how-to
16-
ms.date: 05/08/2025
16+
ms.date: 05/27/2025
1717
search.audienceType:
1818
- flowmaker
1919
- enduser
@@ -28,9 +28,9 @@ Approvers can respond to requests from their email inbox, the approvals center i
2828

2929
## Create an approval flow
3030

31-
Here's an overview of the flow you create and test:
31+
Here's an overview of the flow you create and test. In this example, you use SharePoint Online as the trigger, but you can use any other trigger to start your approval flow.
3232

33-
:::image type="content" source="./media/modern-approvals/create-flow-overview.png" alt-text="Screenshot of an approval flow overview.":::
33+
:::image type="content" source="./media/modern-approvals/create-flow-overview.png" alt-text="Screenshot of an approval flow overview.":::
3434

3535
The flow performs the following steps:
3636

@@ -80,15 +80,15 @@ Follow these steps to add a trigger to your flow:
8080

8181
[!INCLUDE [add-trigger-when-sharepoint-item-created](includes/add-trigger-when-sharepoint-item-created.md)]
8282

83-
   The **Site Address** and the **List Name** are the items you noted earlier in this walkthrough.
83+
   The **Site Address** and the **List Name** are the items you created in the SharePoint online list in the [Prerequisites](#prerequisites) section.
8484

8585
   :::image type="content" source="./media/modern-approvals/select-sharepoint-site-info-new-designer.png" alt-text="Screenshot showing SharePoint site information selection in the new designer.":::
8686

8787
# [Classic designer](#tab/classic-designer)
8888

8989
[!INCLUDE [add-trigger-when-sharepoint-item-created](includes/add-trigger-when-sharepoint-item-created.md)]
9090

91-
The **Site Address** and the **List Name** are the items you noted earlier in this walkthrough.
91+
The **Site Address** and the **List Name** are the items you created in the SharePoint online list in the [Prerequisites](#prerequisites) section.
9292

9393
:::image type="content" source="./media/modern-approvals/select-sharepoint-site-info.png" alt-text="Screenshot showing SharePoint site information selection in the classic designer.":::
9494

@@ -147,15 +147,13 @@ Follow these steps to send an email if the vacation request is approved:
147147

148148
# [New designer](#tab/new-designer)
149149

150-
[!INCLUDE [add-action-to-send-email-when-vacation-approved](includes/add-action-to-send-email-when-vacation-approved-new-designer.md)]
151-
152-
:::image type="content" source="./media/modern-approvals/yes-email-config-new-designer.png" alt-text="Screenshot showing email configuration for approved requests in the new designer.":::
150+
[!INCLUDE [add-action-to-send-email-when-vacation-approved-new-designer](includes/add-action-to-send-email-when-vacation-approved-new-designer.md)]
153151

154152
# [Classic designer](#tab/classic-designer)
155153

156154
[!INCLUDE [add-action-to-send-email-when-vacation-approved](includes/add-action-to-send-email-when-vacation-approved.md)]
157155

158-
:::image type="content" source="./media/modern-approvals/yes-email-config.png" alt-text="Screenshot showing email configuration for approved requests in the classic designer.":::
156+
:::image type="content" source="..articles/media/modern-approvals/yes-email-config.png" alt-text="Screenshot showing email configuration for approved requests in the classic designer.":::
159157

160158
---
161159

@@ -222,7 +220,6 @@ Follow these steps to update actions for rejected requests:
222220

223221
Now that you created the flow, it's time to test it!
224222

225-
226223
# [Classic designer](#tab/classic-designer)
227224

228225
[!INCLUDE [add-action-to-update-sharepoint-with-rejection](includes/add-action-to-update-sharepoint-with-rejection.md)]

0 commit comments

Comments
 (0)