Hello, I have some problems with power automate flow.
I have Microsoft form with users can upload pdf file to the form. I want to save pdf file to Sharepoint site.
My problem is when I get link of pdf it store in my own path in my onedrive. How can I store pdf files in Sharepoint site.
Please follow the below steps.
Begin by utilizing the "Get response details" action in Microsoft Forms. Select your Microsoft Forms form name, specify the response ID, and obtain the output as a connector object.
Proceed to use the "Convert JSON to custom object" action. Here, you can input the connector object and retrieve file details such as the file name and its current storage location.
Extract the file name from the custom object, as illustrated in the screenshot below.
If your file contains whitespace, it will be represented as "%20". These occurrences should be replaced with whitespace.
Next, attempt to retrieve the OneDrive file content by providing the OneDrive location. The file content will be returned as a response.
Lastly, execute the SharePoint "create item" action. Provide the file content, and it will create the file in the configured SharePoint folder.
Hope it helps!!
Thanks,
Deenuji Loganathan 👩‍💻
Automation Evangelist 🤖
Follow me on LinkedIn 👥
-------------------------------------------------------------------------------------------------------------
If I've helped solve your query, kindly mark my response as the solution ✔ and give it a thumbs up!👍 Your feedback supports future seekers 🚀
HI @Mokegubshook ,
Once stored in OneDrive take the file content of that file and create the file into SharePoint folder.
If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.
Regards,
Riyaz