Skip to content
Start free trial

How emails and WhatsApp messages reach a contact

HARi puts an email or a WhatsApp message on a contact’s Timeline when the other person’s email address or phone number is on exactly one contact. It checks every Email and Phone field on Contact, not only the main ones. When you add an address or a number to a contact later, HARi also attaches the messages that person sent or received before, usually within a minute.

This works for the mailboxes and the WhatsApp account connected in Settings > Connected Channels. A message attached to a contact also shows on the company Timeline of that contact (see A company’s Timeline includes its contacts’ conversations).

Which address or number does HARi look at?

Section titled “Which address or number does HARi look at?”

HARi uses the address or number of the person on the other side of the conversation:

  • An email you received: the sender’s address.
  • An email you sent: the recipient’s address. An email sent to several people at once is not attached automatically. People in copy (Cc) are not used either.
  • A WhatsApp chat with one person: their phone number.
  • A WhatsApp group: each member’s messages go to that member’s contact. Your own messages in a group are not attached to a contact.

Add an address or a number, and earlier messages follow

Section titled “Add an address or a number, and earlier messages follow”

Type the new email address or phone number into the contact and save. HARi then attaches every message it already holds with that address or number that is not on a contact yet. Nothing else is needed, and it works the same when the address comes from an import.

Three things make it work:

  • Put one address or number per field. Two addresses typed into the same field match neither.
  • The address or number must be on this contact only. If another contact has it too (an inactive contact counts), HARi does not choose between them.
  • HARi can only attach messages it already holds: the emails synced from your connected Microsoft 365 mailbox and the WhatsApp chats you chose to sync.

A message that is already on another contact stays there. HARi never moves a message from one existing contact to another, and it never changes a link someone made or removed by hand. To move them yourself, open the conversation in the inbox and click Change. This moves every message from that person in that mailbox.

Can a contact have several email addresses or phone numbers?

Section titled “Can a contact have several email addresses or phone numbers?”

Yes. Every field of type Email or Phone on Contact counts, so a person with a work address and a personal address can have both. If your contacts have only one email field, add a second one in Settings > Schema on the Contact entity, with the type Email (see Add a custom field). HARi starts using the new field as soon as it is saved, and filling it on a contact attaches that person’s earlier messages too.

Type phone numbers with their country code

Section titled “Type phone numbers with their country code”

HARi compares phone numbers digit by digit, in the form WhatsApp uses: the country code, then the number without the 0 you dial for national calls. Type +33 6 12 34 56 78 or 0033 6 12 34 56 78, not 06 12 34 56 78. HARi only uses numbers of 8 to 15 digits; 15 is the longest number the international numbering plan allows (ITU-T Recommendation E.164).

HARi leaves a message unattached rather than guess. That happens when:

  • No contact has the address or number. Add it to the right contact, or create the contact.
  • Two or more contacts have the same address or number. This usually means duplicates. Merge them and the messages go to the contact you keep.
  • The email went to several people at once, or the message is your own message in a WhatsApp group.

In the inbox, these conversations show Not linked to a contact. A group chat shows a note instead, saying that each member’s messages go to their own contact.

Open the conversation in the inbox and click Link to a contact. Pick a suggested contact, search for one, or click Create a new contact. HARi attaches every message from that person in this mailbox or WhatsApp account, and new messages from them go to the same contact.

A link made by hand applies only to the mailbox or WhatsApp account where you made it, and it does not add the address to an existing contact. If colleagues write to the same person from their own mailbox, add the address to the contact instead, which works in every mailbox.

What happens when you merge or delete a contact?

Section titled “What happens when you merge or delete a contact?”

When you merge two contacts, the messages of both end up on the contact you keep. When you delete a contact and exactly one other contact has the same address or number, its messages move to that contact; messages linked by hand stay on the deleted contact. Removing an address from a contact leaves the messages already on it where they are.

Related pages: Unified inbox, Send email through Outlook or Microsoft 365, Merge duplicate records.