Set Up Agentforce Voice for iOS (Beta)
Agentforce Voice lets you build voice-enabled agents that manage complex conversations in real time. Set up Agentforce Voice for your iOS mobile app with these steps.
Before you set up Agentforce Voice for your mobile app, create a voice-enabled service agent in the legacy builder and connect it to telephony.
- Create a Voice-Enabled Service Agent in the Legacy Builder
- Connect a Service Agent to Telephony in the Legacy Builder
To set up Agentforce Voice for iOS, start by enabling the voice feature flag within your configuration object. Then, pass the feature flags into your AgentforceConfiguration object.
To initialize the AgentforceClient, use the configuration object you created.
Then, implement the AgentforceUIDelegate protocol. The userInitiatedVoice method is called when Voice View is opened from Chat View.
To create a chat view, use the createAgentforceChatView method. While the voice feature flag is enabled, creating a chat view makes the voice option available to users.
To create the voice view, use the createAgentforceVoiceView method.