---
schema_version: "1"
id: 391c4482b77082f54f978f936654c98fb52899694f9e99064cac697730ea7986
title: Create a Strategy with Strategy Builder
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/nba_strategy_builder_creating.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.nba_strategy_builder_creating.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 0ce56d9742779714a754376aca502a4308895661ea34eac170854a45573a60fd
description: Once you’ve created flows and recommendation records, use Strategy Builder to funnel the correct recommendations to your users at the right time.
products:
  - Flow Builder
  - Salesforce Platform
release: "264"
---
# Create a Strategy with Strategy Builder

Once you’ve created flows and recommendation records, use Strategy Builder to funnel the correct recommendations to your users at the right time.

### Required Editions

Before you start creating strategies, make sure that you create flows and recommendation records that you can use in your strategy.

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;"><a href="https://help.salesforce.com/s/articleView?id=platform.nba_ref_editions.htm&amp;release=264.0.0&amp;type=5" title="Learn about the editions and user interfaces that support Next Best Action.">View supported editions for Next Best Action</a>.</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d103739e59">User Permissions
              Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d103739e59 ">To create or manage action strategies:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d103739e59 ">
              <p>Modify All Data</p>
              <p>OR</p>
              <p style="margin-bottom:0;">Manage Next Best Action Strategies</p>
            </td>

          </tr>
          <tr class="" id="nba_strategy_builder_creating__d3306e209">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d103739e59 ">To run an action strategy:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d103739e59 ">
              <p>Run Flows</p>
              <p>OR</p>
              <p style="margin-bottom:0;">Flow User field enabled on the user detail
                page</p>
            </td>

          </tr>
        </tbody>
      </table>

1. Open Strategy Builder. From Setup, enter Strategies or Next Best Action in the Quick Find box, select **Next Best Action**, and click **New Strategy**.
2. Give your strategy a name and a description.
3. Select a context object from **Object Where Recommendations Display**.
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-platform_automation-264-0-0-production-enus/60568438-ec7e-4665-acd1-7c80dcbe60d5/images/icon_note.png)
    
    Note The object that you choose here provides the context for your entire strategy.
    
    For example, if you plan to use this strategy on Case pages, select Case. When the strategy executes and resolves your expressions, the Next Best Action engine interprets the incoming recordId as a case object. The engine has to know to what type of object the pages belong to resolve expressions correctly. Linking your strategy to a specific object also enables Strategy Builder to provide intelligent assistance in other areas, such as the Test feature.
4. Drag the appropriate elements onto the canvas.
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-platform_automation-264-0-0-production-enus/60568438-ec7e-4665-acd1-7c80dcbe60d5/images/icon_note.png)
    
    Note It’s best to start by adding a Load element, as loading recommendations is the first step in any strategy.
5. Order your elements to make sure that recommendations are flowing through the correct branches.
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-platform_automation-264-0-0-production-enus/60568438-ec7e-4665-acd1-7c80dcbe60d5/images/icon_note.png)
    
    Note Elements are divided into two main categories: Recommendation Logic and Branch Logic. Recommendation Logic elements act directly on the recommendations flowing into the element by filtering, sorting and limiting. Branch Logic elements act as gates, using context information, such as the recordId of the page the user is viewing, to decide which sets of recommendations to allow.
6. Save any changes to your strategy.
7. To make sure it’s working as expected, test your strategy.
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-platform_automation-264-0-0-production-enus/60568438-ec7e-4665-acd1-7c80dcbe60d5/images/icon_note.png)
    
    Note If your strategy isn’t running properly or you see an unexpected error, try using the **Inspector** tab to find the problem.
8. Display your strategy using the Suggested Actions component in Experience Builder or the Einstein Next Best Action component in Lightning App Builder.

- **[Write a Strategy Builder Expression](https://help.salesforce.com/s/articleView?id=platform.nba_strategy_expressions.htm&release=264.0.0&type=5)**  
    Create unique expressions using logic from the Salesforce expression builder to filter recommendations, select or deselect branches, and determine which recommendations are available for consideration in a strategy.
- **[Create a Strategy Builder Action Strategy Connection](https://help.salesforce.com/s/articleView?id=platform.nba_strategy_builder_connections.htm&release=264.0.0&type=5)**  
    Use Apex actions to integrate external data sources and information from your Salesforce org into your strategies.
- **[Create a Custom Notification Flow for Next Best Action](https://help.salesforce.com/s/articleView?id=platform.nba_platform_status_alert_event.htm&release=264.0.0&type=5)**  
    Create a trigger in Process Builder to receive direct notifications about errors occurring in your strategies. Launch a flow to send error information to your desired targets.
- **[Create, Package, and Distribute a Strategy Builder Template](https://help.salesforce.com/s/articleView?id=platform.nba_strategy_template.htm&release=264.0.0&type=5)**  
    Enterprise developers can create and package strategy templates from Developer Edition orgs for use in multiple Salesforce orgs. Independent software vendors can also publish templates on AppExchange for distribution to their subscribers. Strategies not marked as templates in managed packages have intellectual property (IP) protection and can’t be edited or cloned. IP protection safeguards proprietary information in your strategies.

#### See Also

- [Manage Strategy Builder Action Strategies](https://help.salesforce.com/s/articleView?id=platform.nba_strategy_builder_managing.htm&release=264.0.0&type=5 "Test, troubleshoot, and create strategies using Strategy Builder management tools.")
- [Create a Strategy with Strategy Builder](https://help.salesforce.com/s/articleView?id=platform.nba_strategy_builder_creating.htm&release=264.0.0&type=5 "Once you’ve created flows and recommendation records, use Strategy Builder to funnel the correct recommendations to your users at the right time.")
- [Build a Flow](https://help.salesforce.com/s/articleView?id=platform.flow_build.htm&release=264.0.0&type=5 "After you model the process that you want to automate, design and build the flow in Flow Builder.")