Sync SQL Server leads to Salesforce Wave Analytics

DatabaseCRMMarketingRecipe ToolsData Parser

What it does

When a batch of rows appears in the SQL Server Leads table on a specified interval, this automation searches Salesforce for matching external data records. It formats the data as CSV and loads it into Wave Analytics so insights stay current.

Who it's for

Data and analytics teams who need to refresh Wave Analytics datasets from SQL Server without manual exports.

How teams use this

Refresh Wave Analytics from SQL Server

Load a new batch of leads from SQL Server into Wave Analytics on a schedule so analysts always see current data without manual CSV exports or Salesforce uploads.

Prevent duplicate datasets in Wave Analytics

Search for existing External Data records before creating new ones so the same dataset is not loaded twice and analytics remain accurate.

Add custom fields to the dataset

Include additional SQL Server columns in the CSV by adding them to the compose step so Wave Analytics has richer data for segmentation and reporting.

Route datasets by business unit

Filter the batch by a business unit field and create separate External Data records for each one so teams see only their own data in Wave Analytics.

How it works

  1. Detect new rows in Leads table. On a specified interval, check the dbo.Leads table in SQL Server for a new batch of rows to process.
  2. Format data as CSV for Wave Analytics. Compose the batch into CSV format with the required structure and metadata so Wave Analytics can ingest the dataset.
  3. Search for existing external data record. Search Salesforce for an External Data record that matches the dataset name so a duplicate is not created in Wave Analytics.
  4. Create dataset and load into Wave Analytics. If no External Data record exists, create one with a unique timestamp-based name. Then create the External Data Part to load the CSV into Wave Analytics.