younifyd
Menu

Get Product Questions

Read the shopper questions generated for one product

Use it in a workflow

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

Fields

indexSlugstringrequired

The search index the questions were generated for, by slug. Can also be a variable, e.g. {{variables.indexSlug}}.

productstringrequired

The product's key, or its value in the lookup field, e.g. {{trigger.query.sku}}

lookupFieldstring

Leave empty when Product is the document key. Otherwise the field to match it against, e.g. sku or variants.sku

limitnumber

Return at most this many questions. Leave empty for all of them.

Examples

By document key

The storefront passes the product id

json
{
  "indexSlug": "products",
  "product": "{{trigger.query.id}}"
}

By SKU

Match a variant SKU

json
{
  "indexSlug": "products",
  "product": "{{trigger.query.sku}}",
  "lookupField": "variants.sku",
  "limit": 5
}

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