The setUserProfile API takes custom parameters about the consumer as an input and sets it to be displayed on the messaging Agent Workspace consumer transcript. This can be set at any time either before, after, or during a messaging session.

public static void setUserProfile(ConsumerProfile profile)

Parameter Description
profile The user’s profile