How to Connect Your VoiceB.ai Agent with Salesforce
Easily integrate your AI Agent with Salesforce to view all call data, outcomes, and collected lead info directly in your CRM — in real time.
This guide explains how to connect your VoiceB agent to Salesforce and configure advanced object mapping, multi-object creation, constants, and deduplication logic.
VoiceB is not a basic webhook integration. It allows you to define how your CRM architecture behaves directly from the VoiceB dashboard.
Step 1 — Connect Salesforce
Go to Integrations → Salesforce
Open an agent and scroll down, now within the agent view Go to Integrations → + → Salesforce Click Login
Complete the OAuth authentication process
Grant the required permissions
Once connected, VoiceB will retrieve all available objects and fields from your Salesforce instance.
📌 If you need help creating a Salesforce External Client App, follow this guide: 👉 How to Register a Local External Client App in Salesforce



Step 2 — Select the Main Object
VoiceB now allows you to choose which Salesforce object will receive the primary data.
You are no longer restricted to Leads.
Available options include:
Lead
Contact
Account
Opportunity
Custom objects
This allows full flexibility depending on your sales architecture.
Step 3 — Field Mapping Configuration
Each Salesforce field can be configured individually.

Salesforce Object Configuration Interface in VoiceB Dashboard
For every field you can define:
Source Type
You can choose between:
Variable
Dynamic data captured by the VoiceB agent.
Examples:
full_nameemail
company_namesummaryfrom(phone number)
Constant
A fixed value that will always be sent to Salesforce.
Example use cases:
LeadSource= "Meta"Campaign= "Winter 2026"Country= "Spain"
This allows you to enforce CRM business rules directly from the integration layer without modifying the agent logic.
Step 4 — Multi-Object Creation & Related Objects
VoiceB supports sending data to multiple linked Salesforce objects within a single execution.
You can:
Create a Lead + Opportunity
Create a Contact linked to an Account
Create custom objects linked via relationship fields
Associate objects using Salesforce relational logic
To configure this:
Click Add Related Object
Select the additional Salesforce object
Configure its field mapping
Define the relationship field
This enables structured CRM flows instead of dumping all data into one object.
Step 5 — Deduplication Strategy
VoiceB allows configuring deduplication per object.
You can choose:
Option A — Always Create
A new record will be created every time.
Option B — Deduplicate by Field
Select a Salesforce field (e.g., Email or Phone).
If a matching record exists: → It will be updated.
If no record exists: → A new record will be created.
This gives you full control over whether VoiceB behaves as:
A lead generator
A CRM updater
A strict record creator
Deduplication is configured at the object level.
Step 6 — Optional Fields & Advanced Mapping
You can:
Add optional Salesforce fields
Map custom fields
Remove unnecessary fields
Adjust mapping without changing agent prompts
All mapping is managed directly from the VoiceB dashboard.
No development is required.
How the Data Flow Works
Agent finishes conversation
Structured JSON outcome is generated
VoiceB evaluates mapping configuration
Objects are created or updated in Salesforce
Related objects are linked
Deduplication logic is applied
Everything happens automatically.
What Changed (Compared to Previous Version)
The integration is no longer limited to:
Fixed Lead creation
Simple webhook behavior
One-object mapping
VoiceB now acts as a CRM-native orchestration layer.
You control:
Which objects receive data
How objects relate
Which values are constant
How duplicates are handled
This allows enterprise-grade CRM automation without additional middleware.
Need Help?
Contact Support if:
You experience login issues
Field mapping doesn’t appear
You want to extend the integration to workflows or deal creation
By integrating Salesforce with your VoiceB.ai Agent, your sales and support teams get full visibility of the conversation, call results, and lead data — automatically.
Last updated
Was this helpful?

