Skip to content

Commit 63784fc

Browse files
author
ecfan
committed
UX and content updates
1 parent 4c84720 commit 63784fc

File tree

4 files changed

+27
-17
lines changed

4 files changed

+27
-17
lines changed
-1.38 KB
Loading

articles/logic-apps/tutorial-build-schedule-recurring-logic-app-workflow.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ When you finish, your workflow looks like the following high level example:
3232
>
3333
> To find Azure Copilot, on the [Azure portal](https://portal.azure.com) toolbar, select **Copilot**.
3434
35+
You can create a similar workflow with a Standard logic app resource. However, the user experience and tutorial steps vary slightly from the Consumption version.
36+
3537
## Prerequisites
3638

3739
* An Azure account and subscription. If you don't have a subscription, [sign up for a free Azure account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).

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

Lines changed: 25 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ When you finish, your workflow looks like the following high level example:
3434
>
3535
> To find Azure Copilot, on the [Azure portal](https://portal.azure.com) toolbar, select **Copilot**.
3636
37+
You can create a similar workflow with a Standard logic app resource where some connector operations, such as Azure Blob Storage, are also available as built-in, service provider-based operations. However, the user experience and tutorial steps vary slightly from the Consumption version.
38+
3739
## Prerequisites
3840

3941
* An Azure account and subscription. If you don't have a subscription, [sign up for a free Azure account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
@@ -410,7 +412,7 @@ The following steps add your previously created Azure function to your workflow
410412

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

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

415417
The following steps create a blob to store the email body:
416418

@@ -438,13 +440,13 @@ The following steps create a blob to store the email body:
438440
| **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**. |
439441
| **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. |
440442
| **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**. |
443+
| **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** section, select **Body**. |
442444

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

445447
:::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":::
446448

447-
When you're done, the **Create blob** action looks like the following example:
449+
When you're done, the **Create blob for email body** action looks like the following example:
448450

449451
:::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":::
450452

@@ -454,15 +456,15 @@ The following steps create a blob to store the email body:
454456

455457
1. On the designer toolbar, select **Run** > **Run**.
456458

457-
This step manually starts and runs your workflow, but nothing will happen until the test email arrives in your inbox.
459+
This step manually starts and runs your workflow, but nothing will happen until you send a test email to your inbox.
458460

459461
1. Send yourself an email that meets the following criteria:
460462

461-
* Your email's subject has the text that you specified in the trigger's **Subject filter**: `Business Analyst 2 #423501`
463+
* Your email's subject has the text that you specified in the trigger's **Subject filter** parameter: **Business Analyst 2 #423501**
462464

463465
* Your email has at least one attachment. For now, just create one empty text file, and attach that file to your email.
464466

465-
* Your email has some test content in the body, for example: `Testing my logic app workflow`
467+
* Your email has some test content in the body, for example: **Testing my logic app workflow**
466468

467469
If your workflow didn't trigger or run despite a successful trigger, see [Troubleshoot your logic app workflow](logic-apps-diagnosing-failures.md).
468470

@@ -474,35 +476,41 @@ The following steps create a blob to store the email body:
474476

475477
At this point, only the email appears in the container because the workflow hasn't processed the attachments yet.
476478

477-
![Screenshot showing Storage Explorer with only the saved email.](./media/tutorial-process-email-attachments-workflow/storage-explorer-saved-email.png)
479+
:::image type="content" source="media/tutorial-process-email-attachments-workflow/storage-explorer-saved-email.png" alt-text="Screenshot shows Storage Explorer with only the saved email." lightbox="media/tutorial-process-email-attachments-workflow/storage-explorer-saved-email.png":::
478480

479481
1. When you're done, delete the email in Storage Explorer.
480482

481483
1. Optionally, to test the **False** branch, which does nothing at this time, you can send an email that doesn't meet the criteria.
482484

483-
Next, add a **For each** loop to process all the email attachments.
485+
Next, add a **For each** loop to process each email attachment.
484486

485487
## Add a loop to process attachments
486488

487489
To process each attachment in the email, add a **For each** loop to your workflow.
488490

489-
1. Return to the designer. Under the **Create blob for email body** action, select **Add an action**.
491+
1. Return to the workflow designer. Under the **Create blob for email body** action, select **Add an action**.
492+
493+
1. [Follow these general steps to add the **Control** action named **For each**](create-workflow-with-trigger-or-action.md?tabs=consumption#add-action).
490494

491-
1. Under the **Choose an operation** search box, select **Built-in**. In the search box, enter **for each**, and select the action named **For each**.
495+
1. Rename the **For each** action with **For each email attachment**.
492496

493-
![Screenshot showing the selected action named For each.](./media/tutorial-process-email-attachments-workflow/select-for-each.png)
497+
1. Now select the content for the loop to process.
494498

495-
1. Rename your loop with the following description: **For each email attachment**
499+
1. In the **For each email attachment** loop, select inside the **Select An Output From Previous Steps** box, and then select the dynamic content list option (lightning icon).
496500

497-
1. Now select the data for the loop to process. In the **For each email attachment** loop, select inside the **Select an output from previous steps** box so that the dynamic content list appears. From the **When a new email arrives** section, select **Attachments**.
501+
1. From the **When a new email arrives** section, select **Attachments**.
498502

499-
![Screenshot showing dynamic content list with the selected field named Attachments.](./media/tutorial-process-email-attachments-workflow/select-attachments.png)
503+
The **Attachments** output includes an array with all the attachments from an email. The **For each** loop repeats actions on each array item.
504+
505+
> [!TIP]
506+
>
507+
> If you don't see **Attachments**, select **See More**.
500508
501-
The **Attachments** field passes in an array that contains all the attachments included with an email. The **For each** loop repeats actions on each item that's passed in with the array.
509+
:::image type="content" source="media/tutorial-process-email-attachments-workflow/select-attachments.png" alt-text="Screenshot shows dynamic content list with selected output named Attachments." lightbox="media/tutorial-process-email-attachments-workflow/select-attachments.png":::
502510

503511
1. Save your workflow.
504512

505-
Next, add the action that saves each attachment as a blob in your **attachments** storage container.
513+
Next, add an action that saves each attachment as a blob in your **attachments** storage container.
506514

507515
## Add an action to create a blob per attachment
508516

0 commit comments

Comments
 (0)