autoResponseAPI

This object contains all the APIs associated with the auto-response experience. For a guide, see Auto-Response API.

Adds values to the list of parameters. These parameters are passed to the auto-response component in Salesforce. This method must be called after the onEmbeddedMessagingReady event is dispatched.

{parameters}: Required. A JSON object containing a list of key-value pairs of the parameter names and their values.

Removes parameters from the list of parameters. This method must be called after the onEmbeddedMessagingReady event is dispatched.

{parameters}: Required. An array of strings. Each string is a parameter to be removed from the auto-response data.