AI Automation lecture to integrate WhatsApp
Assalamu Alaikum, I welcome you to the next lecture on AI Automation. In the previous lecture, we tried to integrate WhatsApp with NA 10, and we set all the things like Facebook apps and all the keys, etc., correctly. The confusion within the charge model was also fine, but despite this, the integration is not fine. The reason why I wanted to show you that lecture was that if I wanted, I could have shown you the same integration success story on the cloud, but the purpose was that you first know how this integration will work or not on the local host.
Now, since you have figured out that it did not work on the local host, now I will tell you the reason why this is the reason. The reason is that on the local host, you do not have a public domain available to you, which is what these applications are like, WhatsApp, Telegram, or Hubspot, or which are source control applications, or which are e-commerce applications.
For the communication of these applications like Shopify, etc., the secure public main or secure communication channel that is required for integration is not available on your local host, due to which it is not possible, and now
What we will do is that instead of a local host,
we will do this same thing on the cloud because the other option you have is that you can take a free tier on top of NA 10 and do this with the free account that is available or you can take a subscription to Firstinger and it is comparatively cheaper because they will also give you a public domain and with this the requirement of WhatsApp, Telegram or all these applications for public space will be solved.
- The problem and the other thing is that if, for example, you do not do this and you say that no, I want to do it on the local host, then you will have to create a secure tunnel for the local host. And for this secure tunnel, there is a website,
- you can also use NGrak or UpCloud Clear, you will have to go there and create a domain, you will have to set up the eight tokens there,
- you will have to set them in their configuration file and some of their environment variables and after that this security will be created but even after that, when you do the integration,
- you may have challenges in one-and-a-half token verification, and this task will be so much TDS that non-technical people will get completely frustrated because it is a very time-consuming task. For technical people, it may be comparatively easy,
- but for non-technical people, it is a very time-consuming task. So, I would suggest that instead of investing time in it, you will have to do all this every time,
- that is, you will have to do this for every application that you have to integrate, and you will have to do it again. You will have to start the process of configuring it.
- You will have to restart the tunnel. Basically, you will have to restart the tunnel every time, then you will have to do the sign-up, and you can then use the URL for further integration. But instead of that, it is better to spend that same time learning what you actually have to learn, which is how to create agents and work on NA10 and do automation.
- This is my suggestion. It is your choice. If you want to do it on the local host, then it is your choice. But there is a big difference between local host and cloud hosting that the work you do on the local host remains on your local machine. If you want to share it with a client, deploy it somewhere, or give it remote access to someone,
- then you cannot do it. It is only possible on the cloud. You can apply what you have from the cloud, and its integration is also easy, and more real-time development and project delivery is done from the cloud. But if you guys want me to explain to you the process of turning these graphs,
- I will explain it to you, but there will be a lot of issues in it, and you will have to handle them. That’s why I suggest that if possible, do the development on the cloud, hosting if there is any, or any other BPS. In my opinion, and in terms of the automation you are learning, that’s enough for today, which is our integral
- Let’s move on to today’s lecture. If you want to run NA10 locally and develop locally, then the application you have, as I said, is an application or a strike people application, as well as applications that are not CM’s, is not integrated. The reason is that you are running it locally, and they need a public domain secure domain. For this,
The solution is that you create a secure tunnel, and for this, you will need Ngraph, which is a tool, or you can also create a cloud-cleared tunnel. And after that, you may have challenges when you install web boxes because sometimes there are challenges in token verification.
That is a separate topic on which I can do a separate video, but I am only telling you this because if you run it locally, if you are hosting, this is the way to basically integrate these applications, but if you are doing it on the cloud, for example, then you do not have to create these tunnels, etc. For that,
You have two options:
You can create your own account, or you can do a free trial on it anytime. For some time, they have given you some executions for free so that you can do third-party development.
So first, if you want to integrate WhatsApp, Telegram, or any other applications within your workflow or with your agents, then you can also take a subscription to the NA10 cloud. If you have to work for a client or you have a long-term project, or you have to work for a long time,
then it is worth taking a subscription from them, even if it is a low-priced subscription. As a human being, this is Take the starter one, but if you want to go cheaper than that,
you can do this by doing VPS hosting on Hostinger or somewhere else, which is comparatively cheaper. For example, I made a proper video in which I also compared all their prices. The VPS hosting that is available on Stinger, if you go for the monthly plan, it is about $10 per month.
And if you go for the early plan, you get it for about $6 per month. So, the integration of WhatsApp that we will do with the agent today will be on VPS hosting. At this time, within my VPS hosting account, on Hostinger, when you have created an account on Hostinger,
for example, you will get a dashboard like this. On the left side, you will get the option of VPS. When you click on it, it will be The VPS page will open, and here you have to go to the Manage section on the right side, which will take you to the Get New VPS plan. If you want to go to your Anytime,
then you will have to click on Manage, and after that, you will see a Manage app button on the right side. If you click on it, then your NA10, which is your hosted version, will open here, and now you can create a new workflow in it.
So we go to Create New Workflow, and you will see that it is exactly like your local setup. It is exactly the same setup here, and there is no difference. You will see that the first thing we have to do in this is that we have to create a trigger for WhatsApp.
When we get a message, we click on the plus sign here, and when this window opens, we type WhatsApp in it. When you type WhatsApp, you will have the option to use WhatsApp. If you click on the app cloud business WhatsApp Business Cloud, we have to click on these messages because we have to receive the messages that are there. It will listen to the messages, that is, it will wait for the message to arrive, and then we will click on these messages.
Next class is next month




