What gets logged in Salesforce
Once Salesforce is connected, Wassenger writes your WhatsApp activity to the Contact or Lead that has the customer's number. Nobody on your team has to copy anything: messages are grouped into one Task per day, and every call gets its own Task.
Which record a chat is logged on
Wassenger looks for the customer's WhatsApp number in the Phone and Mobile fields of your Contacts first, then of your Leads.
- Write numbers in international format, such as
+34 600 111 222. With+or00in front, every digit has to match. Spaces, dashes and brackets don't matter. - A number saved without its country code also matches, with or without the national prefix your country dials (for example a leading
0). - Numbers shorter than 7 digits are never matched.
- Two records with the same number: if two Contacts or two Leads share it, nothing is logged for that chat until only one has it. This keeps a conversation from landing on the wrong person.
- No record at all: messages from numbers that aren't in Salesforce are not logged, and they are not logged later either if you create the record afterwards. Messages never create records in Salesforce.
Once a chat is matched, the link is remembered, so the next messages go straight to the same record. A number that found no record is checked again after 15 minutes, and Salesforce itself needs a little time before it finds a new record. So after you create a Contact or Lead, logging starts about 15 minutes later.
In Wassenger, the Connected apps card of the contact panel shows Salesforce with Contact record or Lead record and a link that opens it. The same link appears in the contact's details under External CRM.
Messages: one Task per day
Each day, every conversation gets one completed Task on its record, per WhatsApp number of yours. New messages that day are added to the same Task.
- Subject: the connection type, your WhatsApp number's name (or the number itself) and how many messages it holds, such as
WhatsApp (Cloud API) · Sales · 4 messages. - Status: Completed, with the date of the day.
- Comments: first a link that opens the chat in Wassenger, then one line per message with its time, its direction and who wrote it, for example:
14:05:09 UTC in Ana López: Hi, is the blue one still available?
14:06:00 UTC out Laura: Yes! I can send it today.
What is logged:
- Every message your customers send.
- Every message your team sends from Wassenger, with the agent's display name (never their email). A message that couldn't be delivered is marked
NOT DELIVEREDwith the reason. - Attachments as text: a photo or a document appears as its caption, or as
[media]if it has none. Files are never uploaded to Salesforce.
What is not logged:
- Messages sent through the API, chatbots, automations or campaigns.
- Replies typed in the WhatsApp app on a phone instead of in Wassenger: only replies sent by an agent from Wassenger carry who wrote them.
- Messages from before you connected Salesforce, and later edits or deletions of a message.
The Tasks are created under the Salesforce user who signed in when connecting Wassenger, usually your admin, and appear under that name in your reports. A Task on a Contact also shows in the activity of the Contact's Account. Tasks aren't linked to Opportunities.
A very busy day can fill a Task (Salesforce allows about 32,000 characters). When that happens, the rest of the day continues in a new Task.
Times are in UTC. Days start and end at midnight UTC, so a message sent late in the evening in the Americas can appear on the next day's Task.
Calls: one Task per call
Every finished WhatsApp call, incoming or outgoing, gets its own completed Task on the matching record, with a subject like WhatsApp call · Sales · Inbound · Missed, where Sales is the name of your WhatsApp number. Its comments include the link to the chat, the direction, whether it was answered, how long it lasted, when it started, connected and ended (in UTC), which of your numbers took it and why it ended.
If your Salesforce uses the standard call fields on Tasks, they are filled in too: call type, duration and result.
Calls can be logged on numbers connected to the WhatsApp Business API (Cloud API) that don't use coexistence with the WhatsApp Business app. Messages are logged on every kind of number.
Calls from unknown numbers
You choose what happens with a call from a number that isn't in Salesforce on the connection page, under Calls from unknown numbers:
- Don't log them (the default): the call is only counted.
- Create a contact: Salesforce gets a new Lead for the number, and the call is logged on it. If an unconverted Lead with exactly that phone number already exists, it is used instead. The new Lead takes the customer's WhatsApp name (or the number) as its last name,
[not provided]as its company, and the number as its phone.
A Lead is only created when nobody matches, the match isn't ambiguous and the caller has a real phone number. Messages never create records, whichever option you choose.
To change this option, open Developers › Connected apps, then the Salesforce connection.
If someone edits the Task in Salesforce
- Deleted Task: the next message that day starts a new one.
- Edited comments: your edits are kept, and new messages are added after them.
- Changed subject: the message count in the subject stops updating; nothing else changes.
Switching to another Salesforce organization
The link between a chat and its record belongs to the organization it was found in. If you revoke the connection and connect a different organization, each chat is matched again by phone number in the new one with its next message. If the number isn't there, the contact panel stops linking to the record in the old organization.
What is sent to Salesforce
- For messages: the text (or
[media]), the time, the direction, the customer's WhatsApp name, the agent's display name, the reason a message wasn't delivered, the name or number of your WhatsApp number, and the link to the chat. That link includes the customer's phone number. - For calls: the direction, the result, the duration, the times, your WhatsApp number and the reason the call ended.
- Never: files, your agents' email addresses, or conversations from before you connected.
Tasks are written in English, whatever language your team uses.
