# How to use Slots with Checkpoints?

**URL:** <https://forum.rasa.com/t/how-to-use-slots-with-checkpoints/32418>\
**Category:** Rasa Open Source\
**Created:** [August 10, 2020, 7:15am UTC](https://forum.rasa.com/t/how-to-use-slots-with-checkpoints/32418 "2020-08-10T07:15:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![NOlbert](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nolbert/32/9650_2.png) [@NOlbert](https://forum.rasa.com/u/NOlbert)\
**Post date:** [August 10, 2020, 7:15am UTC](https://forum.rasa.com/t/how-to-use-slots-with-checkpoints/32418/1 "2020-08-10T07:15:21Z")

</div>

I wonder how I use slots within stories that contain checkpoints, given that the execution of the checkpoint is conditional.

Would it be

```
## Pos 1
*some_intent
> something

## conditonal checkpoint
>something{"some_slot":"xyz"}
- more_actions

## unconditonal checkpoint
>something
- more_other_actions

```

or would it be

```
## Pos 1
*some_intent
> something

## conditonal checkpoint
>something
- slot{"some_slot":"xyz"}
- more_actions

## unconditonal checkpoint
>something
- more_other_actions

```

Note: some\_slot is automatically filled.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![NOlbert](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nolbert/32/9650_2.png) [@NOlbert](https://forum.rasa.com/u/NOlbert)\
**Post date:** [August 17, 2020, 7:11am UTC](https://forum.rasa.com/t/how-to-use-slots-with-checkpoints/32418/2 "2020-08-17T07:11:44Z")

</div>

The second version seems to work, just wonder if it is the correct way to do it…
