Connect WhatsApp to HubSpot with Sonar
Want your WhatsApp leads in HubSpot without typing them in? Sonar adds the people who message you as HubSpot contacts and keeps their WhatsApp activity on each one. It can also bring HubSpot contacts into Sonar, so a flow says hello on WhatsApp.
The short version
- WhatsApp to HubSpot: people who message you become HubSpot contacts within a minute, with their name and number, and their email if Sonar has one.
- A note on each contact with their Sonar tags, and a new note when their tags change.
- WhatsApp activity as fields: when the last message was sent, delivered and read, their last reply and their agent.
- HubSpot to Sonar: a HubSpot contact that matches your rule comes into Sonar with a tag, so a flow can welcome them on WhatsApp.
- You send and answer WhatsApp messages in Sonar, not in HubSpot.
For every app Sonar connects to, see Integrations.
Before you start
- You need to be an owner or admin of the business in Sonar, and able to sign in to HubSpot.
- Connect your WhatsApp number to Sonar first, so there are chats to send.
Connect HubSpot
- In Sonar, go to Settings, Connected apps, HubSpot.
- Press Connect with HubSpot.
- Sign in to HubSpot and approve Sonar.
- Back in Sonar, choose who goes to HubSpot (see below) and press Save. Until you do, nobody goes.
No key to make or paste. If you connect again later, your settings stay.
Or paste a service key
Rather use a HubSpot service key?
- In HubSpot, go to Development, Keys, Service keys, and create a service key.
- Add the scopes crm.objects.contacts.read and crm.objects.contacts.write.
- Want WhatsApp activity on your contacts too? Also add crm.schemas.contacts.write.
- Create the key, then Show and Copy it.
- In Sonar, go to Settings, Connected apps, HubSpot. Open Or paste a service key.
- Paste the key into Your HubSpot service key.
- Choose who goes to HubSpot (see below) and press Save. Sonar checks the key with HubSpot before it saves it.
Already have a HubSpot private app token with the same scopes? That works too. Sonar stores the key encrypted and never shows it again. To change it, paste a new one.
Choose who goes to HubSpot
Under Who goes to HubSpot, pick one:
- Everyone who messages you, from when you press Save.
- Only contacts with these tags, one tag per line, such as "Wants sales". Add the tag by hand or in a flow, and they go to HubSpot.
- Nobody (only bring contacts in from HubSpot), if you only want HubSpot contacts coming into Sonar.
Then the options:
- Also send the people already in Sonar: leave it unticked, and people already in Sonar when you press Save stay out.
- Include their last message in the note: off unless you tick it. Messages can hold personal or health information, so only tick it if your HubSpot may hold that.
- In the note, show only tags that start with these (only with chosen tags): the note shows just those tags, with any answers as lines like "Bedrooms: a 5-bedroom home", and their agent. Their other tags stay out of HubSpot. Handy if you run several businesses' leads from one Sonar account.
Press Save. The card shows how many people are waiting and who went to HubSpot lately.
What Sonar puts in HubSpot
- Sonar looks for each person in HubSpot by their WhatsApp number.
- Found: Sonar uses that contact and leaves its name and email alone.
- Not found: Sonar creates a contact with their name, their mobile number with the country code, and their email if Sonar has one.
- Each contact gets a note on its timeline, "From Sonar (WhatsApp)", with their tags. It also names the ad they came from, if they clicked a click-to-WhatsApp ad, and says if they opted out of WhatsApp marketing.
- When their tags change, they get a new note.
WhatsApp activity on HubSpot contacts
Switch on Keep WhatsApp activity on HubSpot contacts on the HubSpot card. Sonar makes a property group, "Sonar WhatsApp", and keeps these fields up to date on your HubSpot contacts within a few minutes:
- WhatsApp: last message sent
- WhatsApp: last template sent
- WhatsApp: last message delivered
- WhatsApp: last message read
- WhatsApp: last reply from them
- WhatsApp: agent
- WhatsApp: agent assigned
- WhatsApp: agent opened the chat
- WhatsApp: agent chat started
- Sonar updates contacts already in HubSpot, matched by their WhatsApp number. It never creates contacts here.
- Only activity from when you switch it on goes over, and an empty value never wipes what HubSpot has.
- Which numbers (if you have more than one): only chats on the ticked numbers go to HubSpot. None ticked means all of them.
- With tags chosen under Who goes to HubSpot, only contacts with one of those tags are updated.
- Agents' own numbers (if you have more than one): when one of these first messages a contact, "WhatsApp: agent chat started" gets the time. If the chat isn't assigned in Sonar, "WhatsApp: agent" gets that number's name.
Switching it off stops the updates. What's already in HubSpot stays.
Bring HubSpot contacts into Sonar
When a HubSpot contact matches a rule, Sonar adds them to Contacts with your tag. A flow that starts on that tag can then welcome them on WhatsApp.
- On the HubSpot card, under Bring HubSpot contacts into Sonar, press Add a rule.
- In HubSpot property (internal name), type the property's internal name. To find it in HubSpot: Settings, Properties, open the property, then Internal name.
- In Value, type the value to match. Leave it empty to bring in everyone who has the property.
- In Sonar tag, type the tag they get.
- Tick Also bring in contacts already in HubSpot only if you want everyone who matches now. Careful: that can start your flow for lots of people at once. Left off, only contacts added to HubSpot from now on come in.
- Press Save. Sonar checks each rule with HubSpot and shows how many contacts match now.
- Make a flow that starts when a contact gets that tag. See how flows work.
- You can have up to 10 rules. Leave the property and value empty to bring in every new contact.
- Sonar checks HubSpot every 2 minutes.
- Sonar uses their mobile number, or their phone number if there's no mobile. A number like 082... is read in your first WhatsApp number's country.
- Each HubSpot contact gets each tag once. Take the tag off in Sonar and a later change in HubSpot won't put it back.
- Heads up: being in HubSpot isn't a WhatsApp opt-in. They get one marketing message until they reply or opt in. See POPIA and WhatsApp marketing.
To stop, press Stop. Contacts already brought in stay in Sonar with their tags.
HubSpot workflows and sending WhatsApp
- To send a WhatsApp message when something changes in HubSpot, have the change set a property: by hand, from a form, or in a HubSpot workflow if your HubSpot plan has them. Then add a rule for that property and value, with a tag, and a Sonar flow that starts on that tag.
- You don't need HubSpot's "Send a webhook" workflow action for this. Sonar checks HubSpot itself.
- Going the other way, a Sonar flow can add a tag you chose under Who goes to HubSpot, and that person goes to HubSpot within a minute.
- The WhatsApp activity fields are ordinary contact properties in HubSpot, so you can filter and sort your contacts by them.
Plans and cost
HubSpot comes with every Sonar plan, free trial included, at no extra cost. The free trial has a limit of 50 contacts, and contacts from HubSpot stop coming in when you reach it. HubSpot's own plans are separate. See Pricing.
Switch it off
- Connected with the Sonar app: press Disconnect on the HubSpot card. Nobody new goes to HubSpot, and Sonar gives up its access to your HubSpot account.
- Connected with a service key: press Switch off. Nobody new goes to HubSpot, and Sonar forgets the key.
- Either way, nothing already in HubSpot changes, and contacts brought in from HubSpot stay in Sonar.
- To stop only the WhatsApp activity, switch off Keep WhatsApp activity on HubSpot contacts. To stop only bringing contacts in, press Stop under Bring HubSpot contacts into Sonar.
If it doesn't work
The HubSpot card shows the latest problem. After three in a row it says "Paused." and tries again after 1, 2, 4 and up to 60 minutes.
- "The key is missing a scope": make a key with crm.objects.contacts.read and crm.objects.contacts.write, paste it and press Save.
- "HubSpot didn't accept the key": the key was deleted or changed in HubSpot. Paste a new one.
- "HubSpot didn't accept Sonar's connection", or a Connect HubSpot again button: press Connect HubSpot again and approve Sonar in HubSpot. Your settings stay.
- WhatsApp activity won't switch on: a service key needs crm.schemas.contacts.write too. Paste a key with it, then switch it on again.
- "HubSpot asked Sonar to slow down": nothing to do. Sonar waits and carries on by itself.
- "HubSpot refused" a rule: the card shows HubSpot's own words. Check the property's internal name: lowercase letters, digits and underscores.
- "had no mobile number": those HubSpot contacts have no mobile or phone number. Add one in HubSpot.
- "not added: the free trial's contact limit": choose a plan to bring in more.
- Someone isn't in HubSpot: check Who goes to HubSpot. With chosen tags, they need one of them. People already in Sonar when you saved only go if you ticked Also send the people already in Sonar.
Questions
Will a contact be entered twice?
No. Sonar searches HubSpot by their WhatsApp number first, with and without the country code, and uses the contact it finds.
Does Sonar copy our WhatsApp chats into HubSpot?
No. Only the note goes on the contact, plus their last message if you tick that. The activity fields hold times, the last template's name and the agent.
Can we send WhatsApp messages from HubSpot?
Not from inside HubSpot. Sonar doesn't add a WhatsApp button, card or workflow action there, so you send and answer in Sonar. HubSpot can still set off a message: see HubSpot workflows and sending.
Does Sonar change our HubSpot contact owners?
No. The agent goes in Sonar's own field, "WhatsApp: agent". Sonar never reads or changes HubSpot's contact owners or users.
More guides
- WhatsApp pricing in South Africa
- POPIA and WhatsApp marketing
- Event invites with one-tap RSVPs
- AI Agent and Copilot: a WhatsApp chatbot in your voice
- Set up your WhatsApp team inbox
- Use Sonar with the WhatsApp Business app
- Disconnect your WhatsApp Business app number
- Import your contacts
- Send your first WhatsApp broadcast in Sonar
- Order and booking updates from your other systems
- Sell on WhatsApp: catalog, orders and payment links
- Which number to use for WhatsApp
- What Meta needs from you before Sonar can send
- Plans and billing in Sonar: what you pay, and to whom
- Connect a client's WhatsApp number
- Two-step sign-in for your Sonar account
- WhatsApp API providers in South Africa, compared
- How WhatsApp flows work
- Automatic replies on WhatsApp: after hours, keywords and menus
- WhatsApp calls and voicemail
- Send WhatsApp calls to 3CX
- WhatsApp message templates: write one and get it approved
- Connect WhatsApp to n8n
- What Sonar does that others don't publish
- Click-to-WhatsApp ads: answer every ad lead in time
- Get customers to message you on WhatsApp
- WhatsApp and Zoho CRM: a solar installer's journey, tested
- Answer Facebook Messenger and Instagram messages in Sonar
- Integrations: WhatsApp connected to your other tools
- Developers: API and webhooks
- Switching to Sonar
- WhatsApp marketing that earns B-BBEE points
- WhatsApp RSVPs for events
- WhatsApp calls on your phone system
- Competitions and prize draws
- WhatsApp error 2388386: why can't I add another number?
- WhatsApp error 131047: why wasn't my message delivered?
- Do you need 30 days on WhatsApp before Meta business verification?
- Can I move a WhatsApp number to another Meta business portfolio?
- WhatsApp error 131042: how do I add a payment method?
- Can I use my WhatsApp in Claude or ChatGPT?
- Can I connect Sonar to Zapier, Make or Google Sheets?
- How do I send a WhatsApp broadcast without my number getting blocked?
- How can my team share one WhatsApp number and inbox?
- How do I count clicks on a link in my WhatsApp broadcast?
- How do I add a WhatsApp chat button to my website?
- Which WhatsApp API providers keep message data in South Africa?
- How do I send WhatsApp abandoned cart reminders from my Shopify store?
- Can WhatsApp calls save money on an 0800 number or VoIP line?
- What are South African businesses paying for WhatsApp replies since 1 October 2026?