# Slots cannot influence Conversation?

**URL:** <https://forum.rasa.com/t/slots-cannot-influence-conversation/51722>\
**Category:** Rasa Open Source\
**Created:** [March 4, 2022, 1:37am UTC](https://forum.rasa.com/t/slots-cannot-influence-conversation/51722 "2022-03-04T01:37:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gerrycheung](https://avatars.discourse-cdn.com/v4/letter/g/7bcc69/32.png) [@gerrycheung](https://forum.rasa.com/u/gerrycheung)\
**Post date:** [March 4, 2022, 1:37am UTC](https://forum.rasa.com/t/slots-cannot-influence-conversation/51722/1 "2022-03-04T01:37:00Z")

</div>

I followed this guide ([Managing the Conversation Flow](https://rasa.com/docs/rasa/writing-stories) ) and did an exercise to change the flow of the conversation by changing the slot value.

However, the slot value has changed, and the dialog flow has not changed.

![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/e/3/e3ad7e8944967a38b2c515de9f867995d5fad1cc.png)

NLU

```auto
- intent: give_shirt_size
  examples: |
    - I want a [large](shirt_size) shirt.
    - [Medium](shirt_size) size
    - give me a [small](shirt_size) tshirt
    - [small](shirt_size)
    - [large](shirt_size)
    - I'd prefer [medium](shirt_size) tshirt
    - give shirt size
    - I want a [large](shirt_size) shirt please
    - I want to give you my shirt
    - i want a [small](shirt_size) shirt
    - i want a [large](shirt_size) shirt
    - i want a [large](shirt_size) shirt
    - I want a [small](shirt_size) shirt

```

domain.yml

```auto
entities:
- shirt_size
slots:
  shirt_size:
    type: text
    influence_conversation: true
    mappings:
    - type: from_entity
      entity: shirt_size
responses:
  utter_small_shirt:
  - text: You want a small shirt
  utter_large_shirt:
  - text: You want a large shirt

```

stories.yml

```auto
- story: when user need large shirt
  steps:
  - intent: greet
  - action: utter_greet
  - intent: give_shirt_size
    entities:
    - shirt_size: large
  - slot_was_set:
    - shirt_size: large
  - action: utter_large_shirt

- story: when user need small shirt
  steps:
  - intent: greet
  - action: utter_greet
  - intent: give_shirt_size
    entities:
    - shirt_size: small
  - slot_was_set:
    - shirt_size: small
  - action: utter_small_shirt

```

---

<div class="post-metadata">

**Author:** ![stephens](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/stephens/32/1632_2.png) [@stephens](https://forum.rasa.com/u/stephens)\
**Post date:** [March 4, 2022, 6:54pm UTC](https://forum.rasa.com/t/slots-cannot-influence-conversation/51722/2 "2022-03-04T18:54:42Z")

</div>

You’re using a `text` slot where you need to use `categorical`. The [docs](https://rasa.com/docs/rasa/domain/#text-slot) on the text slot point out that:

> the assistant’s behavior will change depending on whether the slot is set or not. Different texts do not influence the conversation any further.

---

<div class="post-metadata">

**Author:** ![gerrycheung](https://avatars.discourse-cdn.com/v4/letter/g/7bcc69/32.png) [@gerrycheung](https://forum.rasa.com/u/gerrycheung)\
**Post date:** [March 18, 2022, 5:52am UTC](https://forum.rasa.com/t/slots-cannot-influence-conversation/51722/3 "2022-03-18T05:52:34Z")

</div>

@stephens Thank you, It works.
