Add the #DF24 Developer Keynote to your agenda. Join us in-person on 9/18 at 2:30 p.m. PT or on Salesforce+ at 5 p.m. PT for the must-see session built just for developers.

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.