I am trying to use the lookup input component in a flow to find a user record by email.

Lookup component setup screenshot below where EmailAPIName = Email and UserAPINameConst = User and are both of the data type Constant.

enter image description here

No records are showing up and under the lookup it's displaying the following message under the lookup:

'Select an option or remove the search term'

I can pull up user records in dev console through SOQL with no problem:

select id from user where email = '[email protected]'

Activated Flow with Lookup field:

enter image description here

The flow is being displayed on a lightning community page and as an admin of the community page, I not seeing any results on the flow.

What gives?

  • Have you tried using this Flow in an internal (non-Communities) context? Wondering if this could be an issue of user visibility specifically within Communities. Check this article: help.salesforce.com/… Jan 2, 2020 at 17:10
  • Same issue with lookup on lightning page within Service Console as well.
    – S.B.
    Jan 2, 2020 at 17:27
  • Tried it with a case object and subject field as well, inside and outside of communities same results.
    – S.B.
    Jan 2, 2020 at 17:35
  • Can you clarify what exactly you’re trying to do with this component? Do you want to search for a user by email address? I don’t think this component does what you expect it to, but there might be another we can recommend. Jan 4, 2020 at 7:44

2 Answers 2


Lookup field must actually be a field of lookup type.

To query for a user object for example, on the lookup component you could select an Object API Name of value "Case" and Field API Name of value "CreatedById" and this appears to perform a SOSL lookup of all fields on the User Object since CreatedById is of field type: Lookup(User).


I found that the lookup component was case sensitive on the object and field API name:

Lookup component deatil

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .