Guide · WhatsApp and Dynamics 365

CRM and WhatsApp integration: how to send, log and answer WhatsApp messages from Dynamics 365

Yitzhar Mordechai, CTO at Zooz-TechUpdated 22.11.20266 min read
In short

Connecting a CRM to WhatsApp relies on Meta's WhatsApp Business Platform, either directly through the Cloud API or through an authorized Business Solution Provider (BSP) such as Twilio. Three rules decide what you can send: the customer's prior opt-in, message templates approved by WhatsApp, and a 24-hour customer service window in which you can reply freely. In Dynamics 365 you can turn on a built-in WhatsApp channel for the contact center, or build an integration that logs every message, outgoing and incoming, in the customer record. On top of that, you can add an AI agent that answers and hands over to a representative with the full context.

What should you know about the WhatsApp Business Platform before connecting a CRM?

The WhatsApp Business Platform is Meta's interface for organizations. The organization connects a business phone number to a WhatsApp Business account, and sends and receives messages through an API. You can work directly with Meta's Cloud API, or through an authorized provider (BSP) that adds number management, tooling and support.

Two kinds of conversations

  • The customer starts: when a customer sends a message, a 24-hour customer service window opens. Inside it you can reply with free-form messages, and every new message from the customer resets the clock.
  • The organization starts: outside the window you can send only an approved message template. Every template belongs to a category (marketing, utility or authentication) and can be sent only after it passes review and is marked approved.

Prior opt-in

Under WhatsApp's opt-in policy, you may contact only a customer who shared the number and agreed to receive messages from the organization. The opt-in must name the organization and make clear that the messages come over WhatsApp. You can collect it on a website, in a form, by SMS or during a call.

Pricing

Meta charges per message, by template category and by the recipient's country. Prices and rules are updated every quarter, so check the official page before planning a large send.

How do you connect WhatsApp to Dynamics 365?

There are two main options. The choice depends on whether you run a contact center with representatives, or send messages from processes in the CRM.

Connection optionWhen it fitsKeep in mind
Built-in WhatsApp channel through TwilioA service center in Dynamics 365 Customer Service or Contact Center: routing to representatives, templates and the conversation inside the representative's workspaceTemplates are built in Twilio and approved by WhatsApp
Integration with a provider's APIMessages sent from processes: reminders, status updates, notices to customersBuilt in Power Automate or Azure Functions against the Cloud API or a provider such as Twilio. Gives you full control over logging and templates

Sources: Configure a WhatsApp channel through Twilio, on Microsoft Learn.

Many organizations combine the two: a built-in channel for service conversations, and a dedicated integration for proactive messages from processes. You can read about the processes themselves on the Power Platform page.

How do you log every message in the customer record?

The goal: a representative who opens the customer record sees the whole conversation, without searching someone's phone.

  • An activity per message: every message is logged as an activity on the contact or the case, with direction (outgoing or incoming), template name, content and time.
  • Delivery status: the provider returns sent, delivered, read or failed events. A process that listens to them updates the activity, so you also see messages that did not arrive.
  • Identifying the customer: usually by phone number. In 2026 WhatsApp is adding usernames and a new per-user identifier (BSUID), and Microsoft recommends updating processes that identify customers by phone number alone.
  • Incoming messages: a customer's reply to a template is linked to the record it was sent from, and opens a case or a task as needed.

Which messages do you send from the CRM as templates?

Most proactive messages are utility messages: an appointment or meeting reminder, a case status update, a notice about a pending document, or an operational notice to a group of customers. The template includes variables, such as name, case number and date, filled in from CRM fields. A Power Automate flow sends it when something happens on the record, for example a status change.

A few rules from the field: every language is a separate template that needs approval. A marketing message requires the appropriate opt-in. And a rejected template is not sent, so the process should check the status and raise an alert.

How do you add an AI agent and handover to a representative?

When the customer writes, the service window opens, and an AI agent can answer there instead of leaving the customer waiting. A good agent does more than answer fixed questions: it identifies the customer, reads data from the organization's systems, and performs a defined action, such as opening a case. Access to systems goes through controlled processes or through an MCP layer, within permissions.

When a person is needed, the agent hands the conversation to a representative or the right person with the full context, and the whole conversation is logged in the CRM. For how to design such an agent, from sources to handover, read the guide AI agent for customer service.

Privacy and consent: what should you check?

  • Store the opt-in in the CRM: when it was given, through which channel and for which kind of messages.
  • Honor requests to stop receiving messages, and block automated sends to a customer who asked for that.
  • Send only what is needed in the message. Sensitive details are better shown in a secure portal, with a link in the message.
  • Define who can see the conversation in the CRM, and how long it is kept.
  • Check compliance with Israel's Privacy Protection Law and its Amendment 13, and with the rules on advertising messages, together with the organization's legal counsel.

Examples from our projects

Mekorot · CRM and customer portal (in progress): as part of developing and maintaining the CRM in Dynamics 365, the scope includes sending WhatsApp messages from the CRM through an API, based on approved templates, with the messages logged in the customer file.

Ashtrom Group · AI agent on WhatsApp: messages pass through Twilio to an agent in Azure AI Foundry that identifies the customer and the order, pulls the order, truck and driver from Priority ERP, and returns an arrival time based on traffic. When there is a delay or missing information, it brings the right person into the conversation. More on Ashtrom's systems.

KESHER · Rishon LeZion Municipality: a bot on the website, on WhatsApp and by voice that answers only from approved sources, and a contact center console where a representative joins the conversation. The system is connected to the municipality's Dynamics 365, and every conversation is logged in the CRM.

Frequently asked questions

Can we send a WhatsApp message to a customer who has not contacted us?

Yes, but only with a template approved by WhatsApp, and only to a customer who opted in to receive messages from the organization. A free-form message can be sent only within 24 hours of the customer's last message.

Do we need Dynamics 365 Contact Center to connect WhatsApp to the CRM?

No. A built-in channel fits a contact center with representatives and routing. For messages sent from processes, such as reminders and status updates, you can connect the CRM directly to the WhatsApp API or a provider's API, through Power Automate or Azure Functions.

How is every message saved in the customer record?

Every outgoing and incoming message is logged as an activity on the contact, with direction, template, content and time. Delivery status is updated from the events the provider returns: sent, delivered, read or failed.

Can an AI agent answer on WhatsApp instead of a representative?

Yes, within the service window. The agent answers from approved sources and from system data, and hands over to a representative with the full context when needed. This is how the Ashtrom Group agent and KESHER work.

How much does it cost to send WhatsApp messages?

Meta charges per message, by template category and recipient country, and prices are updated. Check the current rate on Meta's official pricing page, and add the provider's cost if you work through a BSP.

Official sources: Meta for Developers: customer service window, templates, opt-in, pricing. Microsoft Learn: WhatsApp channel through Twilio. Twilio: WhatsApp API. Checked on 22.11.2026.

Yitzhar Mordechai
Yitzhar Mordechai

CTO at Zooz-Tech. Leads development and architecture of AI agents, Generative UI and Azure infrastructure.

Want to connect your CRM to WhatsApp?

Book a call