Skip to content

Commit 4c84720

Browse files
author
ecfan
committed
UX and content updates
1 parent 85d9945 commit 4c84720

8 files changed

+31
-31
lines changed
18.5 KB
Loading
58.9 KB
Loading

articles/logic-apps/tutorial-process-email-attachments-workflow.md

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ Now add a condition that selects only emails that have attachments.
306306

307307
1. On the workflow designer, [follow these general steps to add the **Control** action named **Condition**](create-workflow-with-trigger-or-action.md?tabs=consumption#add-action).
308308

309-
1. Open the **Condition** action's information pane, and replace the default name with the following version: **If email has attachments and key subject phrase**
309+
1. In the **Condition** action information pane, rename the action with **If email has attachments and key subject phrase**.
310310

311311
1. Build the condition that checks for emails that have attachments.
312312

@@ -386,7 +386,7 @@ The following steps add your previously created Azure function to your workflow
386386

387387
1. Select your function, which is named **RemoveHTMLFunction** in this example, and then select **Add Action**.
388388

389-
1. On the action information pane, replace the name for your Azure Functions action with the following version: **Call RemoveHTMLFunction**
389+
1. In the **Azure Functions** action information pane, rename the action with **Call RemoveHTMLFunction**.
390390

391391
1. Now specify the input for your function to process.
392392

@@ -404,55 +404,55 @@ The following steps add your previously created Azure function to your workflow
404404

405405
When you're done, the Azure function looks like the following example:
406406

407-
:::image type="content" source="media/tutorial-process-email-attachments-workflow/add-email-body-finished.png" alt-text="Screenshot shows finished Azure function with request body content to pass to your function." lightbox="media/tutorial-process-email-attachments-workflow/add-email-body-finished.png":::
407+
:::image type="content" source="media/tutorial-process-email-attachments-workflow/add-email-body-done.png" alt-text="Screenshot shows finished Azure function with request body content to pass to your function." lightbox="media/tutorial-process-email-attachments-workflow/add-email-body-done.png":::
408408

409409
1. Save your workflow.
410410

411411
Next, add an action that creates a blob in your storage container so you can save the email body.
412412

413-
## Add an action to create a blob
413+
## Add an action to create blob for email body
414414

415415
The following steps create a blob to store the email body:
416416

417-
1. On the designer, in the **True** block, under your Azure function, select **Add an action**.
417+
1. On the designer, in the condition's **True** block, under your Azure function, select **Add an action**.
418418

419-
1. Under the **Choose an operation** search box, select **All**. In the search box, enter **create blob**, and select the action named **Create blob**.
419+
1. [Follow these general steps to add the **Azure Blob Storage** action named **Create blob**](create-workflow-with-trigger-or-action.md?tabs=consumption#add-action).
420420

421-
![Screenshot showing the Azure Blob Storage action named Create blob selected.](./media/tutorial-process-email-attachments-workflow/create-blob-action-for-email-body.png)
421+
1. Provide the connection information for your storage account, for example:
422422

423-
1. Provide the connection information for your storage account, and select **Create**, for example:
423+
| Parameter | Required | Value | Description |
424+
|-----------|----------|-------|-------------|
425+
| **Connection Name** | Yes | <*connection-name*> | A descriptive name for the connection. <br><br>This example uses **AttachmentStorageConnection**. |
426+
| **Authentication Type** | Yes | <*authentication-type*> | The authentication type to use for the connection. <br><br>This example uses **Access Key**. |
427+
| **Azure Storage Account Name Or Blob Endpoint** | Yes | <*storage-account-name*> | The name for your previously created storage account. <br><br>This example uses **attachmentstorageacct**. |
428+
| **Azure Storage Account Access Key** | Yes | <*storage-account-access-key*> | The access key for your previously created storage account. |
424429

425-
| Property | Value | Description |
426-
|----------|-------|-------------|
427-
| **Connection name** | **AttachmentStorageConnection** | A descriptive name for the connection |
428-
| **Authentication type** | **Access Key** | The authentication type to use for the connection |
429-
| **Azure Storage account name or endpoint** | <*storage-account-name*> | The name for your previously created storage account, which is **attachmentstorageacct** for this example |
430-
| **Azure Storage Account Access Key** | <*storage-account-access-key*> | The access key for your previously created storage account |
430+
1. When you're done, select **Create New**.
431431

432-
1. Rename the **Create blob** action with the following description: **Create blob for email body**
432+
1. In the **Create blob** action information pane, rename the action with **Create blob for email body**.
433433

434-
1. In the **Create blob** action, provide the following information:
434+
1. Provide the following action information:
435435

436-
| Property | Value | Description |
437-
|----------|-------|-------------|
438-
| **Storage account name or blob endpoint** | **Use connection settings(<*storage-account-name*>)** | Select your storage account, which is **attachmentstorageacct** for this example. |
439-
| **Folder path** | <*path-and-container-name*> | The path and name for the container that you previously created. For this example, select the folder icon, and then select the **attachments** container. |
440-
| **Blob name** | <*sender-name*> | For this example, use the sender's name as the blob's name. Select inside this box so that the dynamic content list appears. From the **When a new email arrives** section, select the **From** field. |
441-
| **Blob content** | <*content-for-blob*> | For this example, use the HTML-free email body as the blob content. Select inside this box so that the dynamic content list appears. From the **Call RemoveHTMLFunction to clean email body** section, select **Body**. |
436+
| Parameter | Required | Value | Description |
437+
|-----------|----------|-------|-------------|
438+
| **Storage Account Name Or Blob Endpoint** | Yes | **Use connection settings(<*storage-account-name-or-blob-endpoint*>)** | Select the option that includes your storage account name. <br><br>This example uses **https://attachmentstorageacct.blob.core.windows.net**. |
439+
| **Folder Path** | Yes | <*path-and-container-name*> | The path and name for the container that you previously created. <br><br>For this example, select the folder icon, and then select the **attachments** container. |
440+
| **Blob Name** | Yes | <*sender-name*> | For this example, use the sender's name as the blob's name. <br><br>1. Select inside the **Blob Name** box, and then select the dynamic content list option (lightning icon). <br><br>2. From the **When a new email arrives** section, select the **From** field. |
441+
| **Blob Content** | Yes | <*content-for-blob*> | For this example, use the HTML-free email body as the blob content. <br><br>1. Select inside the **Blob Content** box, and then select the dynamic content list option (lightning icon). <br><br>2. From the **Call RemoveHTMLFunction to clean email body** section, select **Body**. |
442442

443-
The following image shows the fields to select for the **Create blob** action:
443+
When you're done, the The following image shows the fields to select for the **Create blob** action:
444444

445-
![Screenshot showing information about the HTML-free email body in the Create blob action.](./media/tutorial-process-email-attachments-workflow/create-blob-for-email-body.png)
445+
:::image type="content" source="media/tutorial-process-email-attachments-workflow/create-blob-email-body.png" alt-text="Screenshot shows parameter values and selected outputs for the Create blob action." lightbox="media/tutorial-process-email-attachments-workflow/create-blob-email-body.png":::
446446

447-
When you're done, the action looks like the following example:
447+
When you're done, the **Create blob** action looks like the following example:
448448

449-
![Screenshot showing example HTML-free email inputs for the finished Create blob action.](./media/tutorial-process-email-attachments-workflow/create-blob-for-email-body-done.png)
449+
:::image type="content" source="media/tutorial-process-email-attachments-workflow/create-blob-email-body-done.png" alt-text="Screenshot shows finished Create blob action." lightbox="media/tutorial-process-email-attachments-workflow/create-blob-email-body-done.png":::
450450

451451
1. Save your workflow.
452452

453453
### Test attachment handling
454454

455-
1. On the designer toolbar, select **Run Trigger** > **Run**.
455+
1. On the designer toolbar, select **Run** > **Run**.
456456

457457
This step manually starts and runs your workflow, but nothing will happen until the test email arrives in your inbox.
458458

@@ -516,12 +516,12 @@ The following steps add an action to create a blog for each attachment:
516516

517517
![Screenshot showing the selected action named Create blob.](./media/tutorial-process-email-attachments-workflow/create-blob-action-for-attachments.png)
518518

519-
1. Rename the **Create blob 2** action with the following description: **Create blob for each email attachment**
519+
1. In the **Create blob 2** action information pane, rename the action with **Create blob for each email attachment**.
520520

521-
1. In the **Create blob for each email attachment** action, provide the following information:
521+
1. Provide the following information for the action:
522522

523-
| Property | Value | Description |
524-
|----------|-------|-------------|
523+
| Parameter | Value | Description |
524+
|-----------|-------|-------------|
525525
| **Storage account name or blob endpoint** | **Use connection settings(<*storage-account-name*>)** | Select your storage account, which is **attachmentstorageacct** for this example. |
526526
| **Folder path** | <*path-and-container-name*> | The path and name for the container that you previously created. For this example, select the folder icon, and then select the **attachments** container. |
527527
| **Blob name** | <*attachment-name*> | For this example, use the attachment's name as the blob's name. Select inside this box so that the dynamic content list appears. From the **When a new email arrives** section, select the **Name** field. |

0 commit comments

Comments
 (0)