Data Productivity Cloud Pipeline

Quickstart Salesforce Account First Opportunity

Use this Quickstart Data Productivity Cloud pipeline to generate an integrated report from the Account, Opportunity and User Salesforce tables.

Salesforce tables used

  • Account
  • Opportunity
  • User

Referring to the Salesforce Architects Sales Objects reference:

Image ofSalesforce Entity Relationship Diagram
Salesforce Entity Relationship Diagram

Integrated Salesforce object report table

Output table: mtln_qs_sf_account_first_opportunity

Granularity: One record per Account, but only for Accounts with at least one Opportunity. When an Account has more than one Opportunity, only the first Opportunity (by CreatedDate) is included

Generating the report

Start by opening the Orchestration pipeline:

Image ofOrchestration pipeline qs-sf-account-first-opportunity-orch
Orchestration pipeline qs-sf-account-first-opportunity-orch

Set the default value of the pipeline variable SalesforceOAuthName to the name of your Salesforce OAuth.

Run the Orchestration pipeline. It will sync your Salesforce data, and create the output table using the Transformation pipeline.

Image ofTransformation pipeline qs-sf-account-first-opportunity-tran
Transformation pipeline qs-sf-account-first-opportunity-tran

Customizing the Salesforce report

  • Add more fields using the Salesforce Query components in the Orchestration pipeline
  • Add your own Table Inputs to the Transformation pipeline to customize the integration with your own data
  • You may choose to apply filters in the Transformation pipeline, in which case they will apply to all report users. Alternatively, apply filters in your visualization instead

Downloads

Licensed under: Matillion Free Subscription License

Download qs-sf-account-first-opportunity-orch.orch.yaml

  • Target: Snowflake

Download qs-sf-account-first-opportunity-tran.tran.yaml

  • Target: Snowflake

Installation Instructions

How to Install a Data Productivity Cloud Pipeline
Author: Matillion
Date Posted: Feb 6, 2024
Last Modified: Feb 7, 2024