โ04-18-2022 08:13 PM
I am working on a SurveyMonkey integration that is looking to download any documents (typically PDFs) that are loaded into response answers. I'm able to extract a"download_URL" value using "https://api.surveymonkey.net/v3/surveys/{Survey ID Datapill}/responses/{Respondent ID}/details?simple=true".
The document download URL retrieved is NOT an API endpoint, but rather can be navigated to for a direct automatic download (provided a user session is active).
When testing this using the "Get Files from URL" utility connector, the step does not error, but when I try and use the file contents to upload to another platform, I recieve an error that should not occur if the file was downloaded correctly initially.
"Get Files from URL" says it requires a publicly-accessible URL, but has anyone ever used it to extract a file from a platform you were previously authenticated for within that recipe? If not, any recommendations on how to download a file from an authenticated app that does not provide an API GET endpoint for that file.
โ04-18-2022 08:19 PM
What's the question?
โ04-18-2022 08:27 PM
Can "Get Files from URL" utility connector be used to extract a file from a platform you were previously authenticated for within that recipe? If not, any recommendations on how to download a file from an authenticated app that does not provide an API GET endpoint for that file. Just trying to see if I missed an outside the box possibility.
โ04-18-2022 08:30 PM
Maybe an idea to embed some python which can download a file from a url.
The embed that python in a recipe.
Idea?
โ04-18-2022 08:36 PM
Definitely a possibility. I have been discussing that with my team, but wanted to see if there were any other known solutions before creating our own ruby or python script.