Tracker.get_slot() returns None value

Hi @Elliot . I think the error occurs because for some reason the slot drinks_num returns None for you. Are you filling in this slot with a form? I think what is happening is that in your rules with requested_slot: null you are resetting last requested slot to none. Is there a particular reason why you have this step in your rules?

After your form completes (collects the necessary data), you should submit the form with your custom action. I don’t think I can see that happening in your rules. The rules could look something like the following:

rule: submit_drinks
condition:
- active_loop: drinks_from
steps:
  - actions: drinks_form
  - active_loop: null
  - action_order_confirmed
  - slot_was_set:
    - total: 100
  - action: utter_order_confirmed