Skip to main content

Add a Custom Object to an App’s Recipe and Dataset

At Larry’s Laptop Emporium, you also created a custom object called Reseller Account Plan that is used to track the revenue target (quota) for a reseller for a given fiscal year on the Account page in Salesforce.

Adding a custom amount field to the Opportunity object

Maple Leaf Laptops & Gadgets is your biggest reseller and you plan to meet with them soon to discuss their resell strategy. Their agreed sales target and potential commission for the current year is on their reseller account plan.

Now you want to add data from the reseller account plan custom object to the Account page. 

Add the Reseller Account Plan Custom Object to the Account Recipe

In order to add the Reseller Account Plan custom object to your Account dataset, start by setting up data sync for the custom object object.

  1. From Analytics Studio, go to Data Manager | Connections.
  2. Select SFDC_Local and select Edit Objects from the dropdown menu.

    Select Edit Objects from the dropdown menu to modify the connection
  3. Select the Reseller_Account_Plan__c object and select following fields:
    • Account
    • Fiscal Year
    • Target Amount USD
    • Target Amount CAD
  4. Click Save.

Run the Data Sync for the Custom Object

Next, run the initial Data Sync for the custom object.

  1. From the list of connection objects, find the Reseller_Account_Plan__c object.
  2. Click the dropdown icon on the Reseller_Account_Plan__c. You may need to scroll right to see the dropdown menu.
  3. From the drop-down list, select Run Data Sync | Run Full Sync.
  4. Go to Data Manager | Jobs Monitor to see the progress of the data sync running.

Add the Custom Object to a Recipe

Now let’s add the Reseller Account Plan fields to the Account dataset. 

  1. From Analytics Studio, go to Data Manager | Recipes.
  2. Open the Customer Insights Analytics Opportunity Recipe and click Add Input Data.

    Add input data to the Customer Insights Analytics Opportunity recipe
  3. Search for then click the Reseller_Account_Plan__cobject, and then select the fields to include:
    • Record ID
    • Account
    • Fiscal Year
    • Target Amount USD
    • Target Amount CAD
  4. Click Next.
  5. After the Reseller_Account_Plan__c object has been added to the recipe, click the + beside the Reseller_Account_Plan__c object and drag it on top of the existing Account node.

    Click the + sign next to the Reseller_Account_Plan__c object and drag it over the Account input object
  6. Click Join | Look-up.
  7. Under Join keys, select Account as the join key for the Reseller Account Plan Object and Account ID as the join key for Account.
  8. Click the Preview tab to verify that the right IDs are joined and that the join type is correct.

    Join Account and Reseller_Account_Plan_c and preview the data
  9. Click Apply on the left panel.
  10. Click Save and Run.
  11. Go to Data Manager | Jobs Monitor and verify that the recipe has run.

Explore the Data Added from the Custom Object in the Account Dataset

When the recipe has run, go to Analytics Studio to explore the new Reseller Account Plan data in the Account dataset.

  1. From Analytics Studio, click Browse | All Items | Datasets.
  2. Select Account.
  3. Click Explore.
  4. Click Filters and + to add a new filter.
  5. Add the filter: Account Type equals Channel Partner/Reseller.
  6. Click Apply.
  7. Click the Data tab to modify the bar account and length.
  8. In the Bar Length field select Sum | Target Amount (CAD) for Bar Length and Account Name for Bars.
  9. Sort Bar Length descending.
  10. Save the lens as Yearly Target Amount CAD.

Now you have an overview of the targets that the resellers have committed to for the current fiscal year! Things are looking great and you are excited for your upcoming meeting.

View of the Reseller Target custom object

Keep learning for
free!
Sign up for an account to continue.
What’s in it for you?
  • Get personalized recommendations for your career goals
  • Practice your skills with hands-on challenges and quizzes
  • Track and share your progress with employers
  • Connect to mentorship and career opportunities