How to use Slots with Checkpoints?

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.

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