What is a Slot?
Think of slots as your assistant’s memory. They store important pieces of information from the conversation, like a user’s name, date, or location, and can be referenced throughout the flow.Overview
With the Set Slots step, you can:- Assign a value: Automatically update a slot value (e.g. set the ‘age_category’ slot to ‘Minor’ based on the user’s birth year).
- Clear a value: Reset a slot value (e.g. clear the ‘amount’ slot if the user exceeds the allowed transaction limit to prompt re-entry)
- Persist a value: Persist a slot value (e.g. persist the ‘permission_granted’ slot after the flow ends)

This step runs silently in the background without any dialogue. If you need the assistant to prompt the user for input, consider using a Collect Step instead.
Setting a Slot Value
For example, if the user mentions their birth year during a conversation, we can automatically set theage_category slot to Minor and clear the permission_granted slot, streamlining the interaction accordingly.

Setting Multiple Slots
You can set multiple slots in one step. Simply click on “Set another slot” button to add more. You can see how many slots are set in one step by reading the number on the node.
Clearing a Slot
When you choose to clear a slot’s value, its current value is reset, and the system will treat it as if it were
null.
Persisting a Slot value
When you choose to persist a slot’s value, that setting applies globally to all its occurrences in the flow.
