Hi.please tell me how to use flow.
I use Flow that "Send an email when a new item is created in SharePoint.".
I am sending mail when a file is added in the document.
I would like to add document properties, such as updater 1 line text, to the mail body. Since the file name etc was prepared, it was easy to display, but I do not know about other items.
Thank you.
I created a flow. Creating the file and changing its properties did not trigger it.
Hi @masahito,
Do you want to add other custom column values within your SharePoint library into your email body?
Do you use the "Send an email when a new item is created in SharePoint" built-in template to create your flow? Do you customize your flow based on this built-in template?
You could not set value for these column columns within your SharePoint library when the file is uploading to your library, you could only set value for these custom columns after the new file is uploaded to your SharePoint library. In addition, I think there is something wrong with the trigger that you used within your flow.
I have created a SharePoint library on my side and the data structure of it as below:
I have made a test on my side and please take a try with the following workaround:
@equals(triggerBody()?['Created'], triggerBody()?['Modified'])
Image reference:
The flow works successfully as below:
Note: The email would be triggered when you set value for these custom columns (properties) within your SharePoint library.
Best regards,
Kris
Hi,Mr.ScottShearer
Sorry, my system is in Japanese.
I want to display any item by e-mail.
(Example creator, updater, text entered by user)
Can you post a screen shot of your Flow?
Also, can you say what properties you want to include in the email?
WarrenBelz
146,524
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,906
Most Valuable Professional