Skip to content

Need help to configure InitialAgentState in CCP

0

We have implemented SetAgentStatusOnSessionEnd feature in CTI adapter and due to this agents are automatically set to Available status when they log back in. We would like to change this default status and the below document mentions to configure InitialAgentState. I could not find any documentations on how and where to implement this. Can someone assist with the steps on how to configure this?

"When your agents log back in, they will be shown as "Available" by default. If you'd like to control which status to set your agents, you can configure it with InitialAgentState setting."

https://amazon-connect.github.io/amazon-connect-salesforce-cti/docs/lightning/cti-adapter/06-set-agent-status-on-session-end/

1 Answer
1

To configure the InitialAgentState in the Amazon Connect Contact Control Panel (CCP), you'll need to modify the CCP configuration in your Salesforce CTI Adapter setup. While the exact steps are not explicitly provided in the available sources, based on general knowledge of Amazon Connect and Salesforce integration, here's a general approach you can follow:

  1. Access your Salesforce org where the Amazon Connect CTI Adapter is installed.

  2. Navigate to the CTI Adapter configuration settings. This is typically found in the Setup menu under Call Center settings.

  3. Look for a section related to CCP configuration or Agent Status settings.

  4. There should be a field or option to set the InitialAgentState. This might be a dropdown menu or a text field where you can specify the desired initial status (e.g., "Offline" or a custom status you've created in Amazon Connect).

  5. Save your changes after setting the desired InitialAgentState.

If you can't find this setting in the Salesforce CTI Adapter configuration, you may need to consult the specific documentation for your version of the CTI Adapter or reach out to Salesforce support for guidance on where to implement this configuration.

Remember that agent statuses in Amazon Connect are managed manually by the agents themselves or by their supervisors. The InitialAgentState setting is specifically for controlling the default status when agents log back in, overriding the automatic "Available" status set by the SetAgentStatusOnSessionEnd feature you've implemented.

If you're using a custom CCP implementation, you might need to use the Amazon Connect Streams API to programmatically set the initial agent state when the CCP loads. This would involve using the agent.setState() method in your custom CCP code.
Sources
Add a custom agent status to the Amazon Connect Contact Control Panel (CCP) - Amazon Connect
Log out agents automatically when they close their CCP using the Amazon Connect CCPv1 - Amazon Connect

answered a year ago
EXPERT
reviewed a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.