Filling and custom validating slots from button payloads inside a form action

In this particular case, the intent is ask_price_product and the entity is arroz. Since arroz is the entity of interest, wouldn’t it be better to base the slot value on that?

I think this change in domain.yml ought to do it.

forms:
  compare_price_form:
    required_slots:
      product:
      - type: from_entity
1 Like