You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/communication-services/quickstarts/email/includes/send-email-logic-app.md
+36-17Lines changed: 36 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,45 +18,64 @@ ms.custom: mode-other
18
18
19
19
- An active Azure Communication Services resource, or [create a Communication Services resource](../../create-communication-resource.md).
20
20
21
-
- An active Logic Apps resource (logic app), or [create a blank logic app but with the trigger that you want to use](../../../../logic-apps/quickstart-create-first-logic-app-workflow.md). Currently, the Azure Communication Services Email connector provides only actions, so your logic app requires a trigger, at minimum.
21
+
- An active Azure Logic Apps resource (logic app) and workflow, or create a new logic app resource and workflow with the trigger that you want to use. Currently, the Azure Communication Services Email connector provides only actions, so your logic app workflow requires a trigger, at minimum. You can create either a [Consumption](../../../../logic-apps/quickstart-create-example-consumption-workflow.md) or [Standard](../../../../logic-apps/create-single-tenant-workflows-azure-portal.md) logic app resource.
22
22
23
23
- An Azure Communication Services Email resource with a [configured domain](../../email/create-email-communication-resource.md) or [custom domain](../../email/add-custom-verified-domains.md).
24
24
25
25
- An Azure Communication Services resource [connected with an Azure Email domain](../../email/connect-email-communication-resource.md).
26
26
27
+
## Send email
27
28
29
+
To add a new step to your workflow by using the Azure Communication Services Email connector, follow these steps:
28
30
29
-
## Send email
31
+
1. In the designer, open your logic app workflow.
30
32
31
-
Add a new step in your workflow by using the Azure Communication Services Email connector, follow these steps in Power Automate with your Power Automate flow open in edit mode.
33
+
**Consumption**
34
+
35
+
1. Under the step where you want to add the new action, select **New step**. Alternatively, to add the new action between steps, move your pointer over the arrow between those steps, select the plus sign (+), and select **Add an action**.
32
36
33
-
1. On the designer, under the step where you want to add the new action, select New step. Alternatively, to add the new action between steps, move your pointer over the arrow between those steps, select the plus sign (+), and select Add an action.
37
+
1. Under the **Choose an operation** search box, select **Standard**. In the search box, enter **Communication Services Email**.
34
38
35
-
1. In the Choose an operation search box, enter Communication Services Email. From the actions list, select Send email.
39
+
1. From the actions list, select **Send email**.
36
40
37
-
:::image type="content" source="../media/logic-app/azure-communications-services-connector-send-email.png" alt-text="Screenshot that shows the Azure Communication Services Email connector Send email action.":::
41
+
:::image type="content" source="../media/logic-app/azure-communications-services-connector-send-email.png" alt-text="Screenshot that shows the Azure Communication Services Email connector Send email action.":::
38
42
39
-
1. Provide the Connection String. This can be found in the [Microsoft Azure](https://portal.azure.com/), within your Azure Communication Service Resource, on the Keys option from the left menu > Connection String
43
+
**Standard**
44
+
45
+
1. Under the step where you want to add the new action, select the plus sign (**+**). Alternatively, to add the new action between steps, move your pointer over the arrow between those steps, select the plus sign (+), and select **Add an action**.
40
46
41
-
:::image type="content" source="../media/logic-app/azure-communications-services-connection-string.png" alt-text="Screenshot that shows the Azure Communication Services Connection String." lightbox="../media/logic-app/azure-communications-services-connection-string.png":::
42
-
43
-
1. Provide a Connection Name
47
+
1. Under the **Choose an operation** search box, select **Azure**. In the search box, enter **Communication Services Email**.
48
+
49
+
1. From the actions list, select **Send email**.
50
+
51
+
1. Provide a name for the connection.
44
52
45
-
1. Select Send email
53
+
1. Enter the connection string for your Azure Communications Service resource. To find this string, follow these steps:
46
54
47
-
:::image type="content" source="../media/logic-app/azure-communications-services-connector-send-email.png" alt-text="Screenshot that shows the Azure Communication Services Email connector Send email action.":::
55
+
1. In the [Azure portal](https://portal.azure.com/), open your Azure Communication Service resource.
56
+
57
+
1. On the resource menu, under **Settings**, select **Keys**, and copy the connection string.
58
+
59
+
:::image type="content" source="../media/logic-app/azure-communications-services-connection-string.png" alt-text="Screenshot that shows the Azure Communication Services Connection String." lightbox="../media/logic-app/azure-communications-services-connection-string.png":::
48
60
49
-
1. Fill the **From** input field using an email domain configured in the [pre-requisites](#prerequisites). Also fill the To, Subject and Body field as shown below
61
+
1. When you're done, select **Create**.
62
+
63
+
1. In the **From** field, use the email domain configured in the [prerequisites](#prerequisites). Enter the values for the **To**, **Subject**, and **Body** fields as follows:
50
64
51
-
:::image type="content" source="../media/logic-app/azure-communications-services-connector-send-email-input.png" alt-text="Screenshot that shows the Azure Communication Services Email connector Send email action input.":::
65
+
:::image type="content" source="../media/logic-app/azure-communications-services-connector-send-email-input.png" alt-text="Screenshot that shows the Azure Communication Services Email connector Send email action input.":::
66
+
67
+
1. Save your workflow. On the designer toolbar, select **Save**.
52
68
69
+
## Test your workflow
53
70
71
+
Based on whether you have a Consumption or Standard workflow, manually start your workflow:
54
72
55
-
## Test your logic app
73
+
***Consumption**: On the designer toolbar, select **Run Trigger** > **Run**.
74
+
***Standard**: On the workflow menu, select **Overview**. On the toolbar, select **Run Trigger** > **Run**.
56
75
57
-
To manually start your workflow, on the designer toolbar, select **Run**. The workflow should create a user, issue an access token for that user, then remove it and delete the user. For more information, review [how to run your workflow](../../../../logic-apps/quickstart-create-first-logic-app-workflow.md#run-workflow). You can check the outputs of these actions after the workflow runs successfully.
76
+
The workflow creates a user, issues an access token for that user, then removes and deletes the user. You can check the outputs of these actions after the workflow runs successfully.
58
77
59
-
You should have an email in the address specified. Additionally, you can use the Get email message status action to check the status of emails send through the Send email action. To learn more actions, check the [Azure Communication Services Email connector](/connectors/acsemail/) documentation.
78
+
You should get an email at the specified address. Also, you can use the **Get email message status** action to check the status of emails send through the **Send email** action. For more actions, review the [Azure Communication Services Email connector reference documentation](/connectors/acsemail/).
0 commit comments