Log activity in Salesforce
Click notes put email engagement where your sales team already works. When a person linked to a Salesforce contact clicks a link in an email JustAI sent, JustAI adds a completed Task to that contact’s activity. When a deal event started the journey, the Task is related to that deal too.
This is the only thing JustAI writes to Salesforce. It adds Tasks and never changes your records. Click notes are off until an organization admin turns them on.
What a note looks like
Section titled “What a note looks like”On the contact’s activity timeline you see a completed Task:
- Subject:
JustAI: clicked "<site>", where<site>is the domain of the link the person clicked. - Name: the contact who clicked.
- Related To: the deal, when a deal event started the journey.
With Also log sends on, each delivered email or text message adds a Task too:
- Subject:
JustAI: sent "<message name>"for an email, orJustAI: sent text "<message name>"for a text message. - Comments: when it was delivered, then what the person received. For an email that is its subject and a plain-text copy of its body, without link addresses. For a text message it is the text as sent. A very long email is cut short.
Before you begin
Section titled “Before you begin”- Salesforce is connected. See Connect Salesforce.
- Profile sync has linked the people you email to Salesforce contacts. A click by a person with no linked contact writes nothing. See Sync profiles from Salesforce.
- Your Salesforce admin has granted the JustAI Connector permission set Read and Create on Task. See the Prepare Salesforce.
- The journey sends with JustAI. Clicks on email sent through another provider aren’t logged.
Turn on click notes
Section titled “Turn on click notes”- In JustAI, open Settings, then Integrations, and open your Salesforce connection.
- Under Click notes, turn on the switch.
Before it writes the first note, JustAI checks whether Task has the JustAI Event Key field. If the integration user can’t create Tasks, Salesforce refuses each note and the panel counts them as notes Salesforce refused. Check the JustAI Connector permission set first.
Also log sends
Section titled “Also log sends”Turn on Also log sends to add a completed Task for each email or text message delivered to a linked contact, not only for clicks. It’s off by default because every send then costs an API call and a timeline entry.
A send is logged once its provider reports it delivered. Text messages sent through Customer.io or Braze are logged. Text messages sent through Iterable or Klaviyo aren’t, because JustAI doesn’t receive their delivery reports.
Exactly once or checked first
Section titled “Exactly once or checked first”The panel says which way JustAI avoids duplicate notes:
- Each click is written exactly once, using the JustAI Event Key field on Task. Your admin added the
JustAI_Event_Key__cExternal ID field, so a retry can’t create a second Task. - Before writing a note again, JustAI checks whether Salesforce already has it. Without the field, JustAI reads the contact’s recent JustAI Tasks before writing. This avoids duplicates in normal operation, but a retry during a Salesforce outage can still write one twice.
To switch to exactly once, follow step 4 of the Prepare Salesforce.
Notes a day
Section titled “Notes a day”Notes a day limits how many Tasks JustAI writes for this connection in a day, so a large send can’t flood your timelines or use up your API allowance. The default is 2,000, and you can set it between 100 and 20,000. Notes past the limit aren’t written; the panel counts them as over the daily limit.
Click notes also count toward the connection’s Daily call limit for JustAI. See Keep API usage in check.
Check your work
Section titled “Check your work”Send yourself a test email from a journey whose recipient is linked to a Salesforce contact, click a link in it, and open the contact in Salesforce. Within a few minutes a completed Task named JustAI: clicked "<site>" appears on the activity timeline.
The panel shows when JustAI last wrote a note and counts notes written, notes Salesforce refused, and notes over the daily limit, plus how many are waiting to be written.
