Hello, we are wanting to create a Task whenever we upload a document to a Contact's sharepoint folder. I'm thinking we will use power automate. The Task will have a link to the sharepoint document in a URL field. Does anyone have a break down of the specifics of going about this? Thank you very much in advance.
Thank you! This was exactly what we needed - incredibly helpful
Hi Ben T,
If you use the Default Site to upload file, you can get it form folder path/file link/full path. However, it isn't GUID format and you need to convert it to GUID.
For example, in my case, I can get it by this expression: substring(split(triggerOutputs()?['body/{Path}'],'_')[1],0,sub(length(split(triggerOutputs()?['body/{Path}'],'_')[1]),1))
Result:
Then you can convert it to GUID, please refer to this blog:
community.dynamics.com/.../power-automate-convert-a-string-to-guid
Steve,
Thank you for your response. Sorry I did not mention this in the OP, but we would need the task associated with the contact whose Sharepoint folder we are adding a document to. I am thinking it may be more practical to simply update a URL field on the contact with the file URL. I am wondering how I can get the Contact ID so I can update the contact form with the "link to time." Do you have any thoughts on this? This would be a hugely helpful thing if we can do it.
Hi Ben T,
Please try the following flow:
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,902 Super User 2024 Season 2
Martin Dráb 229,336 Most Valuable Professional
nmaenpaa 101,156