Title: How to build WhatsApp Flows in minutes – not days  

URL: https://www.infobip.com/engineering/how-to-build-whatsapp-flows-in-minutes-not-days

What pops into your head when you think of AI?  

Be honest, you probably think about u003cstrongu003eall the lines of code you don’t have to writeu003c/strongu003e and the time you’ve saved, right?  

Now, you can also apply this to u003ca href=u0022https://www.infobip.com/whatsapp-business/flows-ai-agentu0022u003ecreate WhatsApp Flows with u003cstrongu003eInfobip’s AI Agentu003c/strongu003eu003c/au003e in a matter of seconds, not days.  

But let’s take a step back: why should you care about WhatsApp Flows in the first place?  

## What are WhatsApp Flows?  

Imagine this scenario: you’re u003cstrongu003etrying to sign up for a special offeru003c/strongu003e from your favorite online store. Before WhatsApp Flows, you’d be stuck in a long back-and-forth: u003cemu003eWhat’s your name?u003c/emu003e, u003cemu003eCan I get your email?u003c/emu003e, u003cemu003eAnd your phone number?u003c/emu003e - you know the drill.  

By the time you’ve answered all the questions, it feels like you’ve exchanged 20 messages and start wondering if you’ll ever actually get that discount.  

Enter WhatsApp Flows.  

The business sends you a u003cstrongu003esimple button with a clear call-to-actionu003c/strongu003e. A neat little form pops up right in WhatsApp, where you can quickly fill in your details - name, email, phone number, all in one go. Once you're done, you hit submit and voila, it’s all wrapped up in seconds.  

It works similarly to a Google Form, but it's integrated natively into the chat experience, making it faster and more efficient.  

## The two faces of WhatsApp Flows – Simple and Dynamic  

WhatsApp Flows come in two types: u003cstrongu003eSimple Flowsu003c/strongu003e and u003cstrongu003eDynamic Flowsu003c/strongu003e. 

u003cliu003eu003cstrongu003eSimple Flowsu003c/strongu003e are like u003cstrongu003emini Google Forms inside WhatsAppu003c/strongu003e. They let users quickly fill out and submit info - perfect for things like lead forms, surveys, or contact details. No fancy integrations, just fast and easy data collection. u003c/liu003eu003cliu003eOn the other hand, u003cstrongu003eDynamic Flowsu003c/strongu003e are far more powerful. They u003cstrongu003econnect in real time to backend systemsu003c/strongu003e, so when you book an appointment, for example, it checks availability and shows available time slots, all within the chat. Perfect for complex tasks like bookings, recommendations, or customer support. u003c/liu003e

What's the catch with Dynamic Flows? They take a lot of effort and require someone with special know-how to handle - and u003cstrongu003eit can take weeks of worku003c/strongu003e. 

## Apollo’s Early Test of WhatsApp Flows with Infobip 

“When Meta first launched WhatsApp Flows, they selected a few Business Solution Partners and Infobip was one of those”, explains u003cstrongu003eMani Prakashu003c/strongu003e u003cstrongu003eMosugantiu003c/strongu003e.  

Infobip then nominated some clients for closed testing, and u003cstrongu003eApollo Hospitalsu003c/strongu003e, one of India’s largest hospital chains, was one of the first to test WhatsApp Flows.   

 “Apollo had a use case where u003ca href=u0022https://business.whatsapp.com/resources/success-stories/apollo-24-7u0022 target=u0022_blanku0022 rel=u0022noreferrer noopeneru0022u003ethey wanted to enable users to book lab tests at home via WhatsAppu003c/au003e”, says Prakash:  

 In India, it's common to book services like blood tests at home, where a lab technician visits your location, collects the sample, and sends results through WhatsApp within a few hours or a few days. This service was already available through their application and website, but Apollo wanted to bring this service to WhatsApp for easier accessibility.  

## Let’s see WhatsApp Flows in action 

The process starts when a user sends a simple u003cemu003eHiu003c/emu003e to Apollo on WhatsApp.   

They’re then presented with a menu of options, including the ability to book a lab test. This is where WhatsApp Flows really shine.  

Mosuganti explains how the process works:  

After the user expresses interest by saying they want to book a lab test, a u003cstrongu003edynamic WhatsApp Flow is triggeredu003c/strongu003e. The flow connects to Apollo’s backend system and it automatically pre-fills the user's existing details like name and address based on their profile, streamlining the process.  

The user is prompted to enter the name of the test they wish to book. As they type, the flow acts u003cstrongu003elike a mini Google searchu003c/strongu003e, fetching the relevant test options based on the user’s input and showing a list of available tests. The system retrieves the available tests linked to the keyword the user entered, thanks to a connection to Apollo’s database, making the process seamless and fast.  

In this case, building WhatsApp Flows was split into two main parts: u003cstrongu003efrontend developmentu003c/strongu003e (designing and building the user-facing screens) and u003cstrongu003ebackend integrationu003c/strongu003e (connecting the flows with APIs to fetch real-time data like lab test and doctor appointment availability).   

u003cstrongu003eThe entire process took 60 daysu003c/strongu003e.  

## How AI Agent cuts development time – from days to minutes  

Given these challenges, Mani Prakash and his team realized they needed to u003cstrongu003efast-track the flow development processu003c/strongu003e. That's when they turned to AI for help and built AI Agent for WhatsApp Flows.  

For example, if I want to create a flow like u0022Book a Doctor's Appointmentu0022, I can simply type the requirements, and the AI will automatically generate the entire u003cstrongu003eJSON codeu003c/strongu003e needed for the flow. What would previously take u003cstrongu003e2 hoursu003c/strongu003e of manual work is now completed in a matter of u003cstrongu003esecondsu003c/strongu003e. 

u003cstrongu003eWith AI, building WhatsApp Flows now takes minutes instead of daysu003c/strongu003e, making it easier to launch both simple and complex flows faster and keep up with customer needs. 

##  Try our AI Agent for WhatsApp Flows

Even without the help with AI, businesses are actively using WhatsApp Flows - nearly u003cstrongu003e3 million Flow messagesu003c/strongu003e have already been exchanged through Infobip between businesses and their end users.

But now, with this AI magic, businesses no longer need to build flows piece by piece or dive into complex API details - and cut days of work into minutes, with no expertise required. u003ca href=u0022https://www.infobip.com/whatsapp-business/flows-ai-agentu0022u003eTry our AI agent nowu003c/au003e and see how easily you can build complete WhatsApp Flows in minutes!