Flow Approval Attachments - Power Automate Tutorial

Поделиться
HTML-код
  • Опубликовано: 9 фев 2025

Комментарии • 484

  • @cmarkbernal
    @cmarkbernal 3 года назад +9

    Once again, you're mind reading. We were just talking about a process we have that is being done via Outlook voting for approval and One Note, and now want to switch to Power Automate approvals as attachment. So this, partnered with PA print to PDF is going to be golden for us. I also love the Chapters feature added to your videos, so you can share directly to a specific spot. Thank you for adding that!!

    • @RezaDorrani
      @RezaDorrani  3 года назад +2

      So glad to hear that this will be leveraged in a real world use case. Thanks for sharing the info.
      Chapters is my favorite as well :)

  • @namangupta6440
    @namangupta6440 3 года назад +1

    I am a non engineering, non IT guy, with background in commerical studies only and now learned so much just from two videos and in-fact even started implementing at my workplace. WoW.

    • @RezaDorrani
      @RezaDorrani  3 года назад +1

      Great story this! So happy to hear how quickly you have started implementing these at your workplace. Best of luck & keep learning.

    • @namangupta6440
      @namangupta6440 3 года назад

      ​@@RezaDorrani In a scenario where after the list item ( eg expense reimbursement) & its attachment (eg invoice) have been approved, how can the log of approval + attachment be generated as one file or a sharepoint item so that user can now proceed to upload the approval as well attachment on Expense reimbursement tool/ Payment tool

  • @teresaagustin5191
    @teresaagustin5191 Год назад +1

    Reza, thank you for making this video. You really helps me out today and obviously many others with almost 60,000 views. We appreciate all you do. Please keep the great content coming. Not sure what we’d do without you. Best regards, Teresa

    • @RezaDorrani
      @RezaDorrani  Год назад

      Thank You so much Teresa for all the appreciation

  • @nickolaslavrenchuk3890
    @nickolaslavrenchuk3890 2 года назад +1

    I was struggling with this problem for about 5 hours and was so thankful to come by this video. THANK YOU!

  • @elizabethtoby9086
    @elizabethtoby9086 Год назад +1

    Thank you for a fantastic explanation for how to do this process and WHY you're having to add certain steps. This is the second video I've digested of yours today that has gotten me further than any Power Automate learning documentation has. Thank you!

    • @RezaDorrani
      @RezaDorrani  Год назад

      So happy to hear the feedback! Thanks so much for watching and learning from the videos.

  • @rashidahmad7081
    @rashidahmad7081 6 месяцев назад +1

    I was looking high and low for a good guide on how to do this. Got it to work perfectly after watching this video, amazing work Reza. You're awesome! 👏

    • @RezaDorrani
      @RezaDorrani  6 месяцев назад

      You're most welcome!

    • @urmonique6850
      @urmonique6850 5 месяцев назад

      ​@@RezaDorraniI have been watching this for weeks and following each click but my document that was uploaded is coming back with the code rather than the document, what do you think I am doing wrong??

    • @RezaDorrani
      @RezaDorrani  5 месяцев назад

      @@urmonique6850 I have not experienced the mentioned issue and hence not sure what the cause for it could be.
      I will recommend posting your issue on forums in case someone has experienced something similar powerusers.microsoft.com

    • @urmonique6850
      @urmonique6850 5 месяцев назад

      @@RezaDorrani I thought you might say that. It seems to be a common response.

    • @RezaDorrani
      @RezaDorrani  5 месяцев назад

      @@urmonique6850 I have not experienced the problem mentioned. I cannot guess what you would be doing wrong.

  • @Alan-ps2ul
    @Alan-ps2ul 5 месяцев назад +1

    Thank you Reza - very clear guidance on how to get attachments from a SP List - brilliant - works perfectly! Thank you for your superb Pwr Auto videos.

    • @RezaDorrani
      @RezaDorrani  5 месяцев назад

      Great to hear! Thanks Alan

  • @todorstankov3401
    @todorstankov3401 Месяц назад

    Liked and subscribed. Straight to the point and no bull**. Really helped me with my flow! Good man!

  • @vfontanav
    @vfontanav 3 года назад +1

    Man, I would like to thank you for this video! I was looking for days for a way to catch attachments from Outlook e-mail to approvals without any success! Your video explained all scenários with a LOT of USEFUL information! Thanks, thanks and thanks!!!!!

    • @RezaDorrani
      @RezaDorrani  3 года назад +1

      Glad to know this video is useful. I always try to cover most common scenarios. Happy to hear the positive feedback.
      Thanks for watching.

  • @catap6760
    @catap6760 Год назад +1

    This is amazing! All your videos are PURE GOLD! Thank you so much Reza!

    • @RezaDorrani
      @RezaDorrani  Год назад

      Most welcome and thanks so much for watching and liking the videos.

  • @martinargimon730
    @martinargimon730 2 года назад +1

    excellent video reza. Very practical example. thanks a lot ! ( martin from South Africa)

  • @joetaylor1916
    @joetaylor1916 2 года назад +1

    Amazing video, been struggling with List Item attachments for Approvals for a while now! Thank you

    • @RezaDorrani
      @RezaDorrani  2 года назад

      Most welcome! Thanks for watching Joe

  • @FightNight4545
    @FightNight4545 4 месяца назад +1

    Thank you so much Raza!!!!
    I was looking for the exact topic and this was one the hurdle I was facing in my project and could not solve.

  • @alzaimoor79
    @alzaimoor79 3 года назад +4

    Great video. Full scenario of approval attachments. Thanks for sharing

  • @MrPhelord
    @MrPhelord 3 года назад +1

    thank you for your guideline. this is a method what i've been waiting for multiple attachment.

  • @RobThornley
    @RobThornley Год назад +1

    Spend ages today looking for a solution for processing Outlook email attachments and attaching them to an Approval workflow. Your video was very helpful and resolved by issue. 👍👍

  • @5394prashant
    @5394prashant 3 года назад +1

    Amazing Video. You are a Genius Reza. I have been looking for this solution for such a long time. 😊

    • @RezaDorrani
      @RezaDorrani  3 года назад

      Glad I could help. Goal was to cover multiple scenarios of approval attachments. Thank You for watching.

  • @horamansarkhosh8615
    @horamansarkhosh8615 3 года назад +2

    Thanks Reza... Awesome...Your teaching style is excellent and is based on real-world projects...👍💚

    • @RezaDorrani
      @RezaDorrani  3 года назад

      Glad you enjoyed the video. Thank You for your kind words :)

  • @amandaamarante6857
    @amandaamarante6857 2 года назад +1

    OMG!! Thank you Reza! Now Im going to speak in Portuguese (my language). Obrigada Reza, os seus vídeos estão me ajudando muito. Ótima explicação e ótimos exemplos.

    • @RezaDorrani
      @RezaDorrani  2 года назад

      You are most welcome!
      VOCÊ É MUITO BEM-VINDO

  • @balqishaida2391
    @balqishaida2391 Год назад +1

    thank you so much😭My friend and I struggle to create the flow :') We use the fourth scenario to create in lieu submission approval. This video really helpful!🤓

  • @ciglobal5304
    @ciglobal5304 2 года назад +1

    You are great!!! Thanks, your video helped and taught me a lot.

  • @lxz86
    @lxz86 3 года назад +1

    Great video. Full scenario of approval attachments. Thanks for sharing
    totally agreed, perfect guide for the fresh learner

  • @calvinmunisi346
    @calvinmunisi346 3 года назад +1

    This is an awesome video. Pure gold as always!!

  • @marjhkl
    @marjhkl Год назад +1

    thank you so much! been trying to find a tutorial how to attach existing sharepoint file to power automate approval.

  • @vaibhavkhangan5891
    @vaibhavkhangan5891 4 месяца назад +1

    Good session and Great learnings

  • @familiamorabarquero
    @familiamorabarquero 3 года назад +1

    Thanks for sharing. It was exactly what I was looking for.

  • @pratikdarak8863
    @pratikdarak8863 3 года назад +1

    Thanks for sharing this. For me perk of video was Limitations related info

  • @fe271
    @fe271 Год назад +1

    You just saved my life... thanks a million

  • @cvkealey
    @cvkealey 3 года назад +1

    This is a fantastic and comprehensive view of the most likely scenarios. The method you use for the Forms attachments is quite a bit simpler than what I've been using. I'll have to try that with a group form to see if it works there as well (I suspect it will). Also, as a heads-up to anyone that wants to save those files to SharePoint, you might want to append something to the file name to ensure uniqueness (for example, the current timestamp). If the "Create file" action tries to add a file with a name that already exists, the flow will fail.

    • @RezaDorrani
      @RezaDorrani  3 года назад

      Thank you.
      All valid points. Group forms with SharePoint will also work. Check - ruclips.net/video/kbqXsKPTmZk/видео.html

    • @cvkealey
      @cvkealey 3 года назад +1

      OK, tried with a Group form and found that in the "Get file content" input, you need to add the "driveId" and a period before the "id". This can be done in one expression: concat(item()['driveId'],'.',item()['id']). The only issue is that I like to append a timestamp to the file name (to ensure unique values) and because the value returned by item()['name'] includes the file extension, it's difficult to insert it between the name and the extension. I got around this by adding a "get file metadata" action, which has a "file name without extension" output, and using some string manipulation to split out the extension and append it after the timestamp. Kind of messy, but it works.

    • @RezaDorrani
      @RezaDorrani  3 года назад

      @@cvkealey As long as it works :)

  • @goomis90
    @goomis90 2 года назад +1

    The best video, thank you very much! :)

  • @ketlinelizabethgarcia6766
    @ketlinelizabethgarcia6766 3 года назад +1

    Hi, Reza tks for the video!
    U r the best!

  • @gledsonsantos7518
    @gledsonsantos7518 2 года назад +1

    Very useful, congratz Reza

  • @side54723
    @side54723 3 года назад +1

    Thank you Reza :) Microsoft has improvements to make in order to make such scenario more accessible to business users... It is a low code platform.. Waiting for that there is Reza !!!

    • @RezaDorrani
      @RezaDorrani  3 года назад

      I wish all the JSON outputs were the same for consistency. Till then you have my videos :)

  • @akkaradechsrithongchai7766
    @akkaradechsrithongchai7766 3 года назад +1

    This lesson is very good with Zoom screen too helpful .

  • @somisadegi361
    @somisadegi361 2 года назад

    Thank you Reza for your great videos!

  • @bharatishukla1358
    @bharatishukla1358 Год назад +2

    Reza to the rescue again 🙌🏻

  • @LuiIacobellis
    @LuiIacobellis 3 года назад +1

    Great tutorial, thanks Reza

  • @edwinjonah
    @edwinjonah 3 года назад +1

    Just what I needed, thanks!

  • @EpicDreamer_
    @EpicDreamer_ 3 года назад +1

    Thank you Reza! That is what I need!

  • @pawanmishra6549
    @pawanmishra6549 3 года назад +1

    Thanks Reza, big fan 👍👍

    • @RezaDorrani
      @RezaDorrani  3 года назад

      Thank you for following my work.

  • @rudiolivier7494
    @rudiolivier7494 3 года назад +1

    LOVE This video. I was looking for a solution for so long and not being use to flow I did not understand the other videos.
    But this is great.
    I was wondering if I look at (Microsoft Forms file uploads - add as attachments to approval workflow) How do I add the responses in the Form as an attachment with the other attachments.

    • @RezaDorrani
      @RezaDorrani  3 года назад +1

      Responses of the form is something that you could create an html file or pdf file of and then load it to attachments.
      I do not have a specific video on this.
      I have one that shows how to build the pdf file - ruclips.net/video/Da4do2DxmJE/видео.html which may help.

  • @IndianMoMinSweden
    @IndianMoMinSweden Год назад +1

    Hey, 1st of all thanks for this video.
    I am using power automate for the 1st time in my career and really need your help.
    I have set up approval flow which is working perfectly fine, but when approvers try to open the file, they can't see the content. I have implemented the 1st of your scenario.
    When it is Excel file, the error comes file is corrupt, and when it is PDF, it just open but blank pdf. We mainly have to deal with PDFs and they contain drawings.. Looking forward for your help.

    • @RezaDorrani
      @RezaDorrani  Год назад +1

      Welcome!
      I have not come across the mentioned issue and hence not sure what the cause could be.
      I recommend posting your issue on forums in case someone has experienced something similar powerusers.microsoft.com

    • @IndianMoMinSweden
      @IndianMoMinSweden Год назад +1

      @@RezaDorrani thanks for your reply, I will try that

  • @yeetusfeetus8151
    @yeetusfeetus8151 Год назад +1

    Hi Reza, great video. Do you have a video for permissions with attachments?

    • @RezaDorrani
      @RezaDorrani  Год назад

      I do not have a video reference on this scenario. I recommend checking on the forums at powerusers.microsoft.com/ in case someone has done something similar.

  • @ryanlevandoski2086
    @ryanlevandoski2086 Год назад +1

    Reza, great video again. Is there a way to add attachments when utilizing a Approval Matrix and a Create an approval. Adding Attachment array seems to work under a normal create an approval, but when doing custom utilizing an approval matrix I can't seem to get the attachment to add.

    • @RezaDorrani
      @RezaDorrani  Год назад

      Not sure as I have not tried this. I will recommend checking on forums in case someone has done something similar
      powerusers.microsoft.com

  • @nick1345
    @nick1345 3 года назад

    Your a legend mate! Thank you

    • @RezaDorrani
      @RezaDorrani  3 года назад

      Thanks Nick. My subscribers are legends who keep suggesting awesome topics.

  • @shannonp3mo169
    @shannonp3mo169 Год назад +1

    Hi Reza, excellent video once a gain. I have a question. I can get the flow working correctly, but the attachments only come through with the email notification and in the Power Automate Approvals area. The MS Teams approval is not showing the attachments. We either need to have the attachments coming through in MS Teams as well, or we need to be able to turn off the approval requests going to Power Automate and MS Teams, and only have them going to email. Thanks in advance for your help!

    • @RezaDorrani
      @RezaDorrani  Год назад

      I believe that is a current limitation.

    • @shannonp3mo169
      @shannonp3mo169 Год назад

      @@RezaDorrani Hi, is there a way to stop notifications going to MS Teams or Power Automate, and only have them going by email?

    • @RezaDorrani
      @RezaDorrani  Год назад

      @@shannonp3mo169 Im not aware of an option

  • @lionking.MuZimba
    @lionking.MuZimba Год назад +1

    Thanks for this walk through Reza, and for all your other awesome content. It makes our lives much much easier. Do you have any thoughts on why my use case of trying to extract attachments from a list item results in corrupt files that will not open? I've followed the section in your tutorial for this, but still get corrupt files in my approval email. Your thoughts will be much appreciated Reza, thank you.

    • @RezaDorrani
      @RezaDorrani  Год назад +1

      You are most welcome!
      I have not come across the mentioned issue and hence not sure what the reason for your issue is. I recommend posting your issue with screenshots on the forums at powerusers.microsoft.com

    • @lionking.MuZimba
      @lionking.MuZimba Год назад

      @@RezaDorrani sure thing, i'll post an issue in the forum

  • @PsYc87
    @PsYc87 Год назад +1

    Hi Reza, another great video. Is it possible to upload an attachment to a sent approval? Eg. An approver needs to upload an additional attachment in to their Teams approval, which then gets added to the SharePoint list.

    • @RezaDorrani
      @RezaDorrani  Год назад +1

      Approval forms does not allow for attachments to be uploaded.

  • @lidiamorazan530
    @lidiamorazan530 11 месяцев назад +1

    Hi, thank you so much for your tutorial, it's really helpfull! I'm trying to do the same thing but from a Sharepoint Document library and the ''Get attachements'' action doesn't work. Do you know which action I should choose? Thank you!

    • @RezaDorrani
      @RezaDorrani  11 месяцев назад

      Get attachments is only for list items.
      Get files is for document library.

  • @tiagoarauko3857
    @tiagoarauko3857 2 года назад +1

    Great Video! I have one question, how can I do it in case get the attachments of different questions from forms and send to approval, please? Thanks

    • @RezaDorrani
      @RezaDorrani  2 года назад

      I do not have a video reference on this scenario and would have to try it out to provide guidance. I would recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

    • @tiagoarauko3857
      @tiagoarauko3857 2 года назад +1

      @@RezaDorrani Thanks a lot!

  • @akanksha5573
    @akanksha5573 Год назад +1

    Hey i love the way u teaching ✨..want to ask u can we mandate or rename attachment field in sharepoint new list?

    • @RezaDorrani
      @RezaDorrani  Год назад

      Thanks.
      Attachments cannot be made mandatory as far as I know.
      You could rename them.
      I kind of show it in my latest video - ruclips.net/video/Aerky9hiYDo/видео.htmlsi=WELuuimiuNwFcsAT

  • @yandisafanqa6050
    @yandisafanqa6050 Год назад +1

    Hi Reza thank you once again. I was looking for MS form file upload and this video helped. Is there another shorter way to create Ms forms file ulpoad approval flow you can show us? Thanks.

    • @RezaDorrani
      @RezaDorrani  Год назад +1

      I am not aware of any other shorter way / I would have to try it out to know more. I will recommend checking on the forums at powerusers.microsoft.com/ in case someone has done something similar.

    • @yandisafanqa6050
      @yandisafanqa6050 Год назад +1

      @@RezaDorrani Thank you for the feedback

  • @oluwatobiyusuf
    @oluwatobiyusuf 3 года назад +2

    Great video Reza. Thanks for the insight.
    I have a question, what if we have multiple fields with attach documents on the Microsoft Forms. How do initialize and append variables for the individual fields on the Forms?

    • @RezaDorrani
      @RezaDorrani  3 года назад +1

      You can create variables for each field and then combine them (if required) using expressions.

    • @oluwatobiyusuf
      @oluwatobiyusuf 3 года назад +1

      @@RezaDorrani thank you so much

    • @tproto223
      @tproto223 2 года назад

      @@RezaDorrani Hi Reza, thank you for the video. In this scenario where there are multiple fields with attached documents, which expression should be used to combine them in order to attach all documents to the approval email?
      Thank you

    • @RezaDorrani
      @RezaDorrani  2 года назад +1

      @@tproto223 It is not only expressions. Multiple actions and expressions would be needed to get it to work. I do not have a video reference on this scenario and would have to try it out to provide guidance. I will recommend checking on the forums at powerusers.microsoft.com/ in case someone has done something similar.

  • @santi-mr5zw
    @santi-mr5zw 3 года назад +5

    Thanks Reza
    Followed your step by step tutorial, however I'm getting an error under " start and wait approval" as follow:
    The request failed. Error code: 'InvalidRequestContent'. Error Message: 'The request content was invalid and could not be deserialized: 'Unexpected character encountered while parsing value: {. Path 'attachments[0].content', line 1, position 852.'.'.
    per checking, the varAttachments is causing this error, I would appreciate your feedback for any work around.
    Thank you

    • @RezaDorrani
      @RezaDorrani  3 года назад

      I will have to look at your flow in action to provide any guidance. I would recommend you post your issue/query with screenshots on the forums at powerusers.microsoft.com

    • @kabax5
      @kabax5 2 года назад

      I got the same issue. Were you able to find a solution?

  • @Thaara1424
    @Thaara1424 Год назад +1

    Great video, Reza! Thank you so much again. I need one idea regarding this. When I click the attachment to open in the approval form in Teams, it automatically downloads. When I try to open it in email, it does open, but when we save it, it saves to our system instead of updating the changes. Is there any possibility to edit the document in the online version (maybe in another tab) instead of downloading? Thanks

    • @RezaDorrani
      @RezaDorrani  Год назад +1

      I don't believe we have any control over the default behavior.

    • @Thaara1424
      @Thaara1424 Год назад

      @@RezaDorrani Is there any possibility to provide link of attachments in approval form directly Reza?

    • @RezaDorrani
      @RezaDorrani  Год назад

      @@Thaara1424 Body of approval is one place where that could be done

  • @shereenraza779
    @shereenraza779 Год назад +1

    Really informative videos Reza. I am trying to get data populated on my share point through MS forms (having attachments) and I am trying to get approvals where the approver gets the link to those attachments. The error that I get is
    Flow save failed with code 'OpenApiOperationParameterValidationFailed' and message 'Input parameter 'WebhookApprovalCreationInput' validation failed in workflow operation 'Start_and_wait_for_an_approval': The parameter with value '"@{variables('varAttachments')}
    "' in path 'WebhookApprovalCreationInput/attachments' with type/format 'String' is not convertible to type/format 'Array'.'
    and I don't really understand why

    • @RezaDorrani
      @RezaDorrani  Год назад

      I have not come across this issue hence not sure. I recommend posting your issue with screenshots on the forums at powerusers.microsoft.com

  • @olalekanodutola5723
    @olalekanodutola5723 9 месяцев назад +1

    Hello Reza, thanks for this flow. I am trying to use this flow and upload additional files as part of the input in the selected file action. I used "For a selected file and add input. As part of the input , I included additional files. But the files are not readable while i tested the flow. I guess i need to bring them in somehow? Please I do i bring those additional files in and make the approver view them. Thanks

    • @RezaDorrani
      @RezaDorrani  9 месяцев назад

      I do not have a video reference on this scenario and would have to try it out to provide guidance. I recommend checking or posting your query on forums in case someone has done something similar powerusers.microsoft.com

    • @olalekanodutola5723
      @olalekanodutola5723 9 месяцев назад

      @@RezaDorrani Thanks Reza. I will appreciate if you can try it. This is really important for me for with management. I have tried to include the additional files but not working. I think i need to get/read the file content and include them in the approval attachments. I will also post it on forum as advised

    • @RezaDorrani
      @RezaDorrani  9 месяцев назад

      @@olalekanodutola5723 I have no plans to try it out as I am working on multiple new video topics. Forums will be your best bet.

  • @HinaGeo
    @HinaGeo 2 года назад +1

    Hello Reza, Thanks for the videos helping people around the world. I always first come to your channel to get help :). I need your expert guidance/opinion, please. if an approver edits the attachment (In case of a list item with an attached file) or document (A library uploaded file) before approving or rejecting will save the edited file so that the updated/edited file now should be visible to all users? I mean if an approver edits the attachment or file it should be overwritten the actual attachment or file. Shall be very thankful if you please guide on it. Thanks

    • @RezaDorrani
      @RezaDorrani  2 года назад

      The attachments being sent for approvals action cannot be edited. It is more like a copy.
      Approver would need to download it, edit it and the upload it back to data source (list or library).

  • @kathrynhall2019
    @kathrynhall2019 3 года назад +1

    Such a detailed video, thank you. I've been battling with this and I'm so close, but I'm still hitting a couple of snags...
    - I'm trying to send an email after the create file step and include a copy of the attachment, but it's tapping out because it's looking for 'ContentBytes', not Content.
    - My attachments, although they are coming through and also saving in the correct format, are blank and I'm not sure why
    - Is there a point in the flow where I can rename the attachment to something more descriptive? Ideally using the dynamic content from the form itself?
    Thank you 😊

    • @RezaDorrani
      @RezaDorrani  3 года назад

      1) Create file step needs contentbytes structure. You would need to modify the flow accordingly.
      2) I would have to look at your flow in action to provide guidance.
      3) When creating the file is your data source, you can rename it.
      I do not have a video reference on the above scenarios and would have to try it out to provide guidance. I would recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

  • @CS-dm8fu
    @CS-dm8fu 2 года назад +1

    Hi Reza, thanks so much for your content. @27:40 in the video you mention that the attachments cannot have special characters, but could be fixed using Expressions and Flow. Just wondering if you have a video on how this can be done? have a flow that copies attachments to a document library, but ones with special characters do not display. I’m hoping to find a solution to sanitize the attachment file names. Thanks for any direction/video that you can provide.

    • @RezaDorrani
      @RezaDorrani  2 года назад +1

      you would need to use replace function to replace all those special characters
      example: replace(replace(filename,'*',''),'|','')
      I will recommend checking on the forums at powerusers.microsoft.com/ in case someone has done something similar.

  • @AnamAhmed-t8d
    @AnamAhmed-t8d Год назад +1

    Hi Reza, Greats videos!
    I need to insert a checkbox in the approval email such that the approver, reads and understands the text/string and clicks on the checkbox before they click on the Approve button. Is this something that can be accomplished?

    • @RezaDorrani
      @RezaDorrani  Год назад

      The approval email form cannot be customized.

  • @jagjitsingh8119
    @jagjitsingh8119 8 месяцев назад

    Hi Reza,
    Hope you're doing well. I really want to appreciate your efforts and creativity. I recommended to my friends.
    I am having trouble creating a flow, below mentioned are the details:
    1. A form is submitted with or without attachment (as the attachement is not mandatory field)
    2. Capture the info in MS list, also the attachment (if any)
    3. Send for approval & attach the attachment (if any)
    4. Send the approval response to requester & other departments or staff members
    5. Update the status of the approval response in MS list.
    The problem that I'm facing if there is no attachment the flow gets confused on step 3 and gives me error. I tried to apply the condition but it didn't help. I really appreciate your support.

    • @RezaDorrani
      @RezaDorrani  8 месяцев назад

      This is the best reference video I have ruclips.net/video/Aerky9hiYDo/видео.htmlsi=6NFOMGCu7GyzMclZ
      Beyond the above, I will recommend posting your query on forums in case someone has done something similar powerusers.microsoft.com

    • @jagjitsingh8119
      @jagjitsingh8119 8 месяцев назад +1

      Hi Reza, You're Saviour!! 🙏 Thank you so much for sharing another video link, it answers all my doubts.
      I request you to keep on creating such useful content. I would keep on liking and sharing with my friends. Thanks once again 🙂

  • @teganhage6612
    @teganhage6612 2 года назад +1

    Great video Reza. I need to create a flow where the attachments from a Sharepoint form generate on 2 subsequent approvals and then an email with attachments. The Attachments array variable you described works perfectly for both approvals and keeps failing on the last step 'Send an email'. Do you have any suggestions?

    • @RezaDorrani
      @RezaDorrani  2 года назад

      I will have to look at your flow in action to know the cause of your issue. I would recommend posting your issue with screenshots on the forums at powerusers.microsoft.com

  • @jorgeperal09
    @jorgeperal09 3 года назад +1

    Great!!, Really you save me!!

    • @RezaDorrani
      @RezaDorrani  3 года назад

      Glad to know the video is helpful.

  • @prielbuzny1812
    @prielbuzny1812 2 года назад +1

    Hello, this video was very helpful, but I think I confused myself. Everything seemed to be going well, but when you selected the onedrive to grab the attachments I got a bit lost because I had watched one of your other videos on automated email messages with form responses and in that video you pulled from the sharepoint file location. I wasn't using onedrive to automate the approval, so I tried to pull from the sharepoint file path, but that didn't work. Is it possible to do Flow Approval with Attachments using a sharepoint file path?

    • @RezaDorrani
      @RezaDorrani  2 года назад

      At what time in video I show the OneDrive action?

    • @prielbuzny1812
      @prielbuzny1812 2 года назад

      @@RezaDorrani oh wow fast response, thanks. It was 18:41.

  • @dhootsachin
    @dhootsachin 3 года назад +1

    You are Awesome !!!. Great Thank you

    • @RezaDorrani
      @RezaDorrani  3 года назад

      Happy to help!

    • @dhootsachin
      @dhootsachin 3 года назад

      @@RezaDorrani using Forms we are getting data from user then further generated approval process using power automate. Can we create same kind of form using SharePoint? so we can take input or response from user and automate this SharePoint for approval process. Could you please make this video
      Thank you So much !!! Really appreciated the way you explain in video.

    • @RezaDorrani
      @RezaDorrani  3 года назад +1

      @@dhootsachin Power Automate approval forms cannot be customized. You could use SharePoint forms and trigger approval by calling flow. It all depends on use case. I do not have a specific video on this. I would recommend you post your query with screenshots on the forums at powerusers.microsoft.com/

  • @AvelinoAmado-o1i
    @AvelinoAmado-o1i 8 месяцев назад

    Reza, thank you for another great video. Question about this process. If the approver adds comments to a word document, do the comments get retained throughout the approval process across all approvers?

    • @RezaDorrani
      @RezaDorrani  8 месяцев назад +1

      Word doc is independent of the process. The doc is shared as an attachment so any updates made there wont reflect. Best for user to make changes to original document (wherever it is stored)

  • @dennistan4368
    @dennistan4368 3 года назад +1

    getting an error: The request content was invalid and could not be deserialized: 'Unexpected character encountered while parsing value: {. Path 'attachments[1].content', line 1, position 2794.

    • @RezaDorrani
      @RezaDorrani  3 года назад

      I will have to look at your flow in action to provide any guidance. I would recommend you post your issue/query with screenshots on the forums at powerusers.microsoft.com

    • @dennistan4368
      @dennistan4368 3 года назад +2

      @@RezaDorrani Found a fix for this. You need to convert your content into base64 format if you are getting an error. So your code should look like this:
      {
      "name":DisplayName,
      "content": base64(body('Get_attachment_content'))
      }

    • @RezaDorrani
      @RezaDorrani  3 года назад

      @@dennistan4368 Thanks for sharing.

    • @brucelee-sq6vd
      @brucelee-sq6vd 3 года назад +1

      @@dennistan4368 , Thanks Dennis. I got the same issue and managed to fix it.

  • @julien8979
    @julien8979 3 года назад +1

    Amazing, thanks for sharing! Is it possible to track the versioning history of the file changes that are attached to an item in the SP list attachments (Word/PDF/Excel)?

    • @RezaDorrani
      @RezaDorrani  3 года назад +1

      I don't think list item attachments are versioned.

  • @toddring9111
    @toddring9111 7 месяцев назад

    Rezza, this video is great. I have a question. I have a form that may or may not contain a file attachment. I can determine if there is an attachment. How can I add the file to the Approval if there is an attachment and leave it blank if there is no attachment? Thank you for a response.

    • @RezaDorrani
      @RezaDorrani  7 месяцев назад

      Easiest option would be to add an if condition in flow to check if attachment exists.

  • @Post-it-note330
    @Post-it-note330 7 месяцев назад +1

    Thanks so much!!!

  • @danielrumbak2530
    @danielrumbak2530 2 года назад +1

    Hi Reza, Nothing short of brilliant. I noticed the keys for the approval action in the JSON was {"name": _________, "content": ______} whereas for an email action it's {"Name": _________, "ContentBytes": ______}. Will one work in the other or only for their respective actions (Approval vs Email)?

    • @RezaDorrani
      @RezaDorrani  2 года назад

      Yes, it differs based on the connector type.

  • @shozrocks6307
    @shozrocks6307 2 года назад +1

    Hello Reza, I followed all of your steps closely to send an approval when an item is created with an attachment. My test flow seems to get stuck. I stops at the Start and wait for an approval. There is an orange timer showing but it never seems to go anywhere. Its like the Connection: Approvals doesnt work. I've tried a few of your video's and this problem seem to happen to all of them. Any advice? thanks alot.

    • @RezaDorrani
      @RezaDorrani  2 года назад

      I will have to look at your flow in action to provide guidance. My guess is something to do with your environment. I would recommend posting your issue with screenshots on the forums at powerusers.microsoft.com

  • @haliimailekaauwai2868
    @haliimailekaauwai2868 3 года назад +1

    Hello Reza! Another great video. Question, with the attachments, if an approver needed to make edits to one of the documents, would they be able to open the document and make their edits? Or will the document need to be downloaded to their desktop, edited, and reuploaded? TIA

    • @RezaDorrani
      @RezaDorrani  3 года назад

      Downloaded, edited and reuploaded.

  • @kathy5771
    @kathy5771 3 года назад +1

    Hi Reza,
    Thank you for showcasing the approval flow with attachments!
    I follow the steps and successfully create the flow with attachments in the Outlook email. However, the action "start and wait for an approval" will also trigger approval requests on MS Teams with no attachment. My question is, would it be able to have the attachment on MS Teams too? If this is another limitation of Power Automate, is it possible to suspend the notification on MS Teams?

    • @RezaDorrani
      @RezaDorrani  3 года назад +1

      I don't believe Teams attachments are supported yet. This is a current limitation.

  • @58oldguy
    @58oldguy 3 года назад +1

    Thank you for this Reza. I could never have figured it out without your wonderful explanation.
    One thing though, I have not been able to get a submit button to appear in the approval email. Clicking approve or reject always opens the Approvals Center. Is there something I am missing?

    • @RezaDorrani
      @RezaDorrani  3 года назад

      Thank you for watching.
      Actionable emails in Outlook is related to Outlook versions. Check docs.microsoft.com/en-us/outlook/actionable-messages/

  • @akmamardzuan3655
    @akmamardzuan3655 3 года назад +1

    thank you for the nice explanation. but I want to combine 2 attachment from MS form and make it as an attachment in approval process. thus, I use compose function where I insert union expression. but approval function does not accept compose as an attachment.
    do you have any solution how to insert merge file from MS form as attachment in approval process?

    • @RezaDorrani
      @RezaDorrani  3 года назад

      You cannot combine attachments using union function.
      You will need to look at merge file actions (premium or 3rd party connectors) for that.
      I do not have a specific video on this scenario.
      I will recommend checking on the forums at powerusers.microsoft.com/

    • @akmamardzuan3655
      @akmamardzuan3655 3 года назад

      @@RezaDorrani oo thank you. will sure to check that.
      another question, i add create file after append to array variable to save attachments from MS Form in library sharepoint. but somehow it does not work, the file save in the library cannot be open and straight away to donwload once we click on it.
      do you have a solution for this matter?

    • @RezaDorrani
      @RezaDorrani  3 года назад

      @@akmamardzuan3655 Check ruclips.net/video/kbqXsKPTmZk/видео.html

  • @SlipTakc
    @SlipTakc 2 года назад +1

    Hi Reza, Thank you so much for sharing this. it is very helpful. I have created this as well. However, I would like to send confirmation email after approval to submitter with attachments. I have selected "varAttachement". There is an error about the send email v2, it shows me "The 'inputs.parameters' of workflow operation 'Send_an_email_(V2)' of type 'OpenApiConnection' is not valid. Error details: The API operation 'SendEmailV2' is missing required property 'emailMessage/Attachments/0/ContentBytes'." I have no idea about this. Could you please help me to check by any chance? Thanks in advance.

    • @SlipTakc
      @SlipTakc 2 года назад

      Also the attachments couldn't show in teams approval.

    • @RezaDorrani
      @RezaDorrani  2 года назад

      I will have to look at your flow in action to provide guidance. I would recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

    • @RezaDorrani
      @RezaDorrani  2 года назад

      I dont think it shows there.

    • @SlipTakc
      @SlipTakc 2 года назад +1

      @@RezaDorrani I just fixed my problem. the "content" should be "ContentBytes". :)

    • @RezaDorrani
      @RezaDorrani  2 года назад

      @@SlipTakc 👍

  • @GregZanone
    @GregZanone 3 года назад +2

    Hi Reza,
    Thanks for the great videos!
    1) What's the difference between using the compose action with json() and just using the parse json action?
    2) When I use your method I seem to be having problems getting Flow to recognize the array and allow me to use it in the approval action as an attachment. Not sure why.
    3) What do I do if I have more than one question with attachments that need to be approved? (Not multiple uploads in the same question -- multiple questions.)
    4) I seem to be getting the 'AttachmentContentNotValidBase64String' which is frustrating.

    • @RezaDorrani
      @RezaDorrani  3 года назад +1

      1) You could go either ways. Parse JSON will always expect a particular JSON schema. json() will just return the JSON equivalent of the data.
      2) I would have to look at your flow in action to provide guidance. Post your issue with screenshots on the forums at powerusers.microsoft.com/
      3) You loop through each question separately and load it in same attachments array
      4) Post your issue with screenshots on the forums at powerusers.microsoft.com/

  • @ammarwasif5337
    @ammarwasif5337 3 года назад +1

    Hi Reza, Thanks for these helpful videos. How can we have the audit log of these approvals for internal/external auditors. Further, if you could consider making a video on a scenario where initiator places a file on preapproval folder document library, approver receives the email, once approver approves the document, the files in preapproval folder are moved to another approved folder.

    • @RezaDorrani
      @RezaDorrani  3 года назад +1

      Track approval history - ruclips.net/video/lYE7NXTDPJY/видео.html
      I will add your approval scenario request to my backlog.

    • @ammarwasif5337
      @ammarwasif5337 3 года назад +1

      @@RezaDorrani Thank you so much boss.

  • @Billbear24
    @Billbear24 3 года назад +1

    Thank you!

  • @calvinmunisi346
    @calvinmunisi346 3 года назад +1

    Hi Reza, this is a great video as always. Is there a way to make the sharepoint list readonly when the approver needs to approve/reject so as to avoid making changes to the list item?

    • @RezaDorrani
      @RezaDorrani  3 года назад

      You would need to set permissions on the list item as the item moves through the approval process.

    • @calvinmunisi346
      @calvinmunisi346 3 года назад +1

      @@RezaDorrani thank you..

  • @gilafrancisco8939
    @gilafrancisco8939 2 месяца назад

    Thank you Raza for this video.
    Need your help. I followed this flow but the email approval notification (with attachment) is not working for me?
    What could be the reason?

    • @RezaDorrani
      @RezaDorrani  2 месяца назад

      I have not experienced the mentioned issue and hence not sure of the cause or fix for it.
      I will recommend checking or posting your issue on forums in case someone has experienced something similar
      community.powerplatform.com/

  • @vimbaimatanda3912
    @vimbaimatanda3912 2 года назад

    Great video! I have a question regarding your start and due dates in your list, how were they populated? Is there a video where you demonstrate this? I would like to create the same flow with attachments that runs from the date the request is submitted up until a particular due date, with email reminders.

    • @RezaDorrani
      @RezaDorrani  2 года назад

      Its a standard SharePoint list with 2 custom date columns added. I do not have a video showcase the steps.

  • @jmrendel98
    @jmrendel98 2 года назад

    Very helpful! I have been struggling, though, with what if the form results (and corresponding attachment) reside in sharepoint, not onedrive? Thank you!

    • @RezaDorrani
      @RezaDorrani  2 года назад

      I have done videos on those too. Check the Power Automate playlist on my channel.

  • @dhootsachin
    @dhootsachin 3 года назад +1

    Thank you for this video, I have one doubt here after Attachment added in approval level from get Microsoft forms. IF approvers, approved request then we want to send email to user that request has been approved. With this attachment. How can we send it. I am using send outlook email V2 option.
    When I attach attachment getting error.

    • @RezaDorrani
      @RezaDorrani  3 года назад +1

      The syntax for sending the attachments in email action is slightly different I believe. I would have to try it out to provide any guidance. I would recommend you post your issue/query with screenshots on the forums at powerusers.microsoft.com

    • @dhootsachin
      @dhootsachin 3 года назад

      @@RezaDorrani Posted in Microsoft community and every one provided reply using SharePoint not for Microsoft flow . How we can use Attachment in Approval process and same attachment need to sent on mail to user. if you provide guidance or video on this scenario that would be great help to us. thank you

    • @RezaDorrani
      @RezaDorrani  3 года назад

      @@dhootsachin I will add request to my backlog. I will need a lot more requests on this topic to make a video on this.

  • @koynabettawar1211
    @koynabettawar1211 3 года назад +1

    Sir, I have used tabbed forms, learnt from your video tabbed forms video. In that I want to disable and enable buttons based on check boxes. If check box is checked then button should be enable. Otherwise it should be disable. And the buttons are in the gallery, so what should I do sir? Please clear my doubt.

    • @RezaDorrani
      @RezaDorrani  3 года назад

      I would have to recreate your scenario to provide any guidance. Idea would be to set the formula on the display mode property of the button. Here you will set the mode based on the checkbox value. I would recommend you post your issue/query with screenshots on the forums at powerusers.microsoft.com

  • @christianneu1258
    @christianneu1258 3 года назад +1

    Thanks Reza for all your amazing videos & tips. Is it really recommendable to use approval attachments? What about the underlying Dataverse? Doesn't this approach consume an incredible amount of memory? Is there an "auto-cleanup" or something else to get rid-off already processed approval actions and their attachments? Otherwise, I see a big risk if such an approach is widely used in an organization.

    • @RezaDorrani
      @RezaDorrani  3 года назад +1

      Great question. As far as I know, all approvals related data, history etc. get deleted after 28 days or so. So my assumption is the attachments will also get deleted.

  • @krupakotecha9507
    @krupakotecha9507 3 года назад +1

    Hello, I had one question..The attachment gets uploaded on the mail but the attachment is not showing in Teams inbuilt "Approval Workflow". There it just pops up as an Notification. Is there a way that the attachment is visible from Teams " Approval Workflow"?

    • @RezaDorrani
      @RezaDorrani  3 года назад

      I don't believe that attachments currently show up in Teams.

    • @krupakotecha9507
      @krupakotecha9507 3 года назад

      @@RezaDorrani Okay..Thanks for answering. Also do you know what process to follow if we want to reupdate the attachment in the same process after manager's feedback?

    • @RezaDorrani
      @RezaDorrani  3 года назад

      @@krupakotecha9507 Depends on the use case. User would need access to update attachment wherever it is stored. You would then need to read the updated attachment and send it for approval.

  • @RM-cn4fm
    @RM-cn4fm 2 года назад

    Thanks for another great tutorial Reza. I have used this to design an Approval flow with files attached. It works great but for a small error. As my flow calls for emailing the original file back to responder who submitted the form I'm getting the below error at that stage :
    The API operation 'SendEmailV2' is missing required property 'emailMessage/Attachments/0/ContentBytes'.

    • @RezaDorrani
      @RezaDorrani  2 года назад

      I will have to look at your flow in action to provide guidance. I would recommend posting your issue/query with screenshots on the forums at powerusers.microsoft.com

    • @katymccormic6330
      @katymccormic6330 Год назад

      I changed the JSON from "content": to "contentBytes": and it corrected this error.

  • @analuciamartinez2939
    @analuciamartinez2939 2 года назад +1

    Hi, Reza, thank you for the video. I'm trying to attach a file that is uploded through a microsoft form, so i followed all your steps. However when y test my flow i get the following error in the approval: The request failed. Error code: 'InvalidRequestContent'. Error Message: 'The request content was invalid and could not be deserialized: 'Error converting value "name" and "content". Do you have any ideas on how to fix this?

    • @RezaDorrani
      @RezaDorrani  2 года назад

      MS Forms files are a different ball game. I have a video coming on them next week.

  • @Billbear24
    @Billbear24 3 года назад +1

    Rezza, would love to see a intro into adaptive cards in teams. I found a video from you speaking at SPC, wondering if you have time for an intro video?

    • @RezaDorrani
      @RezaDorrani  3 года назад +1

      It is in my list. Have been waiting for it to go out of preview (some actions are in preview with Teams connector). I will be covering daptive cards (very basic version) as part of my live series ruclips.net/video/SF6iF6aEhsA/видео.html

    • @Billbear24
      @Billbear24 3 года назад +1

      @@RezaDorrani i've added to my reminders. I'm inspired to start learning JSON now.

    • @RezaDorrani
      @RezaDorrani  3 года назад +1

      If RUclips live works well, I will cover many more topics including JSON.

  • @monashah4892
    @monashah4892 3 года назад +1

    Hi Reza, this video is great, it is exactly what I needed for the workflow I am working on. However, I did encounter a tiny issue (referring specifically to the 3rd scenario explained in this video - about attaching attachments to the approval email). In the event where attachments are uploaded, the flow works beautifully. If no attachments are uploaded in the MS Form then the flow fails. Do you have a fix for this?
    The flow I am working on is: It starts with MS form is submitted with or without attachments, sent to the approver (with attachments where applicable) if approved the information and is saved in the group SharePoint list and if the form is declined, it is not saved anywhere.

    • @RezaDorrani
      @RezaDorrani  3 года назад

      You can use the length expression to check if length of attachments array is more than 0.

    • @nohpetsrs
      @nohpetsrs 2 года назад

      @@RezaDorrani can you expand on this a bit more - I have similar issues when the user does not attach anything which in this use case attachments are optional

    • @RezaDorrani
      @RezaDorrani  2 года назад

      @@nohpetsrs Length is an expression in flow. Difficult to showcase steps here in chat.
      Check flow expressions video - ruclips.net/video/O97IdCbfMQI/видео.html

    • @tristynhuet-heart4056
      @tristynhuet-heart4056 Год назад

      I'm having a similar issue but the flow is failing when an attachment is included.

  • @vibingwithtori368
    @vibingwithtori368 2 месяца назад

    Great video, I ran into one issue. When I tried to test it, I got the error message "the execution of template action 'Apply_to_each' failed: the result of the evaluation 'foreach' expression '@outputs('Compse')' is of type 'Null'. The result must be a valid array.
    What does this mean? I've gone back through the video several times to see if I missed anything but I can't figure it out.

    • @RezaDorrani
      @RezaDorrani  2 месяца назад

      I have not experienced the mentioned issue and hence not sure what is the cause for it. I will recommend posting your issue with screenshots on the forums at powerusers.microsoft.com in case someone has experienced something similar.

  • @TracyGriffin-y1n
    @TracyGriffin-y1n 5 месяцев назад

    How would you add this to the JSON for Create Approval (I'm using one of your workflows where you said to use the two step process for Create and Wait). "attachments": @{variables('varAttachments')}, doesn't seem to work

    • @RezaDorrani
      @RezaDorrani  5 месяцев назад

      Honestly I dont remember either video now.

  • @annaadezati8400
    @annaadezati8400 2 года назад

    Hi Reza, very useful, would it be possible to describe how to send an email to another email once validation is performed with the attachments ?

    • @RezaDorrani
      @RezaDorrani  2 года назад

      Send an email to another email?

  • @Icy-uh8pc
    @Icy-uh8pc 2 месяца назад

    Hi Reza, thanks for your video, I nearly success but face the error like "The request failed. Error code: 'InvalidRequestContent'. Error Message: 'The request content was invalid and could not be deserialized: 'Could not find member 'ContentBytes' on object of type 'ApprovalsConnectorFileAttachment'. Path 'attachments[0].ContentBytes', line 1, position 508.'.'.". I think I have followed the steps and I have checked the output of get attachments content find nothing wrong but seem it shows the above error in the approval part with the attachment array...

    • @RezaDorrani
      @RezaDorrani  2 месяца назад

      I have not experienced the mentioned issue and hence not sure of the cause or fix for it.
      I will recommend checking or posting your issue on forums in case someone has experienced something similar
      community.powerplatform.com/

  • @abbasthegreat5
    @abbasthegreat5 2 года назад +1

    Thank you sir

  • @sumanupadhyay2030
    @sumanupadhyay2030 3 года назад +1

    Thanks Reza, Any limit to add number of approvers

    • @RezaDorrani
      @RezaDorrani  3 года назад

      I don’t believe there is any defined limit.

  • @Elai20248
    @Elai20248 4 месяца назад

    Hi Reza! How about if I want to add attachments from 2 different SharePoint list? Hope you can help me with this.

    • @RezaDorrani
      @RezaDorrani  4 месяца назад

      I don’t have a video reference on it and would have to try it out to provide guidance.
      I will recommend checking or posting your query on forums in case someone has done something similar powerusers.microsoft.com