User guide · Chapter 17
Native Flow Lookup
Native Flow Lookup is a search box for records on a Flow screen. The user types, sees the matching records, and picks one. The Id of the record goes into a Flow variable.
When to use it
- Use it to pick one record from a list you prepare in the Flow, such as the contacts of a rental or a set of projects.
- The user searches only the records in that list.
- Use Native Flow Picklist for a short list of fixed values.
- Use Native Mobile Data Table when the user needs to compare several details of each record.
Operators
Operator sets how the typed text is matched to the record names. Matching ignores upper and lower case.
| Operator | API value | What matches | Example |
|---|---|---|---|
| Equals | equals | Names that are the same as the typed text. | Typing Smith finds Smith only. |
| Not Equals | notEquals | Every name except the typed text. | Typing Smith finds everyone but Smith. |
| Starts With (default) | startsWith | Names that begin with the typed text. | Typing Sm finds Smith and Smart. |
| Contains | contains | Names that have the typed text anywhere. | Typing mit finds Smith. |

- The typed text, a full name
- The one record that matches

- The typed text, a full name
- The open list shows other records

- The typed text, part of a name
- The open list with one record
Add it to a screen
- Add a Get Records element for the object. Add a filter to remove records you do not need. Choose fields, and pick the field to search and show as the second field. For contacts, pick Name.
- In Flow Builder, open the Screen element. In the Components list, find Native Flow Lookup.

Flow Builder. Find Native Flow Lookup. - Native Flow Lookup in the Components list
- Drag it onto the screen.

Flow Builder. The Lookup on the canvas. - Native Flow Lookup on the screen
- In the settings panel, type a Label. Pick the Get Records element in Collections. Set Operator and Navigation.

Flow Builder. The four settings. - Label
- Collections
- Operator
- Navigation
- Store the output Selected in a Text variable.
Settings
| Setting | API name | Type | Default | What it does |
|---|---|---|---|---|
| Label | label | Text | Native Flow Lookup | The text above the search box. |
| Collections | collection | Text, set by the panel | None | The Get Records element that holds the records to search. The second field is the one shown and searched. |
| Operator | operator | Text | Starts With | How typed text is matched. Equals, Not Equals, Starts With, or Contains. |
| Navigation | navigation | Text | Not set in the panel; choose Next or None | None keeps the user on the screen. Choose Next if you want the Flow to move on as soon as a record is picked. An untouched component does not move on by itself. |
Outputs
| Output | API name | Type | Direction | Description |
|---|---|---|---|---|
| Selected | selected | Text | Output | The Id of the record the user picked. Blank when the user clears the box. |
Limits
- The Lookup searches the records in the collection. It does not search the whole org.
- Set Collections. Without it the list stays empty.
- The list updates a moment after the user stops typing.
- The list shows about 200 px of results and scrolls.
- The box shows the name. Selected holds the Id.
- The settings panel offers None and Next. Set Next or None explicitly.
- If Navigation is somehow set to Finish, the Flow ends, but Finish is not in the panel.
Worked example: select a contact
The Multi Rental process Flow lets the user pick a contact on its View_Contacts screen.
| Setting | Value |
|---|---|
| Label | Select Lookup |
| Collections | Get_Rental_Contacts (Contact, searched by Name) |
| Operator | Starts With |
| Navigation | None |
- Open the screen. The Lookup is empty.

Before. Desktop. No contact is chosen. - The Lookup box, Select Lookup

Before. Phone. No contact is chosen. - The Lookup box, Select Lookup
- Type two or three letters. The matching records appear.

Desktop. Matching records. This test screen searches Rentables. - The typed text, 16 f
- The open list with one record, 16 ft Box Truck

Phone. Matching records on a phone. - The typed text, 16 f
- The open list with one record, 16 ft Box Truck
- Pick a contact. The name fills the box and the Id goes into Selected.

After. Desktop. The contact is chosen. - The chosen name fills the box

After. Phone. The contact is chosen. - The chosen name fills the box
- Use Selected in the next element, for example a Get Records element that finds the rentals of that contact.