AIVA logging automatically records every interaction handled by a Virtual Agent (VA), Aircall’s AI-powered voice bot, directly in Salesforce. This ensures that agents and managers always have full visibility into what happened during a call, whether it was resolved by the VA or escalated to a human agent.

For each VA call, two records are created in Salesforce:

  • Aircall Log Object (ALO): The main call record containing details such as timing, duration, outcome, and agent involvement
  • Task: An activity record linked to the contact, visible in the activity timeline

What triggers VA logging

Logging is initiated and updated based on three key moments during a VA call:

MomentWhat happenedWhat Salesforce sees
VA picks up the callThe VA starts handling the customerA new ALO and Task are created immediately
VA ends the callThe VA resolves the issueThe record is updated with duration, end time, and a VA resolution label
VA transfers to a humanThe VA escalates the callThe record is updated to reflect the transfer to an agent

What happens during a VA call

Step 1: Customer calls and VA answers

As soon as the VA answers:

  • A new ALO record is created with:
    • VA name
    • Caller’s number
    • Call start time
    • A flag indicating VA handling
  • A Task is created and linked to the contact, if one exists in Salesforce

The subject line format:

  • “John Smith called from VA Support Bot” if the contact exists
  • “+447911123456 called from VA Support Bot” if the contact does not exist

Step 2: Human agent joins (if applicable)

If a human agent joins the call:

  • The records are updated with the agent’s name
  • The call status is updated
  • All previously recorded VA data is preserved

Step 3(a): VA resolves the call

If the VA completes the interaction without human help:

  • End time is added
  • Call duration is calculated
  • Outcome label is set to Handled by VA

This allows teams to track fully automated resolutions.

Step 3(b): VA transfers the call

If the VA escalates the call:

  • Outcome label is updated to Transferred to Agent
  • An escalation flag is added to the record

This supports reporting on escalation frequency.

How calls are labelled

Each VA call includes an outcome label alongside standard call tags.

LabelMeaning
  • Handled by VA
The VA resolved the call without human involvement
  • Transferred to Agent
The VA escalated the call to a human agent

Enabling VA logging

VA logging is controlled by two settings managed by the Aircall integrations team:

SettingWhat it controls
  • VA Logging Enabled
Enables or disables VA logging entirely
  • ALO Creation Enabled
Determines whether ALO records are created or only Tasks

What you can do with VA data in Salesforce

Once enabled, teams can:

  • View VA-handled calls in the contact activity timeline
  • Filter reports by Handled by VA to measure self-service rate
  • Filter by Transferred to Agent to analyze escalations
  • Compare durations between VA-only and escalated calls
  • Identify which VA handled each call

Salesforce permission set requirement

A common reason ALO records are not created is missing permissions.

Important: The Salesforce integration user must have the Aircall_PermissionSet assigned. Without it, ALO records cannot be created or updated.
Permission set nameApplies toImpact if missing
Aircall_PermissionSetSalesforce integration userALO records are not created, Tasks may still be created

Steps to assign the permission set

  1. In Salesforce, go to Setup
  2. Search for Users and open the integration user
  3. Scroll to Permission Set Assignments and click Edit Assignments
  4. Move Aircall_PermissionSet to the enabled list
  5. Click Save

The next VA call should create ALO records correctly. No restart is required.

Troubleshooting VA logging issues

Issue 1: No records created in Salesforce

Symptoms: No Task or ALO appears after a VA call.

CauseExplanationResolution
VA logging not enabledFeature is disabled by defaultContact our Customer Support to enable it
Initial event delayBackground process retries for up to 15 minutesWait and recheck
Missing permissionsIntegration user lacks accessVerify permissions and assign Aircall_PermissionSet
ALO not installedAircall package missingInstall package and confirm ALO object exists

Issue 2: Task created but no ALO

Symptoms: Task exists, but no ALO record.

CauseExplanationResolution
Missing permission setMost common causeAssign Aircall_PermissionSet
ALO creation disabledOnly Tasks are configuredEnable ALO creation
Task-only logging modeIntegration setting limits loggingSet to Task and ALO

Issue 3: Missing duration or end time

Symptoms: Records show 0 duration or no end time.

CauseExplanationResolution
End event not processedStill in queueWait and refresh
End event failedMissing linkage to ALOVerify ALO creation and escalate if needed

Issue 4: Fields not updating

Symptoms: Fields like duration, outcome, or agent name are not updated.

CauseExplanationResolution
Missing edit permissionsNo field-level accessEnable visibility and edit access in Salesforce
Record lockedWorkflow or approval prevents updatesReview Salesforce automation
Processing delayEvent still queuedWait and refresh

Issue 5: Incorrect call outcome label

Symptoms: Label does not match actual call behavior.

Expected behaviorCorrect label
VA resolved callHandled by VA
VA transferred callTransferred to Agent
CauseExplanationResolution
Events out of orderTemporary mismatchWait for automatic correction
Missing eventIncomplete data receivedVerify in Aircall Dashboard and contact our Customer Support if needed

Issue 6: Duplicate records

Symptoms: Two Tasks or ALOs for one call.

CauseExplanationResolution
Event timing conflictMultiple events triggered creationDelete duplicate and escalate with Call ID

Issue 7: Incorrect contact association

Symptoms: Record linked to wrong or no contact.

CauseExplanationResolution
No matching contactNumber not found in SalesforceCreate a contact
Duplicate numbersMultiple contacts share numberDeduplicate contacts

FAQs

Why is my ALO not being created even though Tasks appear?
This is usually due to the missing Aircall_PermissionSet or ALO creation being disabled.

How long should I wait before escalating a missing record?
Wait up to 15 minutes to allow for retry processing before escalating.

Do I need to restart anything after enabling permissions?
No, changes take effect immediately for the next call.

Can VA and human agent data coexist in the same record?
Yes, VA data is preserved and enriched when a human agent joins the call.