Data lists are lookup tables that Pipe17 keeps for your organization, such as a list of fulfillment center addresses or a code-to-value conversion table. Each data list has a name (its lookup type) and holds entries. Each entry has a Key, an Expression Type that says how the key is matched, and a JSON Value that is returned when the key matches. Some lists include global entries that Pipe17 maintains for every organization, and you can add your own private entries next to them. You manage data lists in Settings > Data Lists, where you can add entries one at a time, import many from a CSV file, and export a list.
Before you start
- Where to find it: In the left navigation, go to Settings > Data Lists.
- Permissions: You see the page only if your role can read and list Lookup Objects (data lists). Adding an entry needs the create permission, and deleting one needs the delete permission. Importing needs the create and update permissions on Lookup Objects plus the create permission on Jobs; there is no separate import permission. Without them, Import data lists is disabled and shows the reason on hover. The import job also needs the create permission on API Keys. See Managing Roles and Permissions in Pipe17.
- Availability: The page is available to all organizations. It isn't shown in a primary holding organization, so open it from the organization that uses the lists.
- What a list does on its own: Nothing. Creating or changing a list doesn't change orders, routing or integration settings by itself. A list is used only when an integration, automation or API call is set up to look up that list by name with a key. Use the list name and keys that the process you are configuring expects.
Key terms
| Term | What it means | Example |
|---|---|---|
| Data list (lookup type) | A named group of entries. The name is case sensitive. | WAREHOUSES |
| Entry (lookup object) | One row in a list: Key + Expression Type + Value. Each entry has a Lookup ID. |
WH-A → {"warehouse":"A"}
|
| Key | What a lookup is compared against. Its meaning depends on the expression type. |
WH-A, /^WH-/
|
| Expression Type | How the key is matched: Literal, Regexp or Function. | literal |
| Value | The JSON returned when the entry matches. | {"carrier":"UPS"} |
| Global (public) entry | An entry Pipe17 maintains. It appears in every organization and can't be changed or deleted there. | Is Public: Yes |
| Private entry | An entry your organization added. Only your organization sees it. | Is Public: No |
Expression types
| Expression Type | What to enter as the Key | Value |
|---|---|---|
| Literal | The exact text a lookup will send, for example WH-A. Matching is case sensitive. |
Any valid JSON, usually an object such as {"warehouse":"A"}. |
| Regexp | A regular expression between slashes, for example /^WH-[0-9]+$/ or /^us-/i. A pattern without the slashes is rejected. |
Any valid JSON. |
| Function | The ID of a Pipe17 function. The function receives the lookup key and returns the value. Function entries are usually set up by Pipe17. | None. The value field is hidden when you pick Function. A list can have only one function entry of your own. |
How Pipe17 picks the matching entry
When a key is looked up in a list, Pipe17 checks the entries in this order and returns the first match:
- A Literal entry from your organization with exactly that key.
- A global Literal entry with exactly that key.
- A Regexp entry from your organization whose pattern fits the key. If several fit, the most recently updated one wins.
- A global Regexp entry whose pattern fits the key.
- The list's Function entry. If the function returns no value, the lookup has no match.
So you can override a global Literal entry for your organization by adding a private Literal entry with the same key. A private Regexp entry doesn't override a global Literal entry for a key that matches both, because Literal entries are checked first. If nothing matches, the lookup returns no match.
The Data Lists page
Each row is one data list.
| Column | What it shows |
|---|---|
| Name | The list name (lookup type). Click it to open the list. |
| Has Global Data | Yes if the list contains at least one global entry from Pipe17. |
| Count | The number of entries in the list, global and private together. It counts entries, not distinct keys. |
Use the Has Global Data filter to narrow the page:
| Filter value | What you see |
|---|---|
| Yes | Only global entries. Lists and counts include global entries only. |
| No | Only your private entries. A list can appear here even if it also has global entries. |
| Not set | Global and private entries together. |
The page has no search box. A data list doesn't exist on its own: it appears as soon as it has at least one entry.
View a data list
Click a list name to open its details page.
- Information shows the Lookup Type (list name), the Count of entries and Has Public Lookup Objects (whether any entry is global).
- The table lists every entry with Lookup ID, Key, Expression Type, Value, Is Public, Updated and Created. Long values are cut off; open the entry to see all of it.
Filter and sort entries
| Filter | What it does |
|---|---|
| Select Created Range | Shows entries created in a date range. |
| Select Updated Range | Shows entries updated in a date range. |
| Expression Type | Shows only Function, Literal or Regexp entries. |
| Key | Shows entries with the exact keys you type. It filters the table; it doesn't run a lookup. |
| Content Type | Global Only (Pipe17 entries), Private Only (your entries) or Mixed (both, the default). |
Use the sort control on the right to sort by Created (default, newest first), Updated or Key, and the arrow icon to switch between ascending and descending. Reset Filters clears all filters.
View or delete an entry
To view an entry:
- Click the entry's Lookup ID. The Lookup Object JSON dialog shows the full entry, including its value.
- Click Close when you're done.
To delete a private entry:
- Click the entry's Lookup ID and check that isPublic is
false. - Click Delete. The entry is removed right away, with no confirmation step, and you see "Custom lookup object deleted successfully". There is no undo.
Delete is disabled for global entries, because Pipe17 maintains them. To change how a global key behaves for your organization, add a private entry with the same key instead.
Add an entry
- Open the list and click Add Lookup Object.
- Pick the expression type: Literal (default), Regexp or Function.
- Enter the Key. It is required. For Regexp, write the pattern between slashes, for example
/^CA-/. - For Literal and Regexp, enter the Value as JSON, for example
{"carrier":"UPS","service":"Ground"}. The placeholder shows the format. If you leave it blank, the entry is saved without a value; enter{}if you want an empty object. - Click Create. You see "Lookup object created successfully" and the entry appears in the table.
Change an entry
You can't edit an entry in the app; text you change in the Lookup Object JSON dialog isn't saved. To change a private entry, delete it and add it again. (Import with Overwrite existing doesn't change existing values; see the import section.)
Create a new list
There is no Create list button. To create a list, import a CSV whose Lookup Type column has the new name (see the next section). The new list appears on the Data Lists page once its first entry is saved.
Import data lists from a CSV
Import adds many entries at once, across one or more lists, and is the way to create a new list. It runs as a background job that you can follow on the Jobs page, where data lists appear as lookup objects.
- On the Data Lists page, click Import > Download template to get the CSV template.
- Fill in one row per entry:
- Lookup Type (required): the list name. A new name creates a new list.
- Key (required): the key, pattern or function ID.
-
Expression Type (required):
literal,regexporfunction. -
Value: the JSON. Wrap the whole value in double quotes and double every quote inside it, for example
"{""warehouse"":""A""}". Leave it empty for function entries. - Lookup ID is in the template but isn't used to match rows. Leave it empty.
- Click Import > Import data lists, then drag the file into the dialog or click to select it (up to 10 MB).
- Check the preview, which shows up to the first 100 rows. The job processes the whole file.
- Choose Overwrite existing or Skip and don't overwrite existing. Rows are matched to existing entries on Lookup Type + Key. See the note below.
- Enter the Emails to notify when the job finishes. Your email is filled in; press Enter after each address.
- Click Import. You see "Created job to import lookup objects". This means the job was queued, not that every row succeeded; check the job on the Jobs page for the result.
Example row for a private literal entry:
Lookup Type,Key,Expression Type,Value
WAREHOUSES,WH-A,literal,"{""warehouse"":""A"",""priority"":1}"Template rules:
- To skip a row, start the Lookup Type cell with
//. - Blank lines are ignored.
Note: import doesn't change existing entries. When a row's Lookup Type and Key match an entry that already exists, Skip and don't overwrite existing skips the row, and Overwrite existing saves the existing entry again with its current values, so the new value in your CSV isn't applied. A row that matches a global entry is skipped, or fails with "Cannot update public lookup objects" when you choose overwrite. Use import to add new keys and new lists. To change an existing private entry, delete it and add it again in the app. To override a global key, add the private entry in the app.
Export a data list
You export one list at a time.
- Open the list and click Export.
- Choose the columns. By default the export includes Lookup ID, Key, Expression Type, Value, Is Public and Lookup Type; you can also add Updated and Created.
- Enter the emails to send the file to, then submit. You see "Export job created successfully", and the CSV is emailed when the job finishes.
The export always includes the whole list: the list name filter is required and can't be removed, and filters you set on the details page aren't applied. JSON values are written as JSON text. The CSV uses the same columns as the import template, so you can reuse it to add the same entries to another list or organization.
Limits
- Within one list, your organization can have only one entry per Key and expression type. A second one is rejected as a duplicate.
- A list can have only one function entry of your own.
- Through the API, you can create up to 100 entries per request. This is a per-request limit, not a limit on list size. Use import for larger lists.
- Only Pipe17 can create or change global entries.
- Values must be valid JSON. Function entries can't have a value.
- Import files can be up to 10 MB.
Troubleshooting
-
"Value must be a valid JSON object" when adding an entry.
Check the JSON: keys and text values need double quotes, brackets must match, and there must be no trailing commas. For example{"code":"A1"}, not{code:'A1'}. -
Delete is grayed out for an entry.
The entry is global (Is Public: Yes) and maintained by Pipe17. Add a private entry with the same key to override it for your organization. -
"Import data lists" is grayed out.
Your role needs the create and update permissions on Lookup Objects and the create permission on Jobs. Hover over the option to see which is missing, and ask your admin to update your role. If the import job is rejected with a message about creating API keys, your role also needs the create permission on API Keys. -
Import finished but some rows weren't added.
Open the job on the Jobs page to see the failed and skipped rows. Common causes: a missing Lookup Type, Key or Expression Type; a regexp without slashes; a value that isn't valid JSON (check the doubled quotes); or a key that already exists in the list, including as a global entry. -
Imported values didn't change existing entries.
Import with Overwrite existing doesn't apply new values to entries that already exist. Delete the entry and add it again in the app. -
"Duplicated object" or a duplicate error when adding an entry.
The list already has an entry with that key and expression type, or the same row appears twice in your request. Delete the existing entry first. -
A lookup returns a different value than expected.
Remember the match order: an exact (Literal) key beats a pattern (Regexp), even a private pattern, and among entries of the same expression type your private entry beats a global one. Filter the list by Key and Content Type to see which entries exist for that key. -
Data Lists is missing from Settings.
Your role needs read and list access to Lookup Objects. The page is also hidden in a primary holding organization; switch to the organization that uses the lists.
Need Help?
If you need additional assistance:
- Use Ask Pippen, our AI agent, located at the top of the platform page.
- Submit a support request with as much relevant detail as possible. Learn how to submit a request.
We're here to help you succeed with your operations.
Comments
0 comments