Copy link to clipboard
Copied
Hi. I'm using an Power Automate flow that saves the completed Adobe Sign documents to SharePoint. It works well but I'd like to limit the scope so the flow only saves the documents where I am the sender, not the ones that I'm a signer of. I couldn't figure how to create a trigger for that requrement. Can this be done? Thanks.
Copy link to clipboard
Copied
Hi @CN,
You can try adding a condition in your flow based on the sender's email like this
Thanks & Regards,
Kiran Mohan
Copy link to clipboard
Copied
I will give that a try. Thank you.
Copy link to clipboard
Copied
A more advanced but more efficient wy is to use a condition on the trigger. By using a condition in the flow the triggered is triggered for each qualifying event, so there may be a fair few events triggering this flow without the flow doing anything.
open the trigger settings menu by clicking the 3 dots:
Add the following trigger condition replacing the right email address:
@Deleted User(triggerBody()?['agreement']?['senderEmail'],'myexample@example.com')
This way the trigger only triggers when the agreement has the right sender. Probbaly not a bad idea to add a note to the trigger that this condition exists for your futrure self!