Determine slot value from message context

Hi here!

I have slot named “location”. I set value to it by asking user about his location. (“What is Your Location?” - “My location is New York”) According to slot’s value I need to display different links. For example if user asks “What benefits in my location?” bot answers “Benefits in New York [link]” or “Benefits in San Francisco [link]”. Question can be different like: “My location benefits, location benefits etc”

How I can do this? Thanks!

we recommend to use our knowledge base actions for this. Please see the docs here: Knowledge Base Actions

Oh, thanks a lot. Looks like it exactly what I need!

1 Like