Loading
Salesforce now sends email only from verified domains. Read More
CRM Analytics
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 a Recipe with Data Prep

          Create a Recipe with Data Prep

          Use a Data Prep recipe in CRM Analytics to clean, transform, and enrich data before loading it into one or more targets. Preview your results as you build the recipe to confirm that the logic is correct.

          Watch a Demo: Play button Create a Data Prep Recipe (English Only)

          1. From Data Manager, click Recipes or Dataflows & Recipes.
          2. Click Create Recipe.
          3. Review the Data Prep welcome mat, and then click X to close it.
            The welcome mat provides an overview of Data Prep.
          4. Click Select Data.
            Choose the input data for the recipe.
          5. Select the datasets, connected objects, or direct data that you want to include as input for the recipe. If needed, you can add more data to the recipe later.

            A direct data reference doesn’t store data in CRM Analytics. Instead, each time the recipe uses direct data, a query gets the data. In Data Manager, SFDC_Local connections represent data stored in CRM analytics. Therefore, direct data references aren’t included in SFDC_Local connections.

            You can’t use a trended dataset as input data for a recipe.

            Select the check box next to the object that you want to pull input data from.
          6. In the Selected Columns panel, select either Custom Columns to choose the columns to include or All Columns to update all columns when the recipe syncs.

            By default, up to 50 columns are selected. If you add multiple data source objects, select each row individually to choose its columns. Selected Columns shows only columns for the highlighted row.

            Select the columns that you want to include in the recipe.
          7. Click Next.

            Data Prep adds an Input node to the graph for each input data selection.

          8. To add a node to the recipe, click the Add Node button (Add Node button) between two nodes or at the end of the recipe, and then select the node type. To show the Add Node button between two nodes, hover the cursor on the connecting line.
            The Add Node dialog appears when you click the Add Node button.
            Note
            Note If you want to flatten your hierarchy (flatten transformation), do so before you join datasets. If you flatten after the join, the transformation doesn’t create the flatten hierarchy data you expect.
          9. Preview the results of each node and transformation that you add to the recipe. Select the node or transformation in the graph. To assist in reviewing the data, from the column’s dropdown menu, you can choose a sort option or freeze the columns displayed on the left of the preview. Clicking a row highlights it. You can then pan to review the column values for that row. To find preview data enter a string in the search box. You can also copy API names and cell values, and hover to see the full value in a cell.

            For example, selecting an Aggregate node shows these preview results.

            The Preview tab shows the results after applying the Aggregate node.
          10. To edit or delete a node, select the node, click Open Node Actions button, and then select an action.
          11. To edit or delete a transformation in a Transform node, select the Transform node, select the transformation step, and then click Edit Transformation button or Edit Transformation button.
          12. To split the recipe into two branches, hover the cursor over the node where the branch begins, click Branch Recipe icon, and then select the node type to start the new branch.

            You can branch a recipe to write results to multiple output nodes or to transform some of the rows before appending or joining them together again later.

          13. To connect, join, or append nodes in the graph, drag the Add Node button (+) next to a node or Branch button (Branch Recipe icon) on top of another node in the recipe graph. Then select one of the Connect Nodes options.
          14. To tell the recipe where to write the results, end the recipe with one or more Output nodes.
          15. To save the recipe, click Save and enter a recipe name and description.

          • Nodes for Data Prep Recipes
            In CRM Analytics, Data Prep provides nodes that allow you to bring in data, transform it, and write the results to a target. For example, you can use a Join node to add columns from a related object to a recipe. You add nodes in the Graph area of Data Prep. You can string together multiple nodes to sequentially change the flow of the data.
          • Transformations for Data Prep Recipes
            In CRM Analytics, Data Prep provides transformations that allow you to prepare, clean, and transform your data. For example, you can use a transformation to create a calculated column based on a formula. You add transformations inside a Transform node. You can string together multiple transformations to manipulate data sequentially.
          • Connect and Reorganize Nodes or Branches in a Recipe
            In CRM Analytics, connect disconnected nodes or branches to join or append data from any node to any other node in a Data Prep recipe. You can also create a branch at an intermediate node, and join or append it to another path in the recipe.
          • Copy and Paste a Recipe
            In CRM Analytics, use the toolbar or keyboard shortcuts to copy and paste nodes within a single recipe or across multiple ones. To use this feature, enable clipboard access permissions in your browser.
          • Keyboard Shortcuts for Building Data Prep Recipes
            Perform basic actions from your keyboard in CRM Analytics.
           
          Loading
          Salesforce Help | Article