Menu
Add Fields From Documents
Add fields the index does not have yet, typed from the documents that carry them, so new data becomes searchable
Use it in a workflow
- Add a step and choose the Search connector.
- Pick the Add Fields From Documents action (under database).
- Fill in the fields below, then reference the result from later steps as
{{addFieldsFromDocuments.response.data}}.
Fields
Examples
Add a material field
Adds material as a field with a list of choices, if the index does not have it
{
"indexSlug": "products",
"fields": "material",
"documents": "[{\"id\":\"p1\",\"material\":\"Cotton\"},{\"id\":\"p2\",\"material\":\"Wool\"}]"
}
Need more? See the Search guide for connection setup and behaviour shared by every action.
Was this page helpful?