![]() ![]() Once you do, you’ll be asked to specify the Webhook URL. We’ll use the Fulfillment section for that. So let’s leverage this Webhook and hook it to our Agent. And we already have a Webhook in place that we generated in this post. DialogFlow lets us leverage Webhooks for getting data from external sources. But how exactly are we going to get that information on the movie? Does DialogFlow provide any way of doing it? Wouldn’t it be better if it could respond back with the details on the movie we asked it for? Yes! It would surely be. But it’s responding back with some static text. So now, whenever we query the Agent for the details of a movie, it does recognizes our query as a movie-intent. We’ve also added a few User Expressions on that movie-intent. This is going to be very helpful soon enough.Īlright, now we have an Agent with a movie-intent setup on it. This shows us the actual request body that the agent generates. ![]() We, the developer of the bot will have to explicitly tell the Agent about it. Now by default, the agent is not going to figure that out. Each User Expression in a User Intent can have an Entity that defines the thing, the user needs information on.įor our movie-intent, each user expression can contain a movie entity: the name of the movie. It figures that out with the help of Entities. How does it figure that out? Well, for each User Expression, mapped to an intent, our Agent has to figure out the thing, the user of the Agent wants info on. This should tell the Agent that I need some info on the movie: Jobs. The user says: “ Give me some info on Jobs”. PRO TIP: The more User Expressions you add to an intent, the better your Agent will be able in figuring out what you actually want.ĥ. We’ve added a lot of User Expressions to the movie-intent. User Expressions in the movie-intent mapped with the movie Entity Don’t believe me? Head over to their pricing page and see for yourself. But then, it would cost me a fortune to set up a Chatbot with DialogFlow, right? You can also use webhooks to make your bots smarter if the user queries require the intervention of some external data sources(a MovieDetails API for instance). Even with assistants like Microsoft Cortana, Amazon Alexa, Google Assistant etc. It lets you integrate with almost every popular service out there, like Facebook Messenger, Slack, Twitter, Skype etc. It’s a service that lets you create bots in minutes. That’s where the Google acquired DialogFlow comes into the picture. Who wants their hands tied when it comes to creating bots, right? DialogFlow comes to rescue: Plus it’s also paid if you want to use it’s pro services. They now also allow you to create a Chatbot for Telegram. At the time I used it, we could only create bots for Facebook Messenger. While Chatfuel could suit your requirements, it doesn’t give you much flexibility. They also have some amazing tutorials on how to use it. It’s a UI Based Service that lets you create a Chatbot. Entrepreneur and Hongkiat have written some amazingly enlightening articles on the same. There are a lot of services out there that lets you create bots or use existing bots. Clients are asking for them, users are getting used to them, and they are, for sure, a great way to engage with your users in a fun and personalized way. ![]()
0 Comments
Leave a Reply. |