younifyd
Menu

Record Search Feedback

Tell the search index that a result was clicked or bought, so quality reports and experiments can measure it

Use it in a workflow

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

Fields

indexSlugstringrequired

The search index to use, by slug. Can also be a variable, e.g. {{variables.indexSlug}}.

typestringrequired

click or conversion

queryIdstringrequired

The queryId returned by the search step

docKeystring
positionstring
valuestring

Order value, for a purchase

sessionIdstring

Examples

Record a click

Links the click to the search that produced it

json
{
  "indexSlug": "products",
  "type": "click",
  "queryId": "{{search.queryId}}",
  "docKey": "p1",
  "position": "1"
}

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