I am using SharePoint 2013. I hace created a workflow on a list. In this workflow I have created a "send email" action. I would like to add current user information like:

Full name

How can this be done?

enter image description here


Consume SharePoint 2013 REST API from a SharePoint Designer Workflow to retrieve user details from User Information List

Solution description


1)Create and initialize variable for storing REST endpoint Url enter image description here

Note: to retrieve user details (Email, Department and etc.) the following REST query is used:

/_api/Web/SiteUserInfoList/items?$filter=(ID eq <UserId>)

2)Utilize Call HTTP Web Service action to call SharePoint REST service enter image description here

Follow this article that describes how to use Call HTTP Web Service action.

| improve this answer | |

If you are working with SharePoint Designer Workflows, you can select Data Source as "User Profiles" and in the Field from Source, you have many options like selecting Department, Account Name, First Name, Last Name etc.

Workflow Data Source


User Profile Data in SharePoint Designer Workflows

PS: This is for SharePoint 2010, but hope it will be same for SharePoint 2013.

| improve this answer | |
  • But I need to implement the mapping. You can see it in your printscreen: "Find the List Item". How can I map the current user? – Ola May 5 '14 at 11:57
  • Workflow Context: Initiator should give you current user – Arsalan Adam Khatri May 5 '14 at 12:44
  • 1
    Confirmed it is working in SP2013 too. – Mark L Dec 16 '14 at 7:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.