cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

SharePoint Created By Email returns no value

Hello,

I use a SharePoint - file is created or modified (properties only) trigger for my flow. I want to send email to the creator of the SP item that was created/modified. The OOB Created By Mail option returns no value, resulting in a Bad Request on the Send Email step. Using last(split(...[Author]?[Claims])) is a workaround, but please check what is wrong with the OOB function.

2018-07-09 14_59_03-Edit your flow _ Microsoft Flow.jpg2018-07-09 14_59_24-Run History _ Microsoft Flow.jpg

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: SharePoint Created By Email returns no value

Hi @IvoYan,

 

According to your description, I assume that you want to send an email to user who created or modified the file.

 

I am not sure why you are using variables in your flow. Have you tried to you use the dynamic content Created by email or Modified by email in the To field? These two dynamic contents will return email address for the creator.

 

To test this issue, I created a flow likes below:

1.PNG

 

Please take a try with it and feel free reply if you need more help.

 

 

Best regards,

Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: SharePoint Created By Email returns no value

Hi @IvoYan,

 

According to your description, I assume that you want to send an email to user who created or modified the file.

 

I am not sure why you are using variables in your flow. Have you tried to you use the dynamic content Created by email or Modified by email in the To field? These two dynamic contents will return email address for the creator.

 

To test this issue, I created a flow likes below:

1.PNG

 

Please take a try with it and feel free reply if you need more help.

 

 

Best regards,

Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Highlighted
New Member

Re: SharePoint Created By Email returns no value

Hello @v-yamao-msft,

I re-tested this both ways - with variable and without - I confirm now it works OK both ways.

 

Best Regards!

Helpful resources

Announcements
firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Users online (9,404)