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

Get the email address of the user that created a folder

When a file is uploaded to a folder in a document library I want to email the user that created the folder that a new file has been added. Is it possible to get the email address of the user that created the folder in a flow? 

5 REPLIES 5
Highlighted
Super User
Super User

Re: Get the email address of the user that created a folder

yes you can @jpot125  please see this example:

sise.PNG



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA
Highlighted
Super User
Super User

Re: Get the email address of the user that created a folder

Hi @jpot125 

 

@ChristianAbata  @jpot125  is asking for user who created the folder not the file who created.

 

I did tried this and challenged me. Good question 🙂 Finally I got it.

 

Here is the flow steps you want.

 

image.png

 

image.png

 

Above schema is as follows: Copy and paste this.

 

{
    "type""object",
    "properties": {
        "d": {
            "type""object",
            "properties": {
                "__metadata": {
                    "type""object",
                    "properties": {
                        "id": {
                            "type""string"
                        },
                        "uri": {
                            "type""string"
                        },
                        "etag": {
                            "type""string"
                        },
                        "type": {
                            "type""string"
                        }
                    }
                },
                "FirstUniqueAncestorSecurableObject": {
                    "type""object",
                    "properties": {
                        "__deferred": {
                            "type""object",
                            "properties": {
                                "uri": {
                                    "type""string"
                                }
                            }
                        }
                    }
                },
                "RoleAssignments": {
                    "type""object",
                    "properties": {
                        "__deferred": {
                            "type""object",
                            "properties": {
                                "uri": {
                                    "type""string"
                                }
                            }
                        }
                    }
                },
                "AttachmentFiles": {
                    "type""object",
                    "properties": {
                        "__deferred": {
                            "type""object",
                            "properties": {
                                "uri": {
                                    "type""string"
                                }
                            }
                        }
                    }
                },
                "ContentType": {
                    "type""object",
                    "properties": {
                        "__deferred": {
                            "type""object",
                            "properties": {
                                "uri": {
                                    "type""string"
                                }
                            }
                        }
                    }
                },
                "GetDlpPolicyTip": {
                    "type""object",
                    "properties": {
                        "__deferred": {
                            "type""object",
                            "properties": {
                                "uri": {
                                    "type""string"
                                }
                            }
                        }
                    }
                },
                "FieldValuesAsHtml": {
                    "type""object",
                    "properties": {
                        "__deferred": {
                            "type""object",
                            "properties": {
                                "uri": {
                                    "type""string"
                                }
                            }
                        }
                    }
                },
                "FieldValuesAsText": {
                    "type""object",
                    "properties": {
                        "__deferred": {
                            "type""object",
                            "properties": {
                                "uri": {
                                    "type""string"
                                }
                            }
                        }
                    }
                },
                "FieldValuesForEdit": {
                    "type""object",
                    "properties": {
                        "__deferred": {
                            "type""object",
                            "properties": {
                                "uri": {
                                    "type""string"
                                }
                            }
                        }
                    }
                },
                "File": {
                    "type""object",
                    "properties": {
                        "__deferred": {
                            "type""object",
                            "properties": {
                                "uri": {
                                    "type""string"
                                }
                            }
                        }
                    }
                },
                "Folder": {
                    "type""object",
                    "properties": {
                        "__deferred": {
                            "type""object",
                            "properties": {
                                "uri": {
                                    "type""string"
                                }
                            }
                        }
                    }
                },
                "LikedByInformation": {
                    "type""object",
                    "properties": {
                        "__deferred": {
                            "type""object",
                            "properties": {
                                "uri": {
                                    "type""string"
                                }
                            }
                        }
                    }
                },
                "ParentList": {
                    "type""object",
                    "properties": {
                        "__deferred": {
                            "type""object",
                            "properties": {
                                "uri": {
                                    "type""string"
                                }
                            }
                        }
                    }
                },
                "Properties": {
                    "type""object",
                    "properties": {
                        "__deferred": {
                            "type""object",
                            "properties": {
                                "uri": {
                                    "type""string"
                                }
                            }
                        }
                    }
                },
                "Versions": {
                    "type""object",
                    "properties": {
                        "__deferred": {
                            "type""object",
                            "properties": {
                                "uri": {
                                    "type""string"
                                }
                            }
                        }
                    }
                },
                "FileSystemObjectType": {
                    "type""integer"
                },
                "Id": {
                    "type""integer"
                },
                "ServerRedirectedEmbedUri": {},
                "ServerRedirectedEmbedUrl": {
                    "type""string"
                },
                "ContentTypeId": {
                    "type""string"
                },
                "ComplianceAssetId": {},
                "Title": {
                    "type""string"
                },
                "Last_x0020_Checked_x0020_By_x0020_Flow": {},
                "MediaServiceAutoTags": {},
                "MediaServiceOCR": {},
                "DueDate": {},
                "Country": {},
                "PersonId": {},
                "PersonStringId": {},
                "MyPhoto": {},
                "IsDoc": {},
                "Created": {
                    "type""string"
                },
                "ID": {
                    "type""integer"
                },
                "AuthorId": {
                    "type""integer"
                },
                "Modified": {
                    "type""string"
                },
                "EditorId": {
                    "type""integer"
                },
                "OData__CopySource": {},
                "CheckoutUserId": {},
                "OData__UIVersionString": {
                    "type""string"
                },
                "GUID": {
                    "type""string"
                }
            }
        }
    }
}
 
image.png

 

Above schema is as follows: Copy and paste this.

 

{
    "type""object",
    "properties": {
        "d": {
            "type""object",
            "properties": {
                "__metadata": {
                    "type""object",
                    "properties": {
                        "id": {
                            "type""string"
                        },
                        "uri": {
                            "type""string"
                        },
                        "etag": {
                            "type""string"
                        },
                        "type": {
                            "type""string"
                        }
                    }
                },
                "FirstUniqueAncestorSecurableObject": {
                    "type""object",
                    "properties": {
                        "__deferred": {
                            "type""object",
                            "properties": {
                                "uri": {
                                    "type""string"
                                }
                            }
                        }
                    }
                },
                "RoleAssignments": {
                    "type""object",
                    "properties": {
                        "__deferred": {
                            "type""object",
                            "properties": {
                                "uri": {
                                    "type""string"
                                }
                            }
                        }
                    }
                },
                "AttachmentFiles": {
                    "type""object",
                    "properties": {
                        "__deferred": {
                            "type""object",
                            "properties": {
                                "uri": {
                                    "type""string"
                                }
                            }
                        }
                    }
                },
                "ContentType": {
                    "type""object",
                    "properties": {
                        "__deferred": {
                            "type""object",
                            "properties": {
                                "uri": {
                                    "type""string"
                                }
                            }
                        }
                    }
                },
                "GetDlpPolicyTip": {
                    "type""object",
                    "properties": {
                        "__deferred": {
                            "type""object",
                            "properties": {
                                "uri": {
                                    "type""string"
                                }
                            }
                        }
                    }
                },
                "FieldValuesAsHtml": {
                    "type""object",
                    "properties": {
                        "__deferred": {
                            "type""object",
                            "properties": {
                                "uri": {
                                    "type""string"
                                }
                            }
                        }
                    }
                },
                "FieldValuesAsText": {
                    "type""object",
                    "properties": {
                        "__deferred": {
                            "type""object",
                            "properties": {
                                "uri": {
                                    "type""string"
                                }
                            }
                        }
                    }
                },
                "FieldValuesForEdit": {
                    "type""object",
                    "properties": {
                        "__deferred": {
                            "type""object",
                            "properties": {
                                "uri": {
                                    "type""string"
                                }
                            }
                        }
                    }
                },
                "File": {
                    "type""object",
                    "properties": {
                        "__deferred": {
                            "type""object",
                            "properties": {
                                "uri": {
                                    "type""string"
                                }
                            }
                        }
                    }
                },
                "Folder": {
                    "type""object",
                    "properties": {
                        "__deferred": {
                            "type""object",
                            "properties": {
                                "uri": {
                                    "type""string"
                                }
                            }
                        }
                    }
                },
                "LikedByInformation": {
                    "type""object",
                    "properties": {
                        "__deferred": {
                            "type""object",
                            "properties": {
                                "uri": {
                                    "type""string"
                                }
                            }
                        }
                    }
                },
                "ParentList": {
                    "type""object",
                    "properties": {
                        "__deferred": {
                            "type""object",
                            "properties": {
                                "uri": {
                                    "type""string"
                                }
                            }
                        }
                    }
                },
                "Properties": {
                    "type""object",
                    "properties": {
                        "__deferred": {
                            "type""object",
                            "properties": {
                                "uri": {
                                    "type""string"
                                }
                            }
                        }
                    }
                },
                "Versions": {
                    "type""object",
                    "properties": {
                        "__deferred": {
                            "type""object",
                            "properties": {
                                "uri": {
                                    "type""string"
                                }
                            }
                        }
                    }
                },
                "FileSystemObjectType": {
                    "type""integer"
                },
                "Id": {
                    "type""integer"
                },
                "ServerRedirectedEmbedUri": {},
                "ServerRedirectedEmbedUrl": {
                    "type""string"
                },
                "ContentTypeId": {
                    "type""string"
                },
                "Title": {
                    "type""string"
                },
                "ComplianceAssetId": {},
                "Name": {
                    "type""string"
                },
                "EMail": {
                    "type""string"
                },
                "OtherMail": {},
                "MobilePhone": {},
                "Notes": {},
                "SipAddress": {
                    "type""string"
                },
                "IsSiteAdmin": {
                    "type""boolean"
                },
                "Deleted": {
                    "type""boolean"
                },
                "UserInfoHidden": {
                    "type""boolean"
                },
                "Picture": {
                    "type""object",
                    "properties": {
                        "__metadata": {
                            "type""object",
                            "properties": {
                                "type": {
                                    "type""string"
                                }
                            }
                        },
                        "Description": {
                            "type""string"
                        },
                        "Url": {
                            "type""string"
                        }
                    }
                },
                "Department": {},
                "JobTitle": {},
                "FirstName": {
                    "type""string"
                },
                "LastName": {
                    "type""string"
                },
                "WorkPhone": {},
                "UserName": {
                    "type""string"
                },
                "WebSite": {},
                "SPSResponsibility": {},
                "Office": {},
                "SPSPictureTimestamp": {
                    "type""string"
                },
                "SPSPicturePlaceholderState": {},
                "SPSPictureExchangeSyncState": {},
                "UserExpiration": {},
                "UserLastDeletionTime": {},
                "ID": {
                    "type""integer"
                },
                "Modified": {
                    "type""string"
                },
                "Created": {
                    "type""string"
                },
                "AuthorId": {
                    "type""integer"
                },
                "EditorId": {
                    "type""integer"
                },
                "OData__UIVersionString": {
                    "type""string"
                },
                "Attachments": {
                    "type""boolean"
                },
                "GUID": {
                    "type""string"
                }
            }
        }
    }
}
 
Finally extract the email id
 
image.png
 
Here is my run result.
 
image.png
 
Hope this is helpful and if you have any questions please let me know.
 
Thanks


Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Highlighted
Super User
Super User

Re: Get the email address of the user that created a folder

hi @abm  great! thanks for correction, sometimes is difficult for me, I'm from spanish Country and I'm in the process to learn english.



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA
Highlighted
Super User
Super User

Re: Get the email address of the user that created a folder

Hi @ChristianAbata 

 

Thats fine. No worries. Stay safe and healthy.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Highlighted
Community Support
Community Support

Re: Get the email address of the user that created a folder

 

Hi @jpot125 ,

 

Please try to refer to the method provided by abm to achieve your requirements.

Besides, you could also try the following method to get the email of the creator of the folder.

Image reference:

74.PNG

 

Best Regards,

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

Helpful resources

Announcements
firstImage

Now Live: 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 (7,155)