Select to view content in your preferred language

Survey123

187
3
Jump to solution
02-14-2025 01:06 PM
DTH
by
New Contributor

Hi everyone!, I've been trying to create a Power Automate's flow to get attached PDF's from a survey123 fom responses and send them to a OneDrive's folder, but I just can't get it to work, I'd be really grateful if someone who got through this before could tell me what to do.screenshot.png

0 Kudos
1 Solution

Accepted Solutions
abureaux
MVP Frequent Contributor

Can do.

Disclaimer: I loath that "new designer" (v3) in Power Automate. It has a tendency to break things in my experience, and waste far too much screen space. I always work in the v2 space.

For the HTTP step, a token shouldn't be necessary (at least if you are using the new actions).

Here are the minimum steps required to save to OneDrive (technically the Do Until isn't mandatory, but I very highly recommend you add it as a minimum):

abureaux_0-1740154695274.png

abureaux_2-1740154751344.png

abureaux_3-1740154774466.png

And because my anxiety goes up not seeing any error handling, here is a bonus:

abureaux_5-1740154996918.png

Using "Configure run after" (click the ellipses for Scope 2), have the second Scope trigger on an error. Example below:

abureaux_4-1740154919730.png

All that is required of that email is you add this to the body (Use the "Expression" option, and paste this in). This will give you a direct link to the failed run:

concat(
    'https://emea.flow.microsoft.com/manage/environments/',
    workflow()['tags']['environmentName'],
    '/flows/',
    workflow()['name'],
    '/runs/',
    workflow()['run']['name']
)

 

View solution in original post

3 Replies
abureaux
MVP Frequent Contributor

Can do.

Disclaimer: I loath that "new designer" (v3) in Power Automate. It has a tendency to break things in my experience, and waste far too much screen space. I always work in the v2 space.

For the HTTP step, a token shouldn't be necessary (at least if you are using the new actions).

Here are the minimum steps required to save to OneDrive (technically the Do Until isn't mandatory, but I very highly recommend you add it as a minimum):

abureaux_0-1740154695274.png

abureaux_2-1740154751344.png

abureaux_3-1740154774466.png

And because my anxiety goes up not seeing any error handling, here is a bonus:

abureaux_5-1740154996918.png

Using "Configure run after" (click the ellipses for Scope 2), have the second Scope trigger on an error. Example below:

abureaux_4-1740154919730.png

All that is required of that email is you add this to the body (Use the "Expression" option, and paste this in). This will give you a direct link to the failed run:

concat(
    'https://emea.flow.microsoft.com/manage/environments/',
    workflow()['tags']['environmentName'],
    '/flows/',
    workflow()['name'],
    '/runs/',
    workflow()['run']['name']
)

 

DTH
by
New Contributor

Thank you so much for your reply but I already solved it, just needed to put a token along with the URL inside the HTTP action. I didn't know about that error handling function, it might be useful for me later. Again, I really appreciate your help.

0 Kudos
abureaux
MVP Frequent Contributor

If something doesn't make sense, or doesn't seem to work for you, just let me know and we can work through the specific error.

0 Kudos