Overview
Patients call about appointments, clinical questions and bills, often when they are worried or short of time. The organization needed a phone experience that reached the right team quickly, in English or Spanish, and a way for staff to review every call and voicemail without leaving Salesforce.
La Confianza set up the Amazon Connect contact center on AWS, connected it to Salesforce so every call is recorded as a VoiceCall record, and built a secure recording download feature on top.
The Challenge
- Patients needed a clear way to choose their language and reach the right team.
- Appointment and clinical calls, billing calls and general questions needed separate paths.
- Callers needed safety guidance, such as what to do in a medical emergency.
- Calls after hours, or when no staff were online, still needed to be captured.
- Staff needed to find and play recordings from the Salesforce record, not through separate AWS tools.
- Recordings are sensitive, so they needed to stay private and controlled.
How a Call Flows

1. Greeting and recording notice. The caller hears a welcome and a notice that the call may be monitored or recorded for quality purposes.
2. Language selection. The caller presses 1 for English or 2 for Spanish, and the choice is saved for the rest of the call.
3. Main menu with safety message. Callers are reminded to hang up and dial 911 in a medical emergency, and can enter an extension at any time. Press 1 is for appointments and clinical questions, 2 for billing and payments, and 0 for other questions.
4. Smart retries. After an invalid or missing entry, the caller hears the menu again, up to three times, and then moves to the patient engagement queue instead of ending the call.
5. Routing by need and language. Calls go to patient engagement, billing or the front desk, in English or Spanish.
6. Hours and staffing checks. In hours, the system confirms staff are online, then transfers the call, with a courteous wait message when staff are busy.
7. Voicemail. After hours, or when no one is available, callers are invited to leave a name, number and detailed message, and the greeting names the team they were trying to reach.
At the start of every call, a call record is created in Salesforce, so each conversation is tracked from the first second. If record creation fails, the flow handles the error without affecting the caller.
The Solution
Amazon Connect contact center. We configured the IVR, language handling, queues, routing, hours of operation and voicemail, with reusable modules for language menus, prompts and system connections.
Salesforce call records. Each call creates a VoiceCall record through an AWS Lambda integration, so every conversation and voicemail is visible in Salesforce.
One-click recording download. We built a Lightning Web Component for the VoiceCall record page with a Download Recording button, backed by an Apex controller and a secure connection to AWS.

1. The user opens a Voicecall record and selects Download Recording.
2. Salesforce checks whether it is a normal call or a voicemail.
3. For a voicemail, Salesforce sends the call reference to an authenticated AWS API.
4. An AWS Lambda function confirms the recording exists in a private Amazon S3 bucket and creates a temporary signed link.
5. Salesforce receives the link and downloads the recording, named after the call reference for easy tracking.
Rules that keep it accurate. Call recordings are available once a call has ended, whether the customer or the agent hung up. Voicemail recordings are available for voicemail records that no agent answered. Clear messages guide the user if a recording is missing, the call reference is blank or access is denied.
Security by design. Recordings sit in a private bucket and are never exposed through public links. Access uses temporary signed links that expire after seven days. The API is protected by an authorizer, requests are validated, and the function runs under a dedicated role limited to reading the voicemail location. The solution was designed with healthcare privacy and security requirements in mind.
Documentation. We delivered technical documentation covering components, flow, validation rules, security and error handling.
What Was Delivered
- Bilingual IVR with emergency guidance
- Routing for appointments, billing and general questions, with retry handling
- Business hours and staffing checks with voicemail fallback
- A VoiceCall record in Salesforce for every call
- A Download Recording button on the VoiceCall record page
- Secure voicemail retrieval through API Gateway, Lambda and a private S3 bucket
- Technical documentation for ongoing support
Technology
Amazon Connect, Salesforce Service Cloud Voice, Lightning Web Components, Apex, Named Credentials, AWS API Gateway, AWS Lambda, Amazon S3, AWS IAM, Amazon CloudWatch
Business Value
- Faster routing for patients: clear menus, language choice and fewer transfers
- No lost calls: retries, queues and voicemail give every call an outcome
- Faster follow-up: staff play voicemails and recordings from the Salesforce record
- Safer handling of sensitive audio: private storage and expiring links
- A complete record: every call is visible in Salesforce from start to finish
- Room to grow: new queues, languages and features fit the same foundation
Ready to modernize your patient contact center?
Tell us how patients reach you today and where the experience breaks down, and we'll show you how Amazon Connect and Salesforce can work together.
