Menu
Add Or Update Segment
Create a pricing segment on a search index, or change the currency or label of one that exists
Use it in a workflow
- Add a step and choose the Search connector.
- Pick the Add Or Update Segment action (under database).
- Fill in the fields below, then reference the result from later steps as
{{addOrUpdateSegment.response.data}}.
Fields
Examples
Price a store in pounds
Adds a default segment in GBP, and turns pricing on if it was off
{
"indexSlug": "products",
"segment": "default",
"currency": "GBP",
"label": "Default"
}
Need more? See the Search guide for connection setup and behaviour shared by every action.
Was this page helpful?