Approval Flows in Power Automate - Beginners Tutorial

Sdílet
Vložit
  • čas přidán 31. 07. 2024
  • Learn how to create advanced approval flows in Microsoft Power Automate. With this tutorial for beginners, you learn to set up an approval flow and, more importantly, handle the responses with expressions.
    📂 Download the course materials: andersjensen.org/microsoft-po...
    VIDEOS FOR YOU:
    🔹Microsoft Power Automate Beginners Course: • Microsoft Power Automa...
    🔹Advanced Invoice Processing with AI Builder in Power Automate: • Advanced Invoice Proce...
    POWER AUTOMATE GROUPS:
    👨‍👩‍👧‍👦 Discord: / discord
    - Join my network with 4500+ Automation/RPA developers, where we solve Automation/RPA problems, network, and help each other upgrade our careers. It's free!
    👩🏻‍🎓 LinkedIn: / 12566435
    👨🏻‍💻 Facebook: / 754059285247921
    FOLLOW ME:
    💼 LinkedIn: / andersjensenorg
    📸 Instagram: / andersjensenorg
    👨 Facebook: / andersjensenorg
    🐦 Twitter: / andersjensenorg
    💌 Email Newsletter: and
    ersjensen.org/email-newsletter
    00:00 Intro
    Today we create an approval flow where we take user input, approve it Teams/Outlook, and let Power Automate send an email response to the user with the response from the approval flow.
    00:47 Create an Input Form
    We create an input form in Microsoft Forms. Here the employee will request holidays, which our approval flow will handle later. In Power Automate, we use the When a new response is submitted as a trigger. With a Get response details action, we collect the information from the Form and use it in Power Automate.
    5:43 Create and wait for an approval
    With the Create and wait for an approval action, we can send an item for approval to the user or users we specify. In addition, we can customize the approval form, e.g., Yes/No/Maybe instead of Approve/Reject. The approver can add comments to the approval, cancel the request, follow up (the approvers will get another notification), or reassign.
    10:16 Extract Information from the Approval Response
    When the approver reacts, our Power Automate receives the response as a JSON. Our job is now to extract the data from the JSON. Since one approval can have more responses, the responses come in an array in the body. So we handle the array of responses accordingly.
    17:35 Send an Email with the Response
    We use the extracted information from the approval response to create an email with a Send an email (V2) action. The To, Subject, and Body are all created dynamically. We use a combination of dynamic content and expressions.
    22:45 Use Markdown for the Approval in Teams
    You can use markdown to make your approval form in Teams/Outlook look better. We use bold for the descriptions and create an email link.
    26:12 Handle the Approval Outcome
    The outcome from the approval comes as either Approve and Reject. We want to use Approved and Rejected for our email, so we use a Switch action.
    30:57 Get the Approval Comments
    We use a WDL expression to get the comments from the approval. But we only want to show the comments if they're present: Therefore, an expression combining the functions empty and if is created. Finally, a concat function is added to combine the value of the dynamic comments with a static string.
    41:32 Clickable Link with the Responder's Email
    With some HTML knowledge, we can create a clickable link with the Responder's email and a custom text with their name.
    #powerautomate #powerplatform #microsoft365
  • Věda a technologie

Komentáře • 32

  • @andersjensenorg
    @andersjensenorg  Před rokem +2

    LIKE & SUBSCRIBE! Thank you for all of your support! 🙌❤
    Facebook Group for Power Automate Developers: facebook.com/groups/754059285247921

  • @vvaassaanntthh
    @vvaassaanntthh Před rokem +1

    thanks Anders. Your videos are always so well explained. Just love it

    • @andersjensenorg
      @andersjensenorg  Před rokem

      Happy to hear that! Thanks for all the support 🙌🙋‍♂️

  • @maurenciocs
    @maurenciocs Před rokem +1

    Great work! Love the markdown for the approval in Teams!

  • @zawwinhtun7929
    @zawwinhtun7929 Před 6 měsíci +1

    This video really helped me. Thanks Anders Jensen

    • @andersjensenorg
      @andersjensenorg  Před 6 měsíci

      Thanks a bunch, @zawwinhtun7929 🤩 I've created a Discord. We're more than 11,000+ RPA developers networking and solving problems here: czcams.com/video/xWFz-S96XGo/video.html You're more than welcome. Kind regards, Anders

  • @user-vx2sm8ns1q
    @user-vx2sm8ns1q Před 6 měsíci +1

    Very Good explanation
    Thanks A lot

    • @andersjensenorg
      @andersjensenorg  Před 6 měsíci

      I'm so happy to hear, thanks a lot 😊 Kind regards, Anders

  • @christopherskyap8985
    @christopherskyap8985 Před rokem +1

    Hi Anders Sir, your video very clear
    btw, how to configure team to receive approval ? saw your video got notification prompter that leads to team, I can only see in Outlook, and for outlook, is it possible to receive notification in browser and click in to the outlook mail ? thank you !

    • @andersjensenorg
      @andersjensenorg  Před rokem

      Hey Christopher SK Yap Thanks for writing. I'm getting more than 50 questions/comments every day and having difficulty answering everyone (I try my best). I've created my Microsoft Power Automate Groups, where we all can post and solve problems or hang out around our favorite tool, Power Automate. So you're very welcome. Get the addresses here: czcams.com/video/_QRI-Yo2h8U/video.html Have a great day. Kind regards, Anders

  • @lucieliskova2578
    @lucieliskova2578 Před 11 měsíci +1

    Hi Anders, great video. Anders, would there be a way for the approver to view the actual form? Or is it only the kind of basic text you will be able to add to the approval message / email? Thank you.

    • @andersjensenorg
      @andersjensenorg  Před 11 měsíci

      Thanks for writing 😊 I'm getting more than 50 messages daily. While I read all of them, I can’t reply to everyone 😔 But I’ve created an RPA/Automation community where we’re 9000+ RPA Developers helping each other with solutions and our careers. Here’s the video on how to join (the invitation link is in the video description): czcams.com/video/xWFz-S96XGo/video.html Kind regards, Anders

  • @user-vx2sm8ns1q
    @user-vx2sm8ns1q Před 6 měsíci +1

    Dear brother Anders Jensen
    I hope you are doing well
    I'm traying to follow up your lesson but unfortunately, when I was traying apply the first action, my computer add extra step automatically which it (Apply for each) and this step is not appear at your lesson
    what is the reason and how can I solve this issue
    actually, I'm new in using power automate
    Thanks A lot

    • @andersjensenorg
      @andersjensenorg  Před 6 měsíci +1

      Thanks for writing 😊 I'm getting more than 50 messages daily. While I read all of them, I can’t reply to everyone 😔 But I’ve created an RPA/Automation community where we’re 11,000+ RPA Developers helping each other with solutions and our careers. Here’s the video on how to join (the invitation link is in the video description): czcams.com/video/xWFz-S96XGo/video.html Kind regards, Anders

  • @stregojuwelier5593
    @stregojuwelier5593 Před 6 měsíci

    Hi Anders,
    Is it possible to link 2 applications? We want to enter data in one application and then get this data into the other application at the same time?

    • @andersjensenorg
      @andersjensenorg  Před 6 měsíci

      Thanks for writing 😊 I'm getting more than 50 messages daily. While I read all of them, I can’t reply to everyone 😔 But I’ve created an RPA/Automation community where we’re 11,000+ RPA Developers helping each other with solutions and our careers. Here’s the video on how to join (the invitation link is in the video description): czcams.com/video/xWFz-S96XGo/video.html Kind regards, Anders

  • @elpinchepipe
    @elpinchepipe Před rokem

    Like the video Anders !! I have a question, what happened if the email to send to your superior or boss is incorrect ? there is a possibility to check the email with ldap server into power automate? or something like that with an expression? Regards

    • @andersjensenorg
      @andersjensenorg  Před rokem

      Hey Food’s & Lanscape Thanks for writing. I'm getting more than 50 questions/comments every day and having difficulty answering everyone (I try my best). I've created my Microsoft Power Automate Groups, where we all can post and solve problems or hang out around our favorite tool, Power Automate. So you're very welcome. Get the addresses here: czcams.com/video/_QRI-Yo2h8U/video.html Have a great day. Kind regards, Anders

    • @enoisquevoa157
      @enoisquevoa157 Před rokem

      That was a very important question! Did you get any response on Discord Channel or anywhere else?

    • @elpinchepipe
      @elpinchepipe Před rokem +1

      @@enoisquevoa157 no Andrew :(

  • @krishnaa2829
    @krishnaa2829 Před rokem +1

    Great Video
    Can you please make video on:
    SharePoint library have Excel file and copy all Excel data into existed SharePoint list

    • @andersjensenorg
      @andersjensenorg  Před rokem +1

      Thanks for writing 😊 I'm getting more than 50 messages daily. While I read all of them, I can’t reply to everyone 😔 But I’ve created an RPA/Automation community where we’re 4500+ RPA Developers helping each other with solutions and our careers. Here’s the video on how to join (the invitation link is in the video description): czcams.com/video/xWFz-S96XGo/video.html Kind regards, Anders

    • @krishnaa2829
      @krishnaa2829 Před rokem +1

      @@andersjensenorg Thanks for quick reply
      I'll share with my friends
      If possible please make video

  • @suraj_singh321
    @suraj_singh321 Před rokem +1

    Make a video on vlookup with actions as well as using macro by passing dynamic variable to VBA Code

  • @christopherskyap8985
    @christopherskyap8985 Před rokem

    Hi Sir,
    got this error after following your steps for sending back email to responders
    The Mail connector is currently restricted for new tenants. Microsoft is working on enabling this connector. In the meantime, please consider using alternatives like Office 365 Outlook, Gmail, SendGrid connector instead.

    • @andersjensenorg
      @andersjensenorg  Před rokem

      Hey Christopher SK Yap Thanks for writing. I'm getting more than 50 questions/comments every day and having difficulty answering everyone (I try my best). I've created my Microsoft Power Automate Groups, where we all can post and solve problems or hang out around our favorite tool, Power Automate. So you're very welcome. Get the addresses here: czcams.com/video/_QRI-Yo2h8U/video.html Have a great day. Kind regards, Anders

  • @nursyakillamohdbaharim6427
    @nursyakillamohdbaharim6427 Před 6 měsíci

    Hi why is my text in details come out all in one line?
    I have put enter.

    • @andersjensenorg
      @andersjensenorg  Před 6 měsíci

      Thanks for writing 😊 I'm getting more than 50 messages daily. While I read all of them, I can’t reply to everyone 😔 But I’ve created an RPA/Automation community where we’re 11,000+ RPA Developers helping each other with solutions and our careers. Here’s the video on how to join (the invitation link is in the video description): czcams.com/video/xWFz-S96XGo/video.html Kind regards, Anders

  • @SanDiegoDude619
    @SanDiegoDude619 Před rokem

    This is apparently already dated information, unfortunately.
    When I go to Power Automate, then click Create, my screen looks *nothing* like that. For example, there is no box for "Automated Cloud Flow". I see two big option boxes at the top: "Start with a template", or "Build your own", and neither takes me to the next step he is at. Thus, this "Beginners Tutorial" is no beginner's tutorial at all, unfortunately.
    I appreciate it when someone like Anders creates tutorials, but it's no help if the information is dated, and does not align with what the interface actually looks like (possibly due to MS radically changing the interface).

    • @andersjensenorg
      @andersjensenorg  Před rokem

      Hey SanDiegoDude. Try to go to microsoft365.com and login. Click the 9 black dots in the upper left corner. Click Power Automate. Now your Power Automate should look like mine 😊 Please let me know, if it helps. Kind regards, Anders