Update Lookup Table
update_lookup_tableModify lookup table entries, column labels, name, or description; changes apply to a new version so active rules stay stable until you activate it.
Instructions
Change a lookup table's entries, column labels, name or description.
Entry changes go to the newest version while it is still being
developed. An active version is never changed: a new version is
started from it, with its entries, and the changes go there. Rules
keep using the active version until the new one is activated — pass
activate to do that in the same call.
set_entries adds keys and overwrites the values of existing ones;
remove_keys deletes keys (keys that are not there are reported in
not_found); replace_entries replaces every entry instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name. | |
| folder | No | Only used for a lookup table that is in no folder yet. | |
| activate | No | Publish the changed version right away (default false). | |
| key_label | No | New name of the key column. | |
| description | No | New description. | |
| remove_keys | No | Keys to delete. | |
| set_entries | No | Entries to add or overwrite: ``{"key": "value"}`` or a list of ``{"key", "value"}`` objects. | |
| value_label | No | New name of the value column. | |
| lookup_table | Yes | The lookup table's ID or exact name. | |
| wait_seconds | No | How long to wait for activation to finish (max 300). | |
| replace_entries | No | The complete new entries (not with set_entries or remove_keys). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||