Loading
Feature Disruption - Service Cloud VoiceRead More
Feature degradation | Gmail Email delivery failureRead More
Marketing Cloud Engagement
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
          Create and Use the Journey Decisioning Agent

          Create and Use the Journey Decisioning Agent

          Harness the power of Agentforce in your journeys with the Journey Decisioning agent. The agent dynamically assigns the best customer journey and creates custom content for each individual based on real-time behavior profile details and context.

          Required Editions

          Available in: Marketing Cloud Engagement Pro+, Corporate+, and Enterprise+ Editions
          User Permissions Needed
          To build an agent in Marketing Cloud Next:

          Manage AI Agents AND

          Manage Agentforce Employee Agents

          To set up and configure data in Data 360 Data Cloud Architect
          To use Agentforce in Journey Builder: Marketing Cloud Engagement+, access to Data Extensions, Journey Builder, and optionally, Automation Studio

          Learn what the Journey Decisioning Agent can do for your business.

          Work with your Salesforce admin to address the prerequisites. Then set up your agent, create your use cases, and use the Agentforce data in your journeys.

          • Journey Decisioning Subscriber Key Resolution
            This content describes the behavior of specific Agentforce actions related to the Marketing Cloud Engagement inputs, particularly focusing on the crucial step of resolving customer identifiers.
          • Journey Decisioning Flows and Data Extensions
            For each use case you set up in Marketing Cloud Next, several items are automatically created for you. For each journey use case, two flows and two data extensions are created. For a flow-only use case, two flows are created, but since data extensions aren’t applicable, they aren’t created.

          Set Up Your Journey Decisioning Agent

          This setup in Marketing Cloud Next ensures the correct AI features are enabled for you to use the Journey Decisioning agent.

          1. Set up Einstein Generative AI.
          2. Enable Agentforce.
          3. Enable the Agentforce Employee Agent (AEA) agent. This step allows you to use the marketing-specific agent templates.
            1. From Setup, in the Quick Find box, enter Agentforce Agents and select it.
            2. Open the Agentforce Employee Agent in Agentforce Builder and turn it on.
          4. Enable the Journey Decisioning agent, and open it in Agentforce Builder.
          5. Your agent already contains a subagent and actions. Click on the subagent to open its details, and update the instructions. See the table below for details about updating the instructions based on your organization's preferences.
          6. Open the subagent tab to show the subagent actions. Open each action respectively and update the information as needed.
          7. Customize the Journey Decisioning agent by adding actions as needed.

          To make the best decisions, the agent needs information about your subscribers. You can provide that information to the agent in several ways. See the table to determine how you should set up your instructions.

          Subagent Instructions Scenarios
          Scenario Instructions How
          Your organization uses the Get Context action. This action provides a summary based on the data graph. Replace DataGraph API Name and the Agent Version ID that are in brackets in the instructions.
          • Find the DataGraph API Name by opening Data 360, going to the Data Graphs tab, and finding the correct data graph. Use the exact name in the Data Graph API Name field.
          • Find the Agent Version ID in the URL. It's the information that immediately follows versionID= in the URL.
          Your organization doesn't use the Get Context action, but has a custom action with another context source. Delete the instruction using the garbage can icon and replace it with another option to provide customer details.
          • Create your own context action that provides information about each subscriber and runs before the journey decisioning agent.
          • If you don't have a custom context action, add fields in the flow utterance that provides context for the use case.

          Set Up Your Use Cases

          This part of the setup provides the information that the agent uses to determine which journeys to choose from by defining overviews and outcome expectations for each journey.

          1. In Setup, search for and select Agentforce & Gen AI.
          2. Scroll to the Manage Marketing Agent Templates section. Setup page for managing the marketing agent templates.
            With business units Choose the business unit to use from the drop-down list of options and follow the instructions.
            Without business units Continue to the next step.
          3. Add 3 to 5 journeys for the agent to choose from.
            1. Click Add Use Case.
            2. Add the name and description for your use case and select Next.
            3. Select which marketing experience to use.
            4. If applicable, select the business unit to use.
            5. Add an overview and expected outcome, and save your changes.

          Add the overview and expected outcome for each journey in use case setup step 3

          Important
          Important The agent uses the Overview and Expected Outcome fields to determine what the journey is about and what it hopes to achieve. For example, you want to create a journey to improve attendance for season ticket holders. For the Overview, you enter “Reach out to season ticket holders who have missed more than 5 games this year to offer a partner-sponsored event at the next game that enhances their gameday experience.” For the Outcome, you enter “Re-engage season ticket holder customers to drive a higher likelihood of future ticket purchases.”

          Once this setup is complete, these items are created for you.

          • A flow for decisioning
          • a flow for content
          • A data extension for the journey selection data
          • a data extension for the content data

          Considerations

          To avoid errors, ensure these items are set up correctly.

          • Verify proper access to the appropriate business units.
          • Verify use cases have a unique name.
          • To avoid resolution errors, verify which Unified Individual DMO API name to use if not the default.
          • Verify you have a Subscriber Key, Unified Individual ID, or both.

          Set Up Your Agent Flow

          Agentforce uses the flow to sort your population into the right journeys, creates the right content for each individual, and stores the data in your data extensions.

          1. Create a new flow in Flow Builder.
          2. Select your New Automation data source.
            This is akin to choosing a journey entry event. For example, choose a segment-triggered flow for a journey. For flows, use the automation event-triggered flow.
          3. Click the Add Element icon in the flow.
          4. Find the action you need in the list of options. The agent action is the API name for the action you created.
          5. Fill out the fields associated with your action.
            Refer to the Sample Input Value Text table for examples of the information to use for the input values.
          6. Save the action.
          Sample Input Value Text
          Action Sample utterance considerations
          Journey Selection Working with usecase {usecaseId}, select the best journey for the subscriber with unifiedIndividualId {unifiedIndividualId}. Use individualId {individualId} only for retrieving personalized context. Copy and paste this text to use for your input value for journey selection.
          Journey Content Creation Working with usecase {usecaseId}, create journey email content on selectedJourneyId {selectedJourneyId} for the subscriber with unifiedIndividualId {unifiedIndividualId}. The email content should consider user preferences, given that they like [enter specifics here]. Use individualId {individualId} only for retrieving personalized context.

          Copy and paste this text to use for your input value for content creation.

          Replace information in the [enter specifics here] placeholder. This should be information that specifically reflects the subscriber, such as liking running or hiking, or they live in the Northwest US.

          Use Your Data in Journey Builder

          Now that Agentforce has your personalized journey decisions and content created for your subscribers, you can use that information in Journey Builder.

          Log into Marketing Cloud Engagement. Use the data extensions that contain your Agentforce results in the journey entry event.

          Your Marketing Cloud Next setup determines how you can use the data from the data extensions. For example, if you use Automation Studio, create your automation to link the subscribers to the data you need for the journey and add them to the trigger. You can see which subscribers the agent sorted into which journeys.

          If you created content using Agentforce, you can, for example, add the AMPscript to your messages to use the subject line, preheader, and body copy from the data extension.

           
          Loading
          Salesforce Help | Article