Sum numbers given by user

I have a simple chatbot that’s collecting numbers that the user inputs and saving them as slots (number_1, number_2, …).

I then need to sum up these numbers on actions.py and I’m using the tracker.get_slot(), however I’m not being successful. The class I’m using is from line 40 and I’m basically using the sum() function and returning the total to a new slot that will later be used on a story.

you are adding the numbers to a dictionary. For summing over the values of the dictionary you should use sum(ptsdnumbers.values()) in line 76. Does this help? what do the logs of the action server say?

I’m getting a weird error that says: No registered action found for name ‘validate_number_form’ However I have that action created at the end of domain.yml.