
How to integrate voice AI with Salesforce in 2026: field mapping, real-time write-back, security setup, and a 7-step pilot-to-production rollout plan.
Voice AI that can't write back to Salesforce isn't integrated — it's just making calls into a void. This guide covers the actual steps to wire a voice AI agent into Salesforce so every call updates the record, triggers the next workflow, and shows up in your pipeline reporting without a rep touching a keyboard.
TL;DR
Voice AI Salesforce integration means bidirectional sync: calls write to Leads, Contacts, Opportunities and Cases in real time, not batch.
Sandbox testing first is non-negotiable — production API limits and field validation rules break naive integrations in week one.
Sub-400ms latency only matters if the CRM write-back keeps pace; a slow API call undoes a fast voice agent.
Harmony.ai runs on its own model built for the phone and writes disposition, transcript, and next-step data straight into Salesforce objects.
Budget 3-5 business days for a working pilot integration, not months, if field mapping is done up front.
Why this matters
A voice AI agent that calls a lead but doesn't update Salesforce creates two systems of record instead of one. Reps re-qualify leads the agent already qualified. Managers can't trust pipeline numbers because half the calls never made it into the CRM. RevOps ends up building a duct-tape sync job that breaks every time a field gets renamed.
Done right, the integration turns Salesforce into the single source of truth for every call the agent makes — inbound or outbound. Disposition codes populate automatically. Opportunity stages move when the agent books a meeting. A CRM automation layer connecting voice to CRM data is what separates a pilot that gets killed after 60 days from one that scales past the first team.
What you'll need
Salesforce admin access (or a partner with System Administrator profile rights)
API access enabled on your Salesforce edition — most Enterprise and Unlimited editions have this by default
A sandbox org for testing before production deployment
A voice AI platform with native Salesforce write-back, not a webhook you build yourself
A field-mapping document: which call outcomes map to which Salesforce fields and picklist values
Named owners on both sides — one RevOps or Salesforce admin, one voice AI platform contact
3-5 business days of calendar time for setup, testing, and go-live
The steps
1. Audit your Salesforce object model before you touch the integration
Map which objects the voice agent needs to read and write: Leads, Contacts, Opportunities, Cases, and any custom objects tracking call outcomes. Most integrations fail not on the API call but on a required field the agent doesn't know exists.
Pull a list of every required field and validation rule on the objects in scope. If a Lead record requires a custom "Lead Source Detail" picklist value the agent doesn't populate, every write silently fails or bounces to an error queue nobody's watching.
Common mistake: teams map the obvious fields (name, phone, disposition) and skip validation rules that only fire on specific record types. Test with a record from every record type in scope, not just the default.
2. Set up a connected app and authentication
Create a Salesforce Connected App with OAuth 2.0 for the voice AI platform to authenticate against. Use a dedicated integration user, not a real rep's login — shared or personal credentials break the moment that person changes their password or leaves.
Scope the connected app's permissions to exactly what the integration needs: read/write on the specific objects, nothing broader. Over-scoped API access is a common finding in security reviews and slows down approval.
Common mistake: reusing an existing connected app built for a different tool. Permission scopes drift, and you inherit access you didn't ask for and can't audit.
3. Build the field mapping between call outcomes and Salesforce data
Every call the agent makes ends in an outcome: booked, no-answer, disqualified, callback requested, escalated to a human. Map each outcome to a specific Salesforce field update — disposition picklist, Opportunity stage change, task creation, or Case status.
This is where the AI SDR use case differs from a service call. An SDR-style outbound call updates Lead status and creates a follow-up task. A service call updates Case status and logs a resolution note. Map both flows separately — don't force one schema onto two different call types.
Common mistake: mapping only the "happy path" (booked meeting) and leaving no-answer or voicemail outcomes unmapped. Those are often 60-70% of dial volume and need their own field logic.
4. Configure real-time write-back, not batch sync
Batch sync running every 15 or 30 minutes means a rep might call a lead the agent already qualified an hour ago, because the record hasn't updated yet. Real-time or near-real-time write-back (seconds, not minutes) is what keeps reps and the agent working the same data.
Confirm the voice AI platform writes to Salesforce via API calls triggered at call completion, not on a cron job. Harmony.ai writes disposition and transcript summary to the record within seconds of the call ending, which is what makes a hot transfer to a rep useful instead of confusing.
Common mistake: accepting "near real-time" without asking what the actual delay is. A 20-minute lag on a speed-to-lead workflow defeats the entire point of calling in seconds.
5. Test transcript and call recording attachment
Decide where call transcripts and recordings live — attached to the Task, the Lead, or a custom Call object — and confirm the integration writes them there automatically. A transcript that only exists in the voice AI platform's own dashboard doesn't help a rep reviewing a record inside Salesforce.
Test with a call that includes a hot transfer partway through. Confirm both the AI-handled portion and the human-handled portion show up as one continuous record, not two disconnected entries.
Common mistake: transcripts get written but truncated at a character limit on a Salesforce long-text field. Test with a full 8-10 minute call transcript before go-live, not a 30-second test call.
6. Verify security and compliance settings before production
Confirm the integration respects field-level security and sharing rules already configured in Salesforce — the agent shouldn't write to fields a given user role can't see. Review what the voice AI vendor can show you on data handling: Harmony.ai runs on SOC 2 Type II controls with a HIPAA BAA available and GDPR/CCPA-ready data handling, and any vendor touching Salesforce data should be able to answer the same security questions in writing.
For outbound calling specifically, confirm TCPA-aware calling windows and consent logic are configured before the integration goes live in production, not after the first complaint.
Common mistake: security review happens after the sandbox is built instead of before. Get compliance sign-off on data flow and retention before you connect to production Salesforce, not after.
7. Run a 2-week pilot before full rollout
Pick one queue or one call type — inbound speed-to-lead, or one outbound campaign — and run the integration live for two weeks before expanding scope. Watch for failed writes, duplicate record creation, and field mapping gaps that only show up with real call volume.
Track a simple number: percentage of calls that wrote back to Salesforce correctly on the first attempt. Anything under 95% in week one means a field mapping or validation rule needs fixing before scaling to more queues.
Troubleshooting
Calls complete but records don't update. Check the connected app's API call logs for a validation rule error. This is almost always a required field the agent isn't populating, not a connectivity issue.
Duplicate Lead or Contact records get created. The integration is likely matching on name and phone number instead of a unique identifier. Configure matching rules against Salesforce's duplicate management settings before go-live, not after duplicates pile up.
Transcripts show up truncated. The target field has a character limit. Move transcripts to a long-text area field or an external file attachment instead of a standard text field.
API limits get hit during high call volume. Salesforce editions cap daily API calls. Batch non-urgent writes (like transcript attachment) separately from time-sensitive writes (like disposition updates) so a volume spike doesn't block the calls that matter most.
Hot transfers don't carry call context to the rep. The integration is writing the outcome after the call ends instead of mid-call. Confirm the platform can push a live summary to the record the moment a transfer initiates, not after the human call finishes.
Picklist values don't match between systems. The voice AI platform's disposition list and Salesforce's picklist values drifted after someone edited one side. Lock the mapping document and require both sides to sign off on any field changes going forward.
Tools and resources
Salesforce Setup > Connected Apps for OAuth configuration
A field-mapping spreadsheet shared between RevOps and the voice AI vendor
A sandbox org cloned from production for realistic testing
The 30-day pilot framework for structuring the two-week test window into a measurable rollout
API call logs (Salesforce Setup > API Usage) to catch write failures early
See the Salesforce integration live
Talk to sales about a pilot that writes every call outcome back in real time.
What to do next
Once the Salesforce write-back is stable, the bottleneck usually moves to how fast leads get called after they hit the CRM. If speed-to-lead is the next problem to solve, the speed-to-lead calling guide covers what "fast" actually means in seconds, not minutes.
FAQ
What does a voice AI Salesforce integration actually do?
It writes call outcomes, transcripts, and disposition data directly into Salesforce records in real time, so Leads, Contacts, and Cases update automatically without a rep logging the call manually.
How long does a voice AI Salesforce integration take to set up in 2026?
A working pilot integration typically takes 3-5 business days if field mapping is done before development starts. Full production rollout across multiple queues usually adds another 1-2 weeks of testing.
Does voice AI work with Salesforce Service Cloud and Sales Cloud?
Yes, both. Sales Cloud integrations typically write to Leads and Opportunities for outbound and inbound sales calls, while Service Cloud integrations write to Cases for support and service call automation.
Is real-time write-back required, or is batch sync good enough?
Real-time write-back is required for any workflow involving speed-to-lead or live hot transfers to a rep. Batch sync running every 15-30 minutes creates stale data that causes reps to duplicate work the agent already completed.
What Salesforce permissions does a voice AI integration need?
A dedicated integration user with a scoped Connected App granting read/write access to the specific objects in use — typically Leads, Contacts, Opportunities, and Cases. Avoid reusing a personal login or an over-scoped existing connected app.
How does voice AI handle compliance when integrated with Salesforce?
Compliance should be handled at the voice AI platform level before data ever reaches Salesforce — Harmony.ai runs on SOC 2 Type II controls, offers a HIPAA BAA, and applies TCPA-aware calling logic on outbound campaigns.
Can the integration handle both inbound and outbound calls?
Yes. Inbound calls typically write to Cases or existing Lead records for follow-up, while outbound calls create or update Lead and Opportunity records with call disposition and next-step tasks.
What breaks most often in a Salesforce voice AI integration?
Field mapping gaps on non-happy-path outcomes like no-answer or voicemail, and validation rules on required fields the agent doesn't populate. Both show up in the first week of a pilot if you're watching the API error logs.
One last thing
Most teams map the "booked meeting" outcome carefully and leave no-answer and voicemail outcomes as an afterthought — but those two outcomes usually make up the majority of call volume on any outbound campaign. Map them with the same rigor as the win case, or your Salesforce reporting will undercount every call that didn't end in a meeting, which is most of them.