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
+38-19Lines changed: 38 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ author: sanchezjuan
5
5
manager: chpalm
6
6
services: azure-communication-services
7
7
ms.author: sanchezjuan
8
-
ms.date: 03/03/2023
8
+
ms.date: 04/10/2023
9
9
ms.topic: include
10
10
ms.service: azure-communication-services
11
11
ms.custom: mode-other
@@ -18,46 +18,65 @@ 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 address that you configured in the [prerequisites](#prerequisites). Enter the values for the **To**, **Subject**, and **Body** fields, for example:
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/).
60
79
61
80
## Clean up workflow resources
62
81
63
-
To clean up your logic app workflow and related resources, review [how to clean up Logic Apps resources](../../../../logic-apps/quickstart-create-first-logic-app-workflow.md#clean-up-resources).
82
+
To clean up your logic app workflow and related resources, review [how to clean up Consumption logic app resources](../../../../logic-apps/quickstart-create-example-consumption-workflow.md#clean-up-resources) or [how to clean up Standard logic app resources](../../../../logic-apps/create-single-tenant-workflows-azure-portal.md#delete-logic-apps).
To troubleshoot issues related to email delivery, you can get status of the email delivery to capture delivery details.
45
+
To troubleshoot issues related to email delivery, you can get the status of the email delivery to capture delivery details.
46
46
47
47
## Clean up Azure Communication Service resources
48
48
49
-
If you want to clean up and remove a Communication Services subscription, you can delete the resource or resource group. Deleting the resource group also deletes any other resources associated with it. Learn more about [cleaning up resources](../create-communication-resource.md#clean-up-resources).
49
+
To clean up and remove a Communication Services subscription, you can delete the resource or resource group. Deleting the resource group also deletes any other associated resources. Learn more about [cleaning up resources](../create-communication-resource.md#clean-up-resources).
50
50
51
51
## Next steps
52
52
53
-
In this quick start, you learned how to send emails using Azure Communication Services.
53
+
In this quickstart, you learned how to send emails using Azure Communication Services. You might also want to:
54
54
55
-
You may also want to:
56
-
57
-
- Learn about [Email concepts](../../concepts/email/email-overview.md)
58
-
- Familiarize yourself with [email client library](../../concepts/email/sdk-features.md)
55
+
- Learn about [Email concepts](../../concepts/email/email-overview.md).
56
+
- Familiarize yourself with [email client library](../../concepts/email/sdk-features.md).
59
57
- Learn more about [how to send a chat message](../chat/logic-app.md) from Power Automate using Azure Communication Services.
60
-
- Learn more about access tokens check [Create and Manage Azure Communication Services users and access tokens](../chat/logic-app.md).
58
+
- Learn more about access tokens check in [Create and Manage Azure Communication Services users and access tokens](../chat/logic-app.md).
0 commit comments