Lookup tables
Lookup tables map a value, such as a state code, to reference data your workflow needs, such as a sales territory or owner.
What lookup tables are for
A lookup table holds reference data your workflows need but your CRM records do not, for example State to Territory, Industry to Owner, Member to Slack ID, or Deal stage to Owner and SLA. A workflow gives Find lookup table row one value, such as a state code, and gets back the matching row's other values, such as the territory.
- A table has fields (columns) and rows. Each row has one value per field.
-
Tables live on the Neon Deer platform, under
Tablesin the Automations app. Workflows can read them but never change them: there is no step that writes to a table. -
Viewing, creating, editing, importing, and exporting tables needs an organization admin or a member with the
Manage Advanced Workflow Automationspermission. Others seeAn app admin can manage lookup tables.Roles come from your Neon Deer organization; an Attio role grants nothing here. - Free and trial organizations can create 5 custom tables with 50,000 rows across those tables. Synced Workspace members and status tables do not count toward these allowances. Paid includes Unlimited custom tables and rows. Using lookup tables in workflows needs Paid or an active trial. See plan allowances.
Filter rows in Neon Deer
Use comparisons supported by the column's type to narrow the table. Exclusions such as does not contain and is not do not match empty cells, blank text, or empty lists. Use is empty to find those rows explicitly. A date filter can also exclude a particular date with is not.
These are the table's visual filters. The public row-query API keeps its own equality and list-membership format; do not send the visual operator labels as API parameters.
Use lookup tables from your own application
Server applications can read and write lookup-table rows through the Neon Deer API, with separate permissions for table settings. An organization admin creates an API key in Settings → API access and chooses its permissions, tables, and fields. Lookup-table API access is available on Paid and during an active trial. The Better Tasks API and MCP connector are also generally available. Other REST API families require alpha access.
Video walkthrough
Watch how lookup tables and subflows work together to build a reusable Attio workflow.
Finding a table
Search the tables list by name or use its Source filter to narrow the list. Each table shows its Lookup keys, the fields
a workflow can use to find a row. Move through the list with the numbered pages, then open the table you need.
Each table has Data and Fields tabs. Data holds the rows; Fields controls each column's type, lookup key, and workflow output.
Creating a table
Open Create lookup table and choose Blank table, Statuses from Attio, or
Workspace members. No type is selected until you choose one. Name the table in the same panel, complete the selected
type's fields, and select Create table. CSV import and the table library provide other starting points, described below.
Blank table
Enter Table name, First field, and its Type. Use this field for lookups is on by
default, which makes the first field the one workflows find rows by. If the lookup cannot be turned on, the table is still created and
shows Table created. Check its lookup field in Fields before adding rows. Submitting the form twice does not create a
second table.
Import CSV
- Upload a
CSV fileand selectContinue. Use a UTF-8 CSV with field names in the first row.Table namedefaults to the file name. - Pick
Find rows by. This column becomes the lookup field, so every row needs a different, non-empty value in it. - Check each column's type. The suggested type tries yes or no, number, date, and email, and otherwise text. Numbers with leading zeros, such as ZIP codes, stay text.
- Select
Check rowsand review the preview. Every row is checked before a table is created. Fix any reported problems, then check the file again. SelectCreate tablewhen the preview is ready. The table opens as its rows start importing in the background; follow its progress before using it in a workflow.
Field keys from a CSV are column_1, column_2, and so on, in column order. The key is what a workflow sees
as the output key (see How outputs reach workflows). Large files can be uploaded in one import.
If an import cannot finish, read its outcome before retrying: completed rows can remain. Correct any reported file problems,
then import into the existing table to match those rows rather than creating another table.
Browse table library
Preview and Add table copy a starter table into your organization. Ready-made tables: U.S. states &
Canadian provinces, U.S. & Canada territories, Countries, Worldwide territories, Free email domains, US ZIP codes to metro areas,
US ZIP codes in major metros, Canadian postal prefixes to metro areas, NAICS industries, LinkedIn industries, and LinkedIn legacy
industry names. The library also has templates for uses such as owner routing, value mapping, external IDs, and stage mappings, and the
synced Workspace members table and status tables.
Copied starter tables are independent: a starter never updates your copy later. Their fields start unshared, so share the ones your workflows need (see Sharing fields with workflows). Synced tables follow the Attio data described below.
Workspace members table
-
Choose
Workspace memberswhen creating a table. It opens already filled with your Attio members. The synced rows are found byWorkspace member IDorEmail. Name, email, avatar, access level, and standing are filled by the sync and are read-only. -
Slack member IDis the one field you edit (it must look like a Slack ID, starting with U or W).Slack mentionis computed from it as<@ID>. Slack member ID starts unshared; the synced fields start shared. -
The platform tries to sync the roster every hour. If it cannot read your members, the table is left as it was rather than
emptied, so check
Roster verified atbefore relying on it being current. Members cannot be added or deleted here; that happens in Attio.
Mention Slack users with lookup tables
Watch a practical example of using a lookup table to find the right Slack user to mention in an Attio workflow. The Workspace members table connects Attio members with their Slack IDs and mentions.
Status tables
A status table mirrors one Attio status attribute, such as Deals > Stage. Each status becomes a row, in the order shown in Attio. Add metadata such as an owner or SLA to each row, then read it in a workflow with Find lookup table row.
Create a status table
- Open
Create lookup tablein Neon Deer's Automations area and chooseStatuses from Attio. - Choose
ObjectorList, then select the object or list to read from. - Choose a
Status attributeand selectCreate table. Only status attributes are offered.
Create one table per status attribute. Choosing the same attribute again opens the existing table.
Synced and editable columns
| Column | Source | What it contains |
|---|---|---|
| Status | Attio, read-only | The status name. |
| Status ID | Attio, read-only | The status's identifier. The default lookup field. |
| Archived | Attio, read-only | Whether the status is archived or has been removed from Attio. |
| Target time in status (days) | Attio, read-only | The target duration in days. Empty if Attio has no target or the duration uses months or years. |
| Owner | You edit | An Attio workspace member. |
| SLA (days) | You edit | Your own time allowance for this status, in days. |
Owner and SLA (days) start empty. You can remove either column or
add more fields. All six default columns are available to workflows. An empty cell produces no output.
Add, rename, reorder, or archive statuses in Attio; edit your additional metadata in Neon Deer.
Use a status table in a workflow
In Find lookup table row, select the status table and look up by Status ID (the default),
or choose Status to match a name. Workflows match active statuses only. An archived status returns no match,
so branch on Found before using the row's outputs.
For example, add a table for Deals > Stage and fill in Owner and SLA (days) for the Proposal stage.
When a workflow looks up that stage, it receives the assigned Attio workspace member and your SLA value. Use those outputs to route
follow-up work and set its deadline. Changing the stage's owner or SLA in the table updates what later workflow runs receive.
Refreshes and archived statuses
The table refreshes when you open it and about every hour.
New statuses become rows. Renamed statuses keep their rows and your metadata. Archived or removed statuses are marked
Archived and keep your values.
Neon Deer shows every status by default. Use Hide archived statuses to filter the view;
this does not change what workflows can match.
Your Attio connection must allow Neon Deer to read the chosen object's or list's setup. If access is missing, the table explains that its statuses cannot be read. A failed refresh leaves the existing rows and your metadata in place.
Use the unsubscribe table in a workflow
When your organization has Brevo and Workflow automations, Brevo’s current unsubscribe restrictions can be read from the automatically maintained Brevo unsubscribes lookup table. It retains its ID if renamed, so existing lookups continue to work. In Find lookup table row, select that table and look up the exact email address the workflow will use. Branch on whether a row was found and its unsubscribe value before continuing.
Restrictions apply to an address, not every address on a Person. A missing row does not establish consent to receive email. Brevo sending actions still check their own subscription restrictions.
Neon Deer maintains the rows and supplied fields as restrictions change. Add your own fields for workflow-specific notes or decisions, and edit those values on existing rows. You cannot create or delete the managed rows or archive the table. If a restriction is lifted, the row remains with its unsubscribe value updated, preserving your own fields.
Read the Brevo guide for subscription handling, or use the existing lookup-table API with the required access.
Fields and lookup fields
- A field has a label and a key: lowercase letters, digits, and underscores, starting with a letter. Keys cannot be reused, even after a field is archived.
- You can rename and edit only your own fields. Fields managed by Attio, by the system, or computed are read-only.
-
A field becomes a lookup field when you turn on
Lookup keyin the table's Fields tab. A table can have more than one lookup field; each lookup uses exactly one field. Workflows can choose only tables that have at least one lookup field. -
No two rows may share a lookup value after normalization (see How matching works). A duplicate is refused
with
Another row already uses this lookup value.Turning on a lookup for a field that already holds duplicates fails and changes nothing. - Turning a lookup off breaks workflows that find rows by it. The confirmation says so: stored values stay in the table, and if you turn it on again you must select it again in those workflows.
- Once a field has been shared with workflows or used as a lookup, its type is locked. To use a different type, add a new field.
Field types
Each value is checked against its field's type in the grid, in CSV files, and in lookups, and stored in a normalized form. The normalized form is what lookups compare.
| Type | Accepted values | Normalized and matched as |
|---|---|---|
| Text | Any text | Trimmed. Case-insensitive. |
| Number | A finite number, in plain decimal or exponent form | Numeric value; -0 is 0. |
| Yes or no | true or false | Boolean. |
| Date | YYYY-MM-DD, a real calendar date | As entered. |
| Date and time | ISO 8601 with seconds and a Z or ±HH:MM offset | The instant: two values for the same moment match whatever their offsets. |
| A valid email address | Lowercased. | |
| Domain | A hostname such as example.com, without scheme, path, or port | Lowercased, trailing dot removed. |
| URL | Starts with http:// or https:// | Trimmed. Case-sensitive. |
| Attio member | An Attio workspace member ID | Case-insensitive. |
| Attio record | An Attio object ID and record ID | Case-insensitive. |
A value that fails these rules is refused. The grid names the field; a CSV names the row and column. Error messages never repeat the value itself.
Editing rows
Filter rows by field values, sort by a column, and move between numbered pages on the Data tab. These controls change the rows you see; they do not change the values stored in the table or what a workflow looks up.
-
The Data tab is a grid. Select a cell with a click or the arrow keys, edit with Enter, F2, or by typing, clear with Delete or
Backspace, and copy and paste selections of cells.
Add row,Duplicate row, andDelete row…manage rows in custom tables. In synced tables, edit your additional metadata here and manage the source rows in Attio. -
Rows save automatically; the status line reads
Saving…,Unsaved changes,Some changes need attention, orSaved. A new row saves only once its lookup fields have values, and pasting or clearing cannot empty a lookup field. - A deleted row stops matching at once: workflows looking for it get no match. Other rows do not change.
-
If someone else changed the row first, the save is refused with
This row has changed. Refresh and try again.Refresh and make the change again.
Importing into an existing table
Import data adds and updates rows from a CSV file or Paste from spreadsheet (tab-separated). The
table needs at least one lookup field first. Upload a UTF-8 CSV, or paste your rows, then continue to column mapping.
- Choose
Match existing rows by. A row in the file whose value in this lookup field matches an existing row updates that row; any other row is added. - Map columns to fields, or choose
Skip column. Headers that match a field's key or label (ignoring case) are mapped for you. Fields you do not map stay unchanged. - Choose what happens when a cell is empty.
Keep the existing valueis the default. SelectClear the existing valueonly when blank cells should remove saved values. -
Review changes. The preview countsRows to add,Rows to update, andUnchanged, and shows values that would be cleared. Every row is checked. The preview does not change the table; correct any reported problems before continuing. If nothing would change, there is nothing to apply. - Select
Apply import. If the table changed since the preview, check the import again before applying it. Once the import starts, rows are saved as it runs. You can close the panel and follow progress on the table page.
New values in member fields must identify current Attio workspace members. Existing member values can remain. Common row errors: a value that does not match the field's type, an empty lookup value, a lookup value repeated in the file, or a lookup value another row already uses. Row numbers count the header as row 1. Importing into Workspace members or status tables can update your editable metadata on existing rows, but cannot create rows or change Attio-managed fields.
Background operations
Large library additions, CSV imports, lookup-key setup, and field-type changes run in the background. Follow the operation's progress before relying on the new data or configuration.
For CSV imports, the preview changes nothing. After you apply the import, rows are saved as it runs.
Stop import stops further processing and keeps completed changes. A later failure can also leave completed changes in place;
it does not put the table back as it was before the import. Check the outcome before importing a corrected file.
A stopped import cannot be resumed from the page.
While an applied CSV import runs, other edits and workflow lookups for that table are temporarily unavailable. Plan the import around workflows that use the table, and wait for it to finish before testing those lookups again. Closing the import panel before you apply cancels the pending import; closing it after the import starts lets the work continue.
The table library includes the full US ZIP code table as well as smaller reference tables.
Testing a lookup
- Open the table and select
Test lookup. - If the table has more than one supported lookup key, choose the key to test.
- Enter a value and select
Run test. Review whether it matches a row and which values would be returned to a workflow.
For example, look up a company domain to check its assigned owner before using the table in an Attio workflow. Lookups by an Attio record cannot be tested in this panel. Use the Find lookup table row step for those lookups.
Exporting
Export CSV downloads lookup-table.csv: a header row of field labels and every active row, with every active field,
including Attio-managed, system, and computed fields. The file is UTF-8 with a byte-order mark.
To stop spreadsheets from running a value as a formula, any cell or header that begins with =, +,
- or @ (or a tab or carriage return) is written with a leading apostrophe. Plain negative numbers such as
-12.5 are not changed. Import does not remove the apostrophe, so a lookup value such as +EMEA comes back as
'+EMEA and no longer matches. Remove those apostrophes before importing an export back in.
How matching works
- A lookup compares one value with one lookup field and needs an exact match after the type's normalization. There is no partial, prefix, fuzzy, wildcard, range, or multi-field matching.
-
Text, email, domain, member, and record values match regardless of case, so
cafinds a row stored asCA. URLs match only with the same case. - Because lookup values are unique, a lookup returns one row or none. An empty value is refused.
- Neon Deer does not cache results: each run of the step reads the table as it is at that moment.
How outputs reach workflows
The Find lookup table row step connects a workflow to a table. It needs the app's Neon Deer connection and a plan that includes lookup tables.
| Input | What to set |
|---|---|
Table | The table to read. Only tables with at least one lookup field are listed. Search by name to find the table you need. |
Find by | One of the table's lookup fields. A member field is listed twice: by member, and as "<label> ID" to match an ID given as text. |
| The value input |
Labeled with the lookup field's name and typed to match it (key lookup_text for a text field). Wire the value
from earlier in the workflow. For a record field, choose Record object first.
|
-
The step outputs
Found(found), then one output per field that is shared with workflows, keyed by the field's key and labeled with its name. -
No match is a normal result, not an error:
Foundis false and no field outputs are set. Branch onFound. - A field output is absent when the matched row has no value in that cell. A value of 0, false, or empty text is kept.
- If the selected table is archived or deleted, or its lookup is turned off, the step fails and asks you to choose it again. It never falls back to another lookup field. Other errors are listed in Troubleshooting.
Sharing fields with workflows
Turn on Return to workflows in the Fields tab to make a field available as an output when a workflow finds a row.
It starts off for custom tables, library tables, and new fields; synced Workspace members fields start shared. Only shared fields
appear as outputs. Lookup key and Return to workflows are separate controls: a field can be used to find a row
without also being returned to the workflow.
Example: route a company by state
A company record holds a two-letter state code. The workflow needs the sales territory for that state, to use in a later step.
1. Set up the table
In Browse table library, add U.S. states & Canadian provinces. Its fields are
State or province (key state), Abbreviation (abbreviation),
Territory (territory), Country (country), and Owner
(owner, an Attio member). Abbreviation and State or province are lookup fields. U.S. territories default to Census
regions; edit them to match your own. A few of its rows:
| State or province | Abbreviation | Territory | Country | Owner |
|---|---|---|---|---|
| California | CA | West | United States | |
| Oregon | OR | West | United States | |
| New York | NY | Northeast | United States | |
| Texas | TX | South | United States |
In the table's Fields tab, share Territory with workflows. It starts unshared, and without this the step returns nothing for it.
2. Configure the step
In the Attio workflow, after the trigger that provides the company, add Find lookup table row:
Table: U.S. states & Canadian provinces.Find by: Abbreviation.Abbreviation(keylookup_text): wire the company's state code. For this company it isCA.
3. What the step returns
Neon Deer finds the California row and the step outputs:
| Output | Key | Value |
|---|---|---|
| Found | found | true |
| Territory | territory | West |
Only Territory appears because it is the only shared field. If you also shared Owner, it would stay absent for this row
until you fill it in, because empty cells produce no output. A code of ca would match the same row; a code the table does
not contain gives Found false and no Territory.
4. Use the territory later in the workflow
Branch on Found. On the true path, wire Territory into any later block that takes text, for example the
value of a step that updates the company's territory attribute. On the false path, handle a missing or unknown state, for
example by stopping the run with Fail workflow.
Renaming, archiving, and deleting tables
- The table's menu offers
Rename,Archive, andDelete…. - Archive: workflow steps using the table fail until you choose another table. A custom table and its rows are permanently deleted 30 days after archiving. You cannot restore an archived table from the app.
- Delete: rows, fields, and values are deleted permanently. Adding the same starter again creates a new copy.
For how long Neon Deer keeps table data, see the Privacy Policy.