← Back to blog
WhatsApp

Connect WhatsApp API to CRM: Step-by-Step Setup Guide

July 15, 20264 min readIng. Humberto González

The official Meta Cloud API lets you receive and send WhatsApp messages from your CRM without losing a single lead. Here's exactly what you need and how to wire it up.

Why Connect WhatsApp to Your CRM at All?

If you're running a small business and customers message you on WhatsApp, you already know the problem: messages scatter across devices, team members miss replies, and you have no record of conversations. Connecting WhatsApp to your CRM fixes that. Every message lands in one place, your whole team sees it, and you can automate follow-ups. Let me walk you through the official Meta Cloud API—what it actually is, what you need to buy or set up, and how to make sure nothing gets lost.

What Is the Meta Cloud API for WhatsApp?

The Meta Cloud API (also called the WhatsApp Business Cloud API) is Meta's official way to send and receive WhatsApp messages programmatically. It's not a hack or workaround; it's the real thing. You get a dedicated phone number, webhooks that notify your CRM when a message arrives, and the ability to send templated messages, media, and quick replies back.

The key difference from the WhatsApp Business app: the Cloud API is headless. You don't open WhatsApp on your phone. Instead, your CRM receives messages via HTTP webhooks and you reply through the API. This means multiple team members can work the same number without stepping on each other, and you get full message history in one place.

What You Actually Need to Set Up

1. A Meta Business Account

Go to business.facebook.com and create one if you don't have it. It's free. This is where you'll manage your WhatsApp integration and billing.

2. A WhatsApp Business Account

Inside Meta Business, create a WhatsApp Business Account. This is separate from the consumer WhatsApp account you use on your phone. It's the legal entity that 'owns' your business number.

3. A Dedicated Phone Number

You can use an existing number or buy a new one. Meta has a list of approved providers in your country (most countries have 3–5 options). In Mexico, for example, Twilio and Infobip are common. You'll verify the number with an SMS or call code. Cost is usually $0.5–$2 per month for the number itself.

4. API Credentials

Meta generates a Phone Number ID, Business Account ID, and an API access token. These go into your CRM's WhatsApp settings. Keep the token safe—it's like a password.

5. A Webhook URL

Your CRM needs a public HTTPS endpoint where Meta sends incoming messages. If you're using a commercial CRM, it usually handles this for you. If you're building custom, you'll need to host an endpoint that listens for POST requests and stores the message.

How Messages Flow Into Your CRM (The Real Mechanics)

Here's the flow that prevents lost messages:

  1. Customer sends a message on WhatsApp. It goes to your business number.
  2. Meta Cloud API receives it and immediately sends an HTTP POST to your CRM's webhook URL with the message content, sender phone, timestamp, and message ID.
  3. Your CRM parses the webhook, creates a contact if it's new, and stores the message in the conversation thread.
  4. Your team sees it in the CRM's inbox in real time.
  5. Team member replies through the CRM interface.
  6. CRM sends the reply back through the Meta Cloud API using the same phone number.
  7. Customer receives it as a normal WhatsApp message from your business number.

The critical part: if your CRM's webhook fails, Meta retries for 24 hours. Most platforms log failed deliveries so you can see what went wrong and resend manually. This is why you need a stable, always-on CRM.

Approval and Rate Limits

Meta requires you to submit your use case for approval. This takes 1–3 days. Be honest: say you're using it for customer support or sales. Once approved, you get rate limits (usually 1,000 messages per second for standard businesses, but you won't hit that).

Cost Reality

The number costs $0.50–$2/month. Incoming messages are free. Outgoing templated messages (like order confirmations) cost $0.005–$0.01 each depending on your country. Session messages (replies within 24 hours of a customer message) are usually free. It's cheap.

The Practical Takeaway

Setting up the Meta Cloud API is straightforward: get a Meta Business Account, add a WhatsApp Business Account, verify a number, generate credentials, and plug them into your CRM. The magic happens in the webhook—every message hits your CRM instantly, and your team works from one inbox. No more scattered conversations, no lost leads. If you're looking for a lightweight CRM built specifically for this, guats.site handles the whole flow for you: one phone number, shared inbox for your team, full chat history, and automations—no developer needed.

Get your operation off a personal phone

One number, the whole team, full history per client and automations that do not feel robotic. When someone quits, the conversation stays with the company.

See how it works

You might also like