Loading
Visual Studio Code Based Modeler for Consumer Goods Cloud
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Facade.launchAgentForce()

          Facade.launchAgentForce()

          Sends specific context details to the agent dynamically during the Agentforce conversation in the Consumer Goods Cloud mobile app.

          Required Editions

          Available in: Enterprise and Unlimited Editions where Consumer Goods Cloud is enabled

          Parameters

          payload: The context data passed to the agent in JSON format.

          The payload information includes these parameters:

          • objectAPIName: Required. The API name of the Salesforce object serving as the context for the agent. For example, Visit.
          • attributes: Required. A container for record-specific identifiers.
            • recordId: The unique ID of the record to be used as the context.

          Returns

          The method returns a promise.

           
          Loading
          Salesforce Help | Article