---
schema_version: "1"
id: 9a7f5cd9cb1c1e15d0502920cf7791eabd41173788477f44a269bc9b2dfd96ec
title: Strategy Builder Map Element
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/nba_strategy_elements_map.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.nba_strategy_elements_map.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 44693d5097e66f23ee591b35e773686f3852f330914b765ec4129b252dad99ac
description: The Map element creates Recommendation fields and modifies existing fields using formulas instead of Apex code. Use it to pass data from a Recommendation field with one name to a flow input with a different name, or to personalize Description, Name, and other fields with context-specific data.
products:
  - Flow Builder
  - Salesforce Platform
release: "264"
---
# Strategy Builder Map Element

The Map element creates Recommendation fields and modifies existing fields using formulas instead of Apex code. Use it to pass data from a Recommendation field with one name to a flow input with a different name, or to personalize Description, Name, and other fields with context-specific data.

### Required Editions

<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>

If you load an object other than Recommendation, add a Map element after the Load element and before the Output element in your strategy. Use the Map element to map fields from the records to required fields on the Recommendation object. For example, map the product Title field to the recommendation Name field. Mapping fields converts the filtered records into recommendations that are surfaced via the Next Best Action component and your own apps.

![Example](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-platform_automation-264-0-0-production-enus/60568438-ec7e-4665-acd1-7c80dcbe60d5/images/icon_example.png)

Example You can include the name of a contact in a recommendation, and further personalize the recommendation with text. Suppose that you have a recommendation with the description, “Thank you for being a loyal customer. We truly appreciate your business!” Using the Map element, you can personalize the description. Add the name of the contact to the description, for example, “Lauren Boyle, Thank you for being a loyal customer. We truly appreciate your business!”

- Use a Load element to load all the recommendations you want to change. Or you can add a Generate element and pass in dynamically generated recommendations.
- Add a Map element. In the Name field, select **Description** and in the Value field, enter this expression:
    
    `$Record.Contact.Name+ “, ” + Description`. Leave the Type field as `Text`.
    
    ![The Map element dialog with personalized thank you.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-platform_automation-264-0-0-production-enus/60568438-ec7e-4665-acd1-7c80dcbe60d5/platform_automation/images/next_best_action/nba_map_personalized_recommendation.png)
- Place the “Personalized Thank You” Map element after the Load element. It modifies the descriptions of all recommendations that pass through it.
    
    ![Personalized thank you strategy](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-platform_automation-264-0-0-production-enus/60568438-ec7e-4665-acd1-7c80dcbe60d5/platform_automation/images/next_best_action/nba_map_personalized_thankyou.png)
- When you execute the strategy, your recommendations include the contact name for the current case.