Memuat
Memuat
Watch every step above performed live, with English narration.
0 plays
Class book
Page 1 / 5
Cover: Agentic AI Without Coding Class #36: Integration Options: WhatsApp Business API, Third-Party Services, Instagram, and Telegram
Click a page or use ◀ ▶ to turn · swipe on mobile · to enlarge
Want to go deeper?
Join one of our courses or ask us directly on WhatsApp.
Picked from the software, topic, and level of “Agentic AI Without Coding Class #36: Integration Options: WhatsApp Business API, Third-Party Services, Instagram, and Telegram”.
Other ways we can help with Agentic AI.
Learn with a mentor
Scheduled AI & Machine Learning courses with live guidance and a certificate.

MATLAB Agentic AI Course: Building Autonomous AI Agents with MATLAB & Simulink

Midjourney Course: Create Stunning AI Images from Text
★ 4.9

DALL-E Course: Creating Professional AI Images from Text
★ 4.9
Have it built for you
No time to learn Agentic AI? Our team can do the project for you.

MATLAB & Simulink Development — Agentic AI for Simulation Automation and Data Analysis

AI Image Creation with Stable Diffusion — Unlimited Custom Visual Production
★ 4.9

AI Image & Video Creation with Leonardo AI — All-in-One Visuals for Business
★ 4.9
Get notified about new Agentic AI classes
At most one email a week. Unfollow anytime with one click.
The full narration of this video. The current sentence is highlighted while the video plays; click any sentence to jump there.
Hi, and welcome back to Agentic AI Without Coding. We're starting Session 8: agents for WhatsApp and social media. In Session 7 we built an admin agent that can answer stock and price questions and log orders. In this episode we map out the doors that can connect that agent to where customers actually chat, along with their costs and risks.
Let's start with the agent we already have. In Session 7, the Sunset Coffee admin agent learned to check stock, quote prices, and log orders to Google Sheets. The problem is, until now we've talked to it through n8n's built-in chat window. Sunset Coffee's customers certainly don't open n8n. They ask on WhatsApp, Instagram, or Telegram. So our agent needs a door. This is how our agent is set up in n8n. Look at the leftmost node, the trigger. In Session 7 it was the built-in chat for testing. Now that box has a question mark, because that's what we're going to replace. The AI Agent node in the middle doesn't change. Its instructions stay the same: serve Sunset Coffee's customers in a friendly, accurate way. What's new is the node that sends the reply. The agent's answer has to go back to the channel where the customer asked. Meanwhile the AI model, the Google Sheets tools, and the memory stay attached as before. One note: the memory will be separated per customer, so Rina's chat doesn't get mixed up with Budi's. Before comparing the options, let's understand the journey of one message. First, the customer types a question in their favorite chat app. Second, the platform that owns that app, Meta for WhatsApp and Instagram, or Telegram, forwards that message outward. Third, n8n receives it through a webhook. A webhook is a special receiving address, like a mailbox that's always ready and waiting for deliveries. Fourth, the agent reads the message, uses its tools, and writes an answer. Fifth, the answer is sent back to the customer's chat. Whatever the channel, the pattern is always the same. What differs are the requirements, costs, and risks. That's what we compare now.
The first and closest door is the WhatsApp Business App, a free phone app that Dimas may already use every day. For example, Rina asks at nine forty at night: is the liter iced coffee still available? Since the shop is already closed, the app automatically sends an away message. The text is fixed, written once in the settings. The next morning, Dimas just types slash prices, then picks the saved quick reply. The price list goes out right away. Handy, but notice: Rina's question about the liter size being in stock still hasn't been answered. This automatic reply doesn't understand what the question says. So where does it stand for an agent? It does have automatic replies, the greeting and the away message. But the text is fixed, so it can't answer according to what the question says. The app has a catalog and customer labels, but it can't check stock in Google Sheets. Most importantly, the WhatsApp Business App is used by people on a phone or WhatsApp Web. It doesn't offer an official connection to n8n or an AI agent. It's free. So this app is a great, tidy first step, and it stays useful for Dimas. But for an agent, we need a different door. So when is the WhatsApp Business App alone enough? First, when chats are still few. For example, under twenty chats a day, Dimas can still reply alone. Second, when the questions repeat and the answers are fixed, like opening hours, the address, and the price list. Quick replies help a lot here. Third, when someone is always holding the phone. Remember, quick replies only help Dimas type faster; they don't replace Dimas. And the signs it's time to level up: chats pile up at night, people often ask about stock, or orders get lost because they're logged by hand. If these signs show up in your business, it's time to use an agent.
The second door is the official route: the WhatsApp Business Platform, often called the WhatsApp Business API or Cloud API. As a first step, you need a Meta Business account with your business and owner details. Second, business verification. Meta asks for business documents, and the displayed name must match the registered business. Just to try it out, there's usually a test number available without full verification. Third, a dedicated number. A number used with the API generally can't also be used in the regular WhatsApp app at the same time. Many businesses use a new number, or move their old number carefully. Check the latest terms before moving it. Fourth, message templates. If the business wants to start a conversation, for example to send order updates, the text has to be a template already approved by Meta. Fifth, connecting to n8n. This can be done directly from Meta, or through an official intermediary. There are more requirements, but this is the route Meta allows for automation. There are four ground rules you must understand. First, the twenty-four-hour service window. After a customer sends a message, the business can reply freely for the next twenty-four hours. For a customer service agent, most replies happen inside this window. Second, outside that window, messages you start must use an approved template. For example, a reminder that an order is ready for pickup. Third, the cost. Meta used to charge per conversation. The model then changed to per template message, with different rates for marketing, utility, and authentication. Because these rules are updated often, always check the latest official pricing page before you do the math. Fourth, Meta's policy limits general-purpose AI chatbots on the WhatsApp Business Platform. Your agent must focus on serving your business matters, like products, orders, and delivery. The Sunset Coffee admin agent clearly fits this category. To make it clearer, let's look at the twenty-four-hour window in practice. This is the view from the customer's side. At ten in the morning, Budi orders two liter-size iced coffees for tomorrow afternoon. Because Budi started the chat, the service window opens. The agent replies right away with the order details and the total, one hundred seventy thousand rupiah. A reply like this falls inside the window. The next day, more than twenty-four hours have passed since Budi's last message. To let the customer know the order is on its way, the business has to use an approved order update template. It contains information the customer needs, not a promotional pitch. So, do you need an intermediary or not? The first option is the Cloud API directly from Meta, which you connect to n8n yourself. The second option goes through an official provider called a BSP, short for Business Solution Provider, an official Meta partner. On cost, the Cloud API directly only carries Meta's message rates. Through a BSP, there's usually an extra subscription fee. On ease of use, the Cloud API directly needs more technical setup. A BSP usually helps with sign-up and verification, and provides a dashboard. So the Cloud API directly suits you if you're ready to follow the steps in n8n, as we do in Episode 40. A BSP suits you if you need support and a shared inbox for your team. Make sure the provider you choose is truly registered as an official Meta partner.
The third door is often offered because it's cheap: unofficial third-party services based on WhatsApp Web. They work much like opening WhatsApp Web on your laptop. You just scan a QR code, and the service links to a regular WhatsApp number as an extra device. No business verification, no templates. Messages come in, the bot replies. For a while it looks smooth, and the cost is low. But this method breaks WhatsApp's terms. WhatsApp's systems can detect automated patterns, then restrict or block the number. Imagine the number Sunset Coffee has used for years suddenly becoming unreachable for customers. Let's be honest about the risks. First, the number can be restricted or permanently blocked. The risk grows if the number is used to send bulk messages or promotions without permission. Second, if the number is blocked, you also lose access to the chat history and customer contacts on that number. For a business that relies on WhatsApp, that's a huge loss. Third, the connection can break every time WhatsApp updates its system. The bot suddenly goes silent, and customers get no reply without you even noticing. Fourth, customer chats pass through a server owned by someone else. You may not know how that data is stored or who can read it. Fifth, there's no official support. When the number has problems, Meta won't help, because the route simply isn't allowed. If you still want to try it for learning, use a separate test-only number, never your main business number. And plan to move to the official route before serving real customers. Cheap at the start can become very expensive if you lose your business number.
The fourth door is Instagram DMs. Sunset Coffee is quite active on Instagram, and many price questions come from there. The first requirement: the Instagram account must be a professional account, meaning a business or creator account. You can switch this in the Instagram settings. Second, that account is linked to a Facebook page and a Meta Business account. So the route is similar to official WhatsApp, and the settings live in the Meta ecosystem. Third, the twenty-four-hour window rule applies here too. The bot replies to incoming messages; it doesn't spread promotions to all your followers. Instagram DMs are great for answering questions that come from posts, comments, or ads. For Nadia, who manages Instagram accounts for several small businesses, this door is very useful. The fifth door, and the friendliest for learning, is a Telegram bot. You create the bot right inside the Telegram app, by chatting with an official bot called BotFather. You type the newbot command. BotFather asks for the bot's name. The questions are simple and to the point. We answer with the bot's name, for example Sunset Coffee Assistant. After that, BotFather also asks for a username that ends with the word bot. Done. BotFather gives you a token, the key n8n uses to connect to the bot. This token is secret, so treat it like a password. It's free, needs no business verification, and is ready in five minutes. We go through the full steps in Episode 39. Why is Telegram a good place to learn first? Creating the bot takes only about five minutes. There are no message fees and no business verification, so you're free to test hundreds of times. And one token is enough to connect to n8n. Most importantly, the agent logic you test on Telegram can be reused when you move to official WhatsApp. Only the way in and the way out get replaced.
Now let's line them all up. The WhatsApp Business App: free and very easy, but the text is fixed and it can't be connected to an agent. The WhatsApp Cloud API, or through a BSP: the official route. It costs per template message according to the latest pricing page, and needs verification and templates, but it's safe, allowed, and the right choice for serving real customers. Unofficial third-party services: cheap, and you just scan a QR code, but the number can be blocked and customer data passes through someone else. Instagram DMs: they follow Meta's terms, need a professional account linked to Meta, have the twenty-four-hour rule, and are good for questions from posts and ads. Telegram bots: free and the easiest. The catch is that in Indonesia, fewer customers usually use Telegram than WhatsApp. That's why we make Telegram our place to learn. If you're still unsure, use these three questions. First, where do your customers ask most often? The main door has to follow customers' habits, not our taste. For Sunset Coffee the answer is clear: WhatsApp. Second, how important is that number to the business? If the number is already printed on the packaging, business cards, and the Instagram bio, it must use the official route. Losing the number means losing customers. Third, are you learning, or already serving real customers? While learning, use Telegram so you're free to experiment. When serving customers, use the official route. So what's the recommended route? First, learn and test the agent on Telegram with no risk. We do this in Episode 39. Second, before opening it to customers, design the escalation flow: when the bot answers and when Dimas has to step in. That's the topic of the next episode. Third, connect the agent to WhatsApp through the official route, the Cloud API or a BSP. That's the Episode 40 practice. Fourth, if many questions come from Instagram, add Instagram DMs with the same pattern. Meanwhile, Dimas can keep using the WhatsApp Business App as a manual backup on another number. Before moving on, do these four things. First, note which channel your customers use most to ask questions, and roughly how many chats you get per day. Second, decide your learning route and your production route. For most businesses, the answer is Telegram for learning and official WhatsApp for customers. Third, open the official WhatsApp Business Platform pricing page and note the latest terms. Remember, the screens in this video are a simulation, and menu names and pricing rules can change. Fourth, write down the ten customer questions you get most often. We use this list in the next episode to design the reply flow.
Let's recap. There are six doors: the WhatsApp Business App, the official Cloud API, official providers or BSPs, risky unofficial services, Instagram DMs, and Telegram bots. For an agent, the safe route is to learn on Telegram and then serve through official WhatsApp. Unofficial routes are cheap, but never gamble your main business number. In the next episode we design the auto-reply flow: message categories, when the bot answers on its own, and when it has to hand the customer over to Dimas. Have your list of ten customer questions ready. See you in Episode 37.
Try these on your own after watching to lock in what you learned.
Type a question or keyword; we find the part of this episode that explains it and jump the video there.
Notes are saved with the current video time and are only visible to you.
Stuck on a step? Ask here; the instructor and other learners can answer.
No questions yet.

Cerdas Inovasi Digital Team
Software developers, BIM & 3D engineers, and AI practitioners
We build software, BIM models, games and AI automations for clients every day, and turn that hands-on work into step-by-step classes: every step is shown on screen and comes with a PDF guide you can keep.
See our clients →