How to Trigger a POWER AUTOMATE flow from EXCEL For a selected row

How to Trigger a POWER AUTOMATE flow from EXCEL For a selected row Hello everyone Resa here automating tasks in Excel just got a lot easier thanks to the automate tab in Excel I will show you how to build an automation to send an email for selected records.

How to Trigger a POWER AUTOMATE flow from EXCEL For a selected row

Within the Excel file and also include related attachments in the email for the Excel data let's check it out in [Music] action.

The new automate work button in Excel powered by power automate has made it easier than ever to automate tasks and run processes efficiently this feature extends the.

Capabilities of power automate by providing access to pre-built templates we can directly select the template click create I can look at the flow details turn it.

On or off delete it or simply edit it in power automator let's go and create our own custom workflow my Excel file has a table that.

Has order details includes the customer name their email address order number status and other metadata I would like to select a specific Row in the Excel file and.

Trigger an automation job and it can go and frame an email based upon the details for that selected customer order to do that right here within Excel if I scroll down to the bottom we have C all.

Templates this will list out all the Excel based templates that are provided for us one of the templates is for a selected Row in Excel go and complete a custom action I'll.

Select this it adds the connection to excel online for business I'll click continue and this will bring me straight into the flow designer.

Experience the Trigger action for Excel which is for a selected row my Excel file in M365 I've stored it in one drive so I'll select the location as one.

Drive for business document library is one drive and file I'll go to show picker my file is stored in a folder called work orders so I'll go and look.

At the contents of this folder in one drive and this is my Excel file called order details in this Excel file I have a table called order.

Posts Related:

    Data that's this table of

    Data when this flow triggers I would like to go ahead and send an email so I'll add a new action called send an email I'll use the.

    Office 365 Outlook connector who do you want to send this email to I'll switch to advanced mode the for a selected row Trigger action gives me Dynamic.

    Content in my scenario I want to send the email out to the customer and their email address is in this column called email so here I'll straight out pick that column called.

    Email subject contoso order summary here is order number so I'll select it and now I can draft my email I'll say.

    Hello I'll pick customer name thank you for your order I'll put the order number then I'll give out the order details the email body allows Rich.

    Formatting I'll indendent this I'll specify the item quantity purchased estimated delivery date and order.

    Status my tracking number I want to give a link for the user to track this number on the UPS website I'll go to code View add an anchor tag plain simple.

    HTML the text I will put the tracking number HF I'll put the URL to the website where they can track it and tracking number is one of the query.

    Parameters that this website accepts this I will say is equal to the dynamic content tracking number now once the email is sent if I want to update that re record in the.

    Excel file I have another column in my

    Table called email sent all I have to do is go and update this column value I'll add another step after sending an.

    Email this will be update a row Excel online business once again connect to my Excel file so I picked my Excel table key column what's the unique.

    Identifier in this Excel Row in my case it's the order number so the key I'll pick order number and the value I'll select the order number coming from the selected row.

    Trigger and all I want to update here is that email sent has set its value to yes my flow I can give it a name I'll call it send email to customer and I'll save the.

    Flow my flow is saved if I go back to my Excel file go to automate automate work any power automate workflow that is related to.

    This Excel file will list out right here here is my send email to customer now in order for me to trigger this I have to have the context of a row selected so for example I select the.

    Record for Sarah my flow is send an email to customer I select three ellipses and run it's the first time I'm running the flow so it's going to authenticate using.

    My credentials for the different actions that the flow uses I'll say continue and run the flow it says your flow ran successfully I'll click.

    Done email sent for this record is changed to yes Sarah receives the email Koso order summary for the order number hello Sarah thank you for your.

    Order these are the order details and here is the link to track that order on the UPS website now to make modifications to that flow I can go to the automate work.

    Tab this will list out all the connected flows I'll go to the three ellipses for the send email to customer flow and say edit in power automate the email that goes out I would.

    Also like to CC the email to the user who is triggering this flow so for the send an email action I'll go to show Advanced options for cc I'll switch to advanced.

    Mode and from Dynamic content alpic user email property that's the the email address of the user who triggered the flow I'll click save if I head back to my Excel.

    File this time I'll pick a different record you don't have to select the entire row even if you select a specific cell of that row and then head over and run the flow it will understand the.

    Context of that specific row I'll click run this goes ahead and triggers the flow you can see how email sent has updated to yes the email has gone out this time.

    With my name and CC you can also select multiple rows go to automate work select the flow and run it three different emails went out in.

    This case for the Trigger action add an input and this input can be of various types I'll put text I'll call it notes and for send an.

    Email from Dynamic content I'll plug in the notes I'll save the flow flow is saved let's select a record run the flow it will ask me for.

    The notes I'll plug in my notes and run the flow the email that goes out now includes the note for each of the customer order.

    Details that I'm maintaining in this Excel file I also have related documents that I maintaining in a SharePoint document library in this Library I have a column.

    Called order number and for each file that I've uploaded I have the order number defined so let's take an example of order number 90123 if I filter the data based on this.

    Order number notice there are two files related to this specific order so when my flow is triggered I would also like to send those related files for that specific order as email.

    Attachments back to editing my flow before the send an email action I'll add an action called get files properties only from SharePoint I'll connect to my SharePoint.

    Site connect to my documents Library go to show Advanced options here I'll add a filter query order number equal to from Dynamic content I'll pick order.

    Number now I need to go and get the content of each of these files because I want to send it as an attachment to my email to do that I'll add an action apply to each to Loop.

    Through all the files that I have obtained from the get files action so I'll pick the dynamic content value and within the loop I'll use the action get file.

    Content from SharePoint pick my SharePoint site file identifier Dynamic content get files properties has the identifier I'll.

    Select this I'll want to send as an attachment so I'll go to show Advanced options attachments expects two properties attachment name and.

    Attachment content for attachment name I'll just say sample name and attachment content I'll say sample content I'll switch to input entire.

    DISCLAIMER: In this description contains affiliate links, which means that if you click on one of the product links, I'll receive a small commission. This helps support the channel and allows us to continuetomake videos like this. All Content Responsibility lies with the Channel Producer. For Download, see The Author's channel. The content of this Post was transcribed from the Channel: https://www.youtube.com/watch?v=JCvuixuu1Yo
Previous Post Next Post