younifyd
Menu

Delete Segment Values

Remove per-segment values, like a delivery time, from the search index.

Use it in a workflow

  1. Add a step and choose the Search connector.
  2. Pick the Delete Segment Values action (under database).
  3. Fill in the fields below, then reference the result from later steps as {{deleteSegmentValues.response.data}}.

Fields

indexSlugstringrequired

The search index whose segment values to delete, by slug. Can also be a variable, e.g. {{variables.indexSlug}}.

rowsstringrequired

A JSON array, up to 1,000 per step. key is required; unitKey and segment narrow it. Like [{"key":"p1","segment":"uk"},{"key":"p2"}]

Examples

Clear UK values for a product

Every per-segment value p1 holds in the UK segment

json
{
  "indexSlug": "products",
  "rows": "[{\"key\":\"p1\",\"segment\":\"uk\"}]"
}

Need more? See the Search guide for connection setup and behaviour shared by every action.