# I made Ankur Warikoo's WhatsApp bot

https://www.youtube.com/watch?v=k_EtUXu1P7w

[00:00] You know Ankur Warikoo, right?
[00:01] One of the biggest online educators in India.
[00:03] Over 4.47 lakh students have enrolled in his course.
[00:08] If you go to his WhatsApp support right now and if you message "Hey", here's what happens.
[00:12] You don't wait for a human.
[00:13] You don't get a message "Our team will get back to you within 24 hours."
[00:17] Instead, within seconds you get a menu with two options: bought a course, not bought a course.
[00:21] You tap one, lists open up: login and access, course help, payment and refund, and multiple other options.
[00:28] You tap your problem and you get your answer instantly.
[00:32] Now, think about it.
[00:32] Ankur Warikoo had 22 people in his team and 4.47 lakh students.
[00:37] That is half a million students.
[00:39] Let's consider 10% of people come on the WhatsApp for the support.
[00:43] That's nearly half a million people.
[00:46] Even if 10% need a WhatsApp support, that's 44,000 queries.
[00:49] If every single one needed a human support, if even a single query requires a human to answer, an army of people would be required to respond to this.
[00:57] Instead, WhatsApp handles the bulk of it.
[00:59] Today, I'm going to show you exactly how this works because I have
[01:01] Created such similar solution for multiple other clients.
[01:04] And in this video, I'll be showing you exactly how to build such scenario from scratch.
[01:08] Hello, everyone.
[01:10] My name is Lakshya.
[01:11] If you're new to this channel, in this channel, using AI and automation, we build real stuff.
[01:15] No coding knowledge required.
[01:17] No need to hire extra developer.
[01:19] This video is for you if you are a business owner, a coaching institute, a content creator, a clinic, a retail, any business where customer reaching out to you on a WhatsApp having a similar set of question: login issue, payment issue, refund issue.
[01:30] You know the drill.
[01:32] If your support system spend 80% of time answering the same set of similar questions, this video is going to change how you think about your business.
[01:39] Now, let's get into it.
[01:41] Now, let's understand what is WhatsApp support bot.
[01:43] A WhatsApp support bot is an automated system which handles customer's query without any human intervention.
[01:48] When a customer sends a message, instead of waiting for a person to reply, bot reply in a structured menu.
[01:54] What we call is an interactive list or button flow.
[01:56] Tap an option, each tap lead to another options.
[01:58] It's like a phone IVR system.
[02:01] Tap two to do this.
[02:03] But, in WhatsApp and much smarter.
[02:05] Now, here's the thing most of the people don't realize.
[02:08] 80 to 85% of questions which business get are the similar question asked in a different format.
[02:10] How do I reset my password?
[02:13] I can't access my course.
[02:15] Where do I find my invoice?
[02:17] What is your refund policy?
[02:18] This question don't need human to answer.
[02:20] They just need a good answer delivered fast.
[02:22] The WhatsApp bot does exactly this.
[02:24] It maps out the most common question in a clean manner.
[02:26] Customer pick their issue, bot deliver the answer.
[02:28] Done.
[02:30] Now, you might be thinking what about remaining 15%?
[02:32] This is genuinely complex question which your team need to answer.
[02:36] Now, the customer will get form inside the WhatsApp itself.
[02:38] Like how in the phone IVR, we at the end we reach to the customer.
[02:42] Over here, they will get a form where they need to fill out the basic information.
[02:46] This information will reach to your team via Google Sheet, CRM, database.
[02:50] But, now your team only need to tackle the 15%.
[02:52] Rest, 85% is already taken care by a WhatsApp bot.
[02:55] And here's the best part.
[02:56] From the rest 15%, you find out the most frequent question which people are getting.
[03:00] Again, take that question.
[03:02] Insert inside your WhatsApp bot.
[03:04] Now, your 85% will become 87, 89, 90.
[03:07] Your team will have much more free time in future.
[03:11] So, now as you can see, I have sent a "Hey" message over here and I got a reply.
[03:14] There is a big reply over here and we have two options: bought a course, not bought a course.
[03:19] So, I'll click on the bought a course and it fetched my information from the database and we have the main menu option over here.
[03:24] So, I'll click on the main menu and we have multiple options.
[03:27] We can add more options over here as well.
[03:29] Just for the demo purpose, I have added two options.
[03:30] So, now I'll click on the login and access and I'll send it.
[03:33] And now we have another message and we can have the access query.
[03:36] So, I'll click on that.
[03:37] Now, we have more options over here regarding the login and access.
[03:38] So, I'll be clicking on course not visible.
[03:40] So, I'll click on send.
[03:42] Now, we got all the options and with the answer as well.
[03:44] And if you are satisfied with the answer, you can click on "Got it."
[03:46] If you are not satisfied with the answer, you can click on "I still need help."
[03:50] And if you want to see the menu again, you click on "Return to menu."
[03:54] So, if I feel that I'm not satisfied with this answer, I click on "I still need help."
[03:57] And now, we get option to fill a form and we can ask a query whatever we have.
[04:01] And once you have filled the information, click on.
[04:03] Done.
[04:04] And now, the response has been sent.
[04:06] Now, if you see in the Google Sheet, we got the particular response from which phone number, what is the username, email ID, and all the description that they have filled.
[04:14] Now, let's see if you are satisfied with the answer.
[04:15] So, you click on "Got it."
[04:16] And now, this bot is taking the feedback from the user.
[04:18] So, where we can say "Loved it." "It was okay." "Needs improvement." regarding this particular bot.
[04:23] So, we can understand is people liking this particular bot or not.
[04:25] If they're liking it, let's say we click on "Loved it."
[04:27] So, now inside our database, we can see we got the feedback of the particular phone number.
[04:30] So, that's how simple this particular bot is.
[04:34] So, the WhatsApp bot which we are going to make in this video is absolutely free apart from the tool, but it can scale infinitely and the tool cost will remain the same.
[04:42] So, before moving to the development part, let's first understand why your business need it.
[04:45] First reason is scale without cost.
[04:47] So, every time you add a customer, your support load grow.
[04:51] If you are handling it manually, you need to hire more people.
[04:56] But, with the WhatsApp bot, you can grow 10x without even adding a single support person.
[05:00] The bot scale for free.
[05:01] Second reason is speed.
[05:01] The number
[05:03] One thing customer hate in support is waiting.
[05:06] So, now you are in the phone IVR waiting for the call.
[05:08] That particular irritating tone is ringing over there.
[05:12] The average response time on WhatsApp for a business is 12 to 24 hours if they are handling it manually.
[05:16] But, this particular bot respond under 2 seconds.
[05:20] This single difference change how customer feel about your business.
[05:22] The third reason is you own the data.
[05:24] Every query that come via bot is logged inside your database.
[05:28] It could be Google Sheet, it could be CRM, it could be your database.
[05:31] Now, over here you can see the pattern.
[05:32] Which question come up the most?
[05:34] Where does your customer are getting stuck?
[05:36] What do they need which you are not providing?
[05:40] The data makes your product even more better.
[05:42] This all things are not nice to have.
[05:44] This is a proper system.
[05:46] This is proper infrastructure which your business need to build.
[05:47] I have built such kind of a system so many times for so many businesses and they always come back to me and saying this particular system has changed how they work on the business.
[05:56] Before moving to development part, if you are liking this video, please press the like button.
[05:59] And if you are interested in such kind of a business perspective video, press subscribe button over there.
[06:02] Now, to
[06:03] To build this, we require three different things.
[06:06] One, a database where your information is stored.
[06:09] Second, a tool using which we can create a WhatsApp automation.
[06:13] Third, the low-code tool or a server where you can handle such kind of queries.
[06:16] So, for the database, we'll be keeping it very simple.
[06:17] We'll be using Google Sheet, but you can replace it with your CRM, your database.
[06:20] For the tool, we'll be using Chat Things.
[06:23] And for the low-code tool, we'll be using Any Time.
[06:25] Now, first, let's set up the WhatsApp automation tool.
[06:27] For that, we'll be using this Chat Things which is an amazing tool where you don't have to go through all the headache of doing the meta and multiple other things.
[06:34] You can just come over here, login, and then you'll be seeing such kind of a screen.
[06:38] Now, go to the integration part.
[06:39] Now, connect your WhatsApp Business App by just scanning through your WhatsApp phone.
[06:42] If you don't know how to do it, check out this particular video.
[06:44] Now, once the phone number is connected, go to the particular phone number.
[06:48] So, now to make all these things possible, we require WhatsApp template over here.
[06:51] And inside WhatsApp template, we'll be creating a form.
[06:54] So, for that, wherever you have added the number, just go and click on the create part.
[06:59] Now, give any kind of a name and we'll be using a utility template over here.
[07:02] And it will be absolutely free because the customer will be coming to
[07:04] us and sending us the message.
[07:05] So, that's the reason it's completely free.
[07:07] Now, give any kind of a name.
[07:09] Now, what message you want to write, you can write it over here.
[07:11] I'll showing you the real demo which I have built.
[07:13] And now, in the interactive action, we'll be clicking on form part because we need to create a form.
[07:18] And now, we need to use the existing form.
[07:19] So, for that, first we need to create the form.
[07:21] So, on the left-hand side, you can see we have a WhatsApp form.
[07:22] So, click on that.
[07:23] So, I have created this particular get help form.
[07:25] So, I'll be showing you how that look like.
[07:26] So, this is how it look like where we are taking the name, email, and description of issue.
[07:31] How to make it?
[07:33] It's very simple.
[07:35] So, come over here, click on create form.
[07:36] And now, we have the screen over here.
[07:38] Okay, you can create a multiple screen flow as well.
[07:40] But, we are only creating a one screen.
[07:41] So, now we have the screen title.
[07:43] So, whatever you can see over here will be the title.
[07:44] So, we can write it "Get help."
[07:46] Okay?
[07:47] Now, if you want to keep this particular large heading, you can keep it if you want to.
[07:49] You can remove it from here.
[07:50] We'll be keeping it very simple.
[07:53] We will just want name, email, and description.
[07:54] So, for that, we have a name over here.
[07:56] It's a required field.
[07:58] Now, we want to have a email.
[08:00] So, for that, we'll come over here.
[08:01] In the text answer, we'll be clicking on short answer.
[08:02] So, you can see text input.
[08:04] So, we'll be changing the name as email over.
[08:05] Here and it's a required field.
[08:07] And now, we need to take the description.
[08:10] So, for that, add field.
[08:12] We'll be requiring a paragraph.
[08:13] And we'll be writing as a description.
[08:14] If you want to add the instruction over here, you can write it.
[08:16] It's an optional field.
[08:17] And we can make it a required now.
[08:18] Now, you can change the continue option to done or submit, whatever works for you.
[08:25] Once it is done, you can give it a name, some name, and click on create flow.
[08:28] Okay?
[08:28] And your flow will be created on the spot.
[08:30] Once the flow is created, come over here, click on three dot, and there will be option of publish.
[08:34] So, click on the publish and your flow will get published over here.
[08:36] As you can see, the status will turn into published.
[08:40] Once it is done, so the template which we are creating, so go and if you want, you can create another one.
[08:45] Click template and click on the form over here and choose the flow which we just created.
[08:49] Once it is created, now you can write the body message, whatever you want.
[08:52] So, which one which I created looks like this.
[08:54] So, this is the flow which we created.
[08:56] This is the template which we created.
[08:57] Please click in the button to share your name, registered email, and query.
[08:59] And fill the form.
[09:01] So, you have completed step one of creating the flow and the template.
[09:05] Once it is done, come on the chatbot part.
[09:05] And this
[09:07] Is the chatbot which we which I have created.
[09:08] Also, I'll be sharing this particular chatbot.
[09:09] Don't worry.
[09:11] You can come over here and import this the whole chatbot which I have created.
[09:14] So, you don't have to create everything manually.
[09:15] So, I'll click on edit.
[09:16] So, you can create a new one.
[09:18] So, now we have only one trigger on message.
[09:20] So, whenever a user message us, so it could be a keyword.
[09:24] So, you don't want to have any kind of a message.
[09:25] For example, you want to create a different flow whenever user message something else.
[09:29] So, you can do that as well over here.
[09:31] So, whenever user message "Hello, hi", you can enable the fuzzy match so the "Hey" and that all thing also work.
[09:37] Select the number on which you want to enable this particular part because multiple phone number can be added inside this.
[09:44] Now, whenever you send a message, now what we need to do?
[09:46] We need to send them a button message saying "Hello, thanks for con- contacting" whatever company name is.
[09:49] Okay?
[09:51] Now, you can have multiple button option over here: bought a course, not bought a course.
[09:57] So, now whenever user click on any of the button, what do you want to do?
[09:58] So, for that from the left-hand side you can pick up this particular option.
[10:01] So, for this we use the send button message.
[10:03] Now, you can use a HTTP method to get the information from your
[10:07] Database, CRM, from wherever you want to.
[10:09] So, we are using this N8N over here.
[10:11] Don't worry, I'll be coming to the N8N setup a little bit later.
[10:15] But for now, we'll be using this particular link.
[10:16] From that, we will be getting the information.
[10:19] So, once we get the information, so in the data selector, as you can see in the bottom, we'll be getting all the information over here as well.
[10:26] Okay, so let's let me click over here.
[10:28] So, as you can see in the HTTP, we can see we have data option over here and we are getting the name and email.
[10:31] Okay?
[10:33] This will only work when you click on the test part.
[10:35] Okay?
[10:37] But don't worry, I'll be giving this whole flow to you.
[10:39] So, you can just copy the JSON, paste it over here, everything will work like how we do in the N8N.
[10:43] So, now once we get the information, now what do we need to do?
[10:45] We need to show the particular information to the user.
[10:47] So, we can say here are the details for your particular account, registered email.
[10:51] Then we need to show that email over here.
[10:52] So, it's the same thing.
[10:54] From the data selector, just click on the email and that particular field will be pasted over here.
[10:58] Same for the name.
[11:00] Once that is done, then we need now we need a list option over here.
[11:02] For that reason, we have used this send list message.
[11:04] This is the send list message.
[11:06] Where we are having the main menu.
[11:08] Okay?
[11:08] The bottom
[11:08] Uh, main menu option which you which you just saw.
[11:11] Inside that, now we have multiple rows over there.
[11:13] The login and access, course help, as you can see in the left-hand side in the WhatsApp uh app.
[11:19] And now, whenever the user click on any of the list option, another message should go.
[11:24] Inside that message, again we are sending a list message where we have the body, then we have multiple row data over here.
[11:29] Unable to login, course not visible, how to watch course, change email address, multiple things.
[11:35] Now, on each and every button you can map it.
[11:37] For just demo purpose, I have just mapped to the one of the options over here, but you can map to each and every button.
[11:42] That's how the business work, right?
[11:44] You can't leave it open-ended.
[11:46] So, whenever user click on the course not visible, we are sending this particular send button message options over here.
[11:51] Now you can give your proper answer, whatever you think is the particular answer.
[11:54] Then you can give the button over here.
[11:56] One is got it, second button is I still need help, third button is return to menu.
[11:59] Now, in the got it means user satisfied.
[12:01] So, for at that time you can take the feedback from the user.
[12:05] Now, in the feedback you can have the image URL which you want to paste it up there.
[12:08] Okay?
[12:08] Now, in the button message itself,
[12:09] You can change the header.
[12:11] You can have the image, video, document, text, whatever you want.
[12:13] Okay?
[12:14] It's very customizable.
[12:15] Now, you can have the image URL, what message you want to write.
[12:19] Then we have the multiple button, like loved it, whatever feedback you want to take.
[12:23] Now, that feedback will be sending over to N8N.
[12:25] From N8N we'll be pasting inside the Google Sheet.
[12:29] Now, if the user is not satisfied, okay?
[12:31] They are, they still need help.
[12:33] So, at that time what will we be doing?
[12:34] We'll be sending the template message which is created to fill the form.
[12:37] So, we'll be using this send template message from the left-hand option over here.
[12:41] There are multiple options which you can explore, okay?
[12:43] And we'll be adding the recipient number.
[12:45] From where will we be getting?
[12:48] From the on message field.
[12:49] So, we have this uh sender ID and recipient ID.
[12:51] It's nothing but the number of the user.
[12:53] Okay?
[12:54] Once you have that, the phone number through which we want to send particular message and which template we want to use.
[13:00] Once that is done, now you might be thinking how we are capturing the response user is filling.
[13:03] So, for that we use this particular flow over here.
[13:04] Okay?
[13:06] The flow is nothing but it's a very simple thing.
[13:08] Over here, we configure whenever the user fill the
[13:10] Form message.
[13:12] Okay?
[13:12] So, there can be multiple triggers over here.
[13:13] It's the same thing how N8N work, but a mild version.
[13:15] Okay?
[13:17] So, the same thing.
[13:17] We have the WhatsApp over here.
[13:19] And whenever the form message response is filled, this will automatically get triggered.
[13:25] Once it is triggered, we'll be sending the response from here to N8N.
[13:29] So, for that reason we have configured the HTTP URL over here.
[13:32] Where you can see the N8N URL.
[13:35] We are sending this JSON response.
[13:36] We are sending the response to the N8N.
[13:37] And now the people might be thinking what is N8N?
[13:39] If people are new and they are not, N8N is a low code, very powerful automation tool and you can use it in two way, cloud version or the self-hosted version.
[13:47] Cloud version is much more expensive and very limited execution.
[13:50] For that reason, we use the self-hosted version where you can get at only 799 rupees per month.
[13:55] And on top of that, I'll be giving you 20% of discount, using which you can get a much more discounted.
[14:01] And I'm using this for more than 2 years and I'm using KVM too.
[14:04] And but not only for N8N, if you want to host a website because in this era of cloud core, you can create a website like this.
[14:10] Okay?
[14:10] You can host website.
[14:12] Over here and also you get a free domain name.
[14:17] Which is very much critical if you want to connect your back-end and front-end.
[14:19] If you're a technical person, you will know it.
[14:21] But don't worry, you get a free domain name.
[14:23] And to have a coupon code, just come and write Lakshya20 and you will get extra 20% off.
[14:28] So, once you are done the payment and everything set up, you will be seeing such kind of a screen.
[14:31] Where you can click on the create flow and also I'll be giving this particular flow.
[14:37] Inside that, you will be seeing such kind of a flow which I'll be giving you obviously, but if you want to create on a from the scratch, you can club click on the plus icon, search for the webhook.
[14:44] So, webhook is nothing but it's kind of a address where you want to receive the information from the external service.
[14:49] Okay?
[14:52] External service in our case is a Chat Things from where we are sending the information to here.
[14:55] Okay?
[14:55] So, once we are getting the information, the address can have multiple route.
[14:59] It could be a get route, it could be a post route.
[15:02] Get route is nothing but just to get the information from this particular server.
[15:06] Post route is nothing but posting information over here.
[15:07] Okay?
[15:09] So, in the get route, we are getting the information from the Google Sheet.
[15:10] Which is our course database.
[15:13] Where we have all the user, all the name and email address.
[15:17] Uh, which we are showing when the user is coming to our WhatsApp support bot.
[15:20] At that time we are getting the particular information from the user.
[15:21] Okay?
[15:24] And we are sending back to our platform.
[15:26] Okay?
[15:26] Name and email.
[15:27] The same information you were seeing over here.
[15:29] Okay?
[15:29] Once you have that, now the second information which you want to post it over here is the feedback information and the form information.
[15:36] Okay?
[15:36] So, for that we are using a switch route.
[15:37] If there is an interactive route, interactive type is nothing but the form message which we submit.
[15:40] Okay?
[15:43] And if you have a feedback and then we are routing accordingly.
[15:44] Form fill, then we are pasting that information inside our database where we have phone number, name, email, description.
[15:50] And for the feedback, we have this particular phone number and feedback over here.
[15:53] Which is pasting inside the Google Sheet.
[15:54] If you don't understand any of this thing, even if you are finding difficulty, there will be a link for our school community in the description.
[15:58] You can go and grab all this information from there.
[16:02] Now, for business owner who are handling the support system manually and spending so much time on it, I would really recommend implement this solution because within next few years AI and automation is going to take over.
[16:15] The world and each and every business.
[16:17] If you don't implement this right now, your competitor will implement it and they will scale.
[16:23] And you would still be replying to all your customer manually and wasting your time over there.
[16:27] If you are a little bit technical, if you know such kind of a stuff, if you have a tech team, tell them to do it.
[16:31] If there is no kind kind of a technical team, we provide you the support, we provide this kind of a service.
[16:36] You can click on the link in the description, chatthings.com and I'll be helping you out over there.
[16:40] So, if you like this particular video, please press the like button.
[16:44] Let me know your thought in the comment box.
[16:45] We'll meet in the next video.
[16:45] Till then, take care.
