I have created a Microsoft Forms with Upload File attachment and then added the actions of "When a new response is submitted" -> "Get response details"-> "Parse JASON" -> "Get File content using path" -> "Send and email" to include the attachment or as a link in an email. However, I found that if there is no attachment in the Forms, the flow would be failed.
Can I have some advices on how to fix this issue? Is there a condition action that I have to add? Thanks.
Solved! Go to Solution.
I just modified the flow a little bit as a I want to have the attachment link in the "Create a Work Item" which is to create a work item in DevOps.
Here is the screen shot:
@Positano1 could you try by leaving the value empty
@ChristianAbataBtw, do you have any idea to attach an attachment to DevOps ? I'm actually creating a feature in DevOps once the form is submitted with attachment. However, the work item can be created in DevOps but no attachment.
Now I only put the attachment as a link in the Description box in the work item as a alternative solution.
Thanks so much for your advice.
mm @Positano1 we need the link becouse as you have, you need to upload the image to get the content file and then adding as attachment.
Please try by following this example.
@ChristianAbataAppreciate your flow guidance. Since I only have one field "Attachments" in the form, can you advise if my flow setting is correct?
And using the schema with empty content
yes @Positano1 but if you want to use the value in compose into get file content (One Drive) you need to drag the action inside apply to each is the same for devops action.
Hi @Positano1 ,
Please check the same thread and see if it helps:
@ChristianAbata @Positano1 I have similar requirement to create an attachment in ADO when Microsoft Form is submitted. I guess there is no direct attachment option available. Is there any way we could do this. I tried using "Send an HTTP request to Azure Devops" but is throwing an error.I believe the parameters what is provided is wrong. Could you please help me getting the correct logic for attachment.
This is a project requirement and need some quick assistance. Appreciate your support. Thanks in advance.
We are excited to announce the launch of Power Virtual Agents Community. Check it out now!
We've updated and improved the layout and uploading format of the Power Automate Cookbook!
Fill out a quick form to claim your user group badge now!