Salesforce - Lookup Account and Update Owner

Scenario

In this case we will build the ability for a user to lookup accounts in different ways in Salesforce, and when they find the account they can update the owner.

NOTE: You are provided access to a Salesforce Sandbox instance in order to do this. You see an "Salesforce" connector in Agent Studio that has already been setup to make API calls. You will also be granted a login to the Salesforce instance in the Okta Portal indicated by this icon.

Architecture

The diagram you are seeing above will be helpful to visualize what you are going to build in this exercise. The components. When finished, this is what you're use case will look like as it pertains to Agent Studio.

Components

  1. Connectors - The authorization and Base URI for the system we are connecting to. Once built, connectors can be re-used to build Actions.
  2. Actions - Individual API calls to that system for a specific purpose. These building blocks can be used to resolve data types (in this case, account) or as part of a conversational process where one or more actions can be sequenced together to perform a complex operation.
  3. Data Types and Resolvers - Once a data type is established, it can be resolved in many ways by adding more Resolver Strategies. This guarantees we can choose the correct object no matter how the user refers to it, and disambiguate when there are similar traits.
  4. Conversational Process - The business execution of Actions and Data Types. One or more Actions can be sequenced together to perform complex tasks.
  5. Plugins - The packaged output of the Conversational Process. The plugin is configured by providing positive and negative examples in order to fine-tune plugin selection, as well as who within the organization will have access to this plugin.