Rasa- data capture into slot to validate into action

Hello All,

I am working on chatbot project to update address data into our system. User need to give few prerequistis information of identity which we need to save into slots and then it need to verify from action by calling external api.

My issue is that how to get information to action as user can enter any such information. I tried to get it via slot defining in domain and story in intent, but it’s not working.

Can anyone help me to sort out this issue. Let me know if any further details required.

Thanks Jaimin

You’re using forms, right?

In the slot_mappings function use self.from_text(intent=None) to pass the text written by the user to the slot, then you can use validate functions for each slot.