CRM Data Model for WhatsApp Leads: Fields, Stages and What to Sync

Nov 27, 2026 Sweta Desai
WhatsApp CRM data model, fields, stages and sync

A WhatsApp CRM data model is the plan for which records hold a lead and what syncs where.

Get it right before you connect anything, or returning customers become new leads. It suits a CRM with built-in WhatsApp lead management, a synced inbox, or a custom build. Its field names match the WhatsApp Cloud API webhooks today.

Four Records in a WhatsApp CRM Data Model (Contact, Conversation, Deal, Message)

A sound WhatsApp CRM data model splits every lead into four linked records. Each changes at its own speed, so mixing them breeds duplicates.

Record One per Holds
Contact Person Identity, consent, owner, source of first contact
Conversation Thread on one business number Assigned agent, last inbound time, who owes the reply
Deal Enquiry or order Stage, value, quote, next step, lost reason
Message Line in the chat Message ID, direction, type, status, timestamp

Three links hold the records together:

  • Each contact holds many deals over the years.
  • One conversation holds thousands of messages, so messages never sit on the contact itself.
  • The thread hangs on the person, never on the deal, because deals close and customers come back weeks later.

Contact Fields That Keep the WhatsApp CRM Data Model Free of Duplicates

In a WhatsApp CRM data model, contact fields decide whether a returning customer finds the old record.

So keep the list short and store identifiers in one fixed format. Then let the system fill guessable fields.

Field Format Filled by
Phone Digits with country code, such as 919876543210 Webhook, normalised
WhatsApp user ID (BSUID) Country code, a dot, up to 128 characters Webhook user_id
Name Text AI or agent from the chat
Owner One user Assignment rule
Lead source Pick list, such as Click to WhatsApp ad, QR code, website button System, never typed
Ad ID and click ID Text Webhook referral
Consent Event with date, channel and wording shown Form or chat
Marketing stopped Yes or no, with date Webhook

Store the phone number and BSUID as separate WhatsApp CRM fields

Meta’s text-message webhook sends wa_id and from as digits with the country code and no plus sign. Staff, however, save numbers with a leading zero, spaces or no country code. So strip both sides to the same E.164 digits before matching, or last month’s buyer becomes a brand-new lead.

Since early April 2026, every webhook also carries a business-scoped user ID in user_id. According to Meta, a user who adopts a username may arrive with no phone number at all. Meta still sends the number in two cases:

  • That business number exchanged a message or call with the user in the last 30 days.
  • The user sits in your WhatsApp contact book.

So treat the BSUID as a second key, never a replacement for the phone. After all, Meta scopes it to your business portfolio and regenerates it when the user changes number.

Our WhatsApp username guide covers what customers see.

Save WhatsApp opt-in consent as an event, not a tick box

Meta’s opt-in rules require you to name the business and say what the person agrees to receive. So store each consent as a row with date, channel, purpose and exact wording. Likewise, log each withdrawal as its own row.

Marketing has its own stop switch.

When a user turns off offers from your business, Meta fails later marketing templates with error 131050. Write that into a “Marketing stopped” field, so campaigns skip the contact while order updates continue. Our WhatsApp opt-in consent guide covers the full rules.

Capture the lead source from Click to WhatsApp ad data

A Click to WhatsApp ad lead arrives with a referral object. It holds the ad ID in source_id and a click ID in ctwa_clid. Copy both onto the contact at first touch, and never type the source by hand.

Status ads omit the click ID, so a blank there is normal. Our Click to WhatsApp ads page shows the ad side.

Which WhatsApp Conversation Fields Show Who Owes the Next Reply?

Conversation fields answer one daily question: which chats wait on us, and since when. Two fields carry most of that answer, and the rest support them.

  • Last inbound at: the time of the customer’s latest message. The 24-hour free-reply window runs from here, so the reply box can switch to templates on time.
  • Ball with: us or the customer. Flip it on every inbound and outbound message, and sort the inbox by it.
  • Assigned agent: the person replying now. It can differ from the contact owner during a handover.
  • Business number: the number the chat came in on. Meta applies the BSUID phone rules per number, so keep it.

Keep deal stage, reply window and next step date as separate fields

A lead carries three separate clocks, and each one moves for a different reason. For example, one generator rental deal can read like this at 4 pm:

  • Deal stage: Quote sent, because the price went out this morning.
  • Reply window: closes tonight, 24 hours after the customer’s last message.
  • Next step: Thursday, when the customer promised to confirm dates.

So never move a deal to Lost because the window closed. A closed window only means the next message must be an approved template.

The follow-up reminders guide covers how to date each next step.

WhatsApp Lead Pipeline Stages With Entry Rules and Required Fields

In a WhatsApp CRM data model, each stage names what already happened, not what the rep hopes.

Seven stages cover most chat-led sales. Each gets an entry rule anyone can check, plus a field required once its answer is known.

Stage Enters when Field required here
New enquiry First message or ad reply on a new deal Source, owner
Engaged The customer answers a question Need, in their words
Qualified The customer confirms budget, timing or fit Budget or quantity
Quote sent A price goes out in the chat Quote amount, quote date
Negotiation The customer replies to the quote Next step date
Won Payment or signed order arrives Order or booking ID
Lost The customer declines or goes silent after your follow-up rule Lost reason, from a pick list

Require a field only at the stage where its answer exists. Otherwise reps type “N/A” at intake, and filler looks like real data.

Also, a lost reason pick list turns gut feel into counts.

Open a new deal, not a new contact, when a customer returns

When a past buyer writes again, the message joins their existing contact and conversation. However, a new enquiry opens a new deal on that contact.

For instance, a rental firm keeps March’s and June’s bookings apart this way, yet both show one chat. Then the booking ID goes on each deal at Won, so agents find old orders in the thread. Scoring sits on the deal too, as our WhatsApp lead scoring model explains.

What to Sync Between WhatsApp and Your CRM, Field by Field

A WhatsApp CRM integration works when every field has exactly one owner system and every other copy stays read-only.

In short, the inbox owns the thread and replies, while the CRM owns the person, deal and money.

Field Owner Direction and trigger
Phone, BSUID, lead source Inbox To the CRM when the inbox creates a contact
Name, email, budget CRM Back to the inbox sidebar on change
Contact owner CRM To the inbox, which routes new chats to that owner
Assigned agent, ball with Inbox Stays in the inbox, while the CRM keeps a link
Deal stage, value, next step CRM Shown in the inbox, edited in one place only
Message lines Inbox Never copied line by line, so the CRM gets a thread link
Consent, marketing stopped CRM To the inbox and campaign tool, at once

A message-per-task automation breaks this table in three ways:

  • Each line lands as a separate note, so the CRM shows fragments instead of a thread.
  • Replies typed on a phone never pass through the automation, so they go missing.
  • At the task limit it stops quietly, and nobody notices until a customer repeats themselves.

Therefore sync on events: contact created, stage changed, quote sent, deal won.

Sample WhatsApp CRM data model record in JSON

Here, a returning customer sits in the WhatsApp CRM data model after a second enquiry.

{
  "contact": {
    "id": "C-1042",
    "phone": "919876543210",
    "bsuid": "IN.1349120865530274191",
    "name": "Rahul Mehta",
    "owner": "priya",
    "lead_source": { "type": "ctwa_ad", "source_id": "120211...", "ctwa_clid": "Aff-n8ZT..." },
    "consent": [{ "at": "2026-03-02", "channel": "whatsapp", "purpose": "order updates and offers" }],
    "marketing_stopped": false
  },
  "conversation": {
    "id": "V-88",
    "contact_id": "C-1042",
    "business_number": "917000000000",
    "last_inbound_at": "2026-11-26T10:14:00+05:30",
    "ball_with": "us",
    "assigned_agent": "priya"
  },
  "deals": [
    { "id": "D-301", "stage": "won", "value": 42000, "order_id": "RENT-0315" },
    { "id": "D-377", "stage": "quote_sent", "value": 18500, "next_step_at": "2026-11-28T11:00:00+05:30" }
  ],
  "message": {
    "wamid": "wamid.HBgL...",
    "conversation_id": "V-88",
    "deal_id": "D-377",
    "direction": "out",
    "status": "read"
  }
}

How Should a WhatsApp CRM Sync Handle Webhook Retries, Media and Phone Replies?

Most broken syncs fail on four Meta behaviours, not on field mapping. Webhooks repeat, statuses skip steps, media links expire, and phone replies take a separate route. So write one rule for each into your WhatsApp CRM data model before launch.

1. Deduplicate WhatsApp webhooks on the message ID

Meta’s webhook overview says Meta retries failed deliveries for up to 7 days, and retries can create duplicates.

This deduplication rule stores each line once, keyed on its wamid, so a second copy only updates the row.

2. Tag outbound WhatsApp messages with the deal ID

On every send, the API accepts a free text field called biz_opaque_callback_data. Meta returns it in every status webhook for that message. Put the deal ID there, and each delivery or read status lands on the right deal with no lookup.

The same webhook explains a false alarm. A message read on arrival often skips “delivered”. So treat “read” as delivered, and never flag a deal over the gap.

3. Download WhatsApp media files before the links expire

Meta’s media documentation says a download URL lasts 5 minutes. Meanwhile, a media ID from a webhook stays downloadable for only 7 days.

So copy photos, voice notes and PDFs into your own storage at once. Then link each file from its message row.

4. Sync replies sent from the WhatsApp Business app on coexistence

Numbers on coexistence keep the Business app and the API on one number. Phone replies, edits and deletions arrive through the smb_message_echoes webhook.

Subscribe to it, or every phone reply goes missing from the thread.

How to Keep the WhatsApp CRM Data Model Clean After Launch

A WhatsApp CRM data model stays healthy when four counts stay at zero and someone checks them weekly.

  • Open deals with no next step date: must be 0.
  • Contacts created today with a phone matching an older contact: must be 0, or your normalising failed.
  • Messages in your provider’s log versus messages stored: the daily gap must be 0.
  • Media rows without a stored file: must be 0, because the 7-day download limit is close.

Also review owners and stages weekly, so stuck leads surface early.

Our WhatsApp lead assignment rules then fix the routing behind them.

How Ask4Lead Keeps the WhatsApp CRM Data Model in One Place

In Ask4Lead, the chat, the lead record and the pipeline sit together, so the inbox-to-CRM sync mostly disappears.

A new message creates the lead record from the phone number. After that, every chat, note and stage change lands on one timeline.

  • Missing details: the AI Sales Assistant asks for name, budget and needs. Then it fills the lead fields and suggests a stage.
  • Stage drift: a 9-stage sales pipeline runs from New Lead to Re-Engagement, and neglected cards show a warning.
  • Who owes a reply: the Work Queue lists overdue next steps and due follow-ups. It also surfaces stale chats.
  • Deal value typed by hand: a WhatsApp quote sent from the chat updates the deal value automatically.
  • Who changed what: audit logs record every stage move, assignment and approved AI reply, with the user’s name.

Lead lists export to CSV for backup. However, Ask4Lead’s feature pages do not describe a public API or webhooks for a live sync into another CRM. Nor do they mention a BSUID field or automatic media archiving.

So if HubSpot or Salesforce must stay your main record, run the tests in our WhatsApp CRM checklist first.

FAQs

1. Which field is the unique key in a WhatsApp CRM data model?

Use the phone number stripped to digits with the country code, matched on both sides. Then store the BSUID beside it, because username users can arrive without a number.

2. How many pipeline stages should a WhatsApp lead pipeline have?

Five to seven stages suit most teams. Each stage should name an event you can see in the chat, such as a paid order.

3. Should every WhatsApp message sync into the CRM record?

No. Keep message lines in the inbox, keyed on the message ID. Send the CRM contact changes, stage moves and outcomes, plus a thread link.

4. Should a closed WhatsApp 24-hour window move a lead to Lost?

No. A closed window only means the next message must be an approved template. Lost needs a reason from the customer or your follow-up rule.

Conclusion on the WhatsApp CRM Data Model

A WhatsApp CRM data model works when each record has one job and each field has one owner. Contacts keep identity and conversations keep the reply clock. Meanwhile, deals keep the money and messages stay in the thread.

  • Store the phone and the BSUID as two fields.
  • Require each field only at the stage that knows it.
  • Sync events, give each field one owner, and dedupe on the message ID.
  • Save media within minutes and subscribe to Business app echoes.

Next, sketch the four records on paper and map your tool’s fields onto them before the first import. Our shared inbox for sales teams guide then shows how the conversation side runs day to day.

Stop Rebuilding WhatsApp Leads by Hand

Every duplicate contact costs your team time and buyers. Ask4Lead creates the lead from the first message and fills its fields from the chat.

Then it moves the deal through 9 stages and lines up the day’s follow-ups.

Start your free Ask4Lead trial