You have probably seen the first answer which appears on Google, gotten a little confused, and clicked on this post instead.
Unfortunately, I am going to send you back to the original thread. 🙂
The best answers
Probably one of the more complex tasks in API.AI, slot filling with webhooks is not a very simple thing to do. (In fact, I don’t even recommend it). But if you have an absolute need for it, go to this thread:
Here are the two best comments on that thread which give you actual answers on how to do this:
If I find some time, I will try to expand these answers out into a tutorial. (Leave a comment below if you are interested in that).
I was once asked if it was possible to validate one of the slot filling fields on the webhook and reprompt user using slot filling itself if validation fails. To the best of my knowledge, this isn’t possible. If you know of a way to do it, leave a comment and I will add your link to this post.