Salesforce Snap Pack Examples

The following examples demonstrate how to use Snaps in the Salesforce Snap Pack.

Example Snaps used

Creating Multiple Records

The following example Pipeline of Salesforce Batch Create Snap shows how to create multiple records in Salesforce in a batch.

Display empty string or null data as null in the output

This example pipeline demonstrates how you can enable the Salesforce Bulk Snaps to display empty strings and null data as null in the output using the Display null or empty values as null checkbox.

Create a New Bulk Record in Salesforce Object

This example demonstrates how to create a new bulk record in a Salesforce object.

Delete Records In Bulk from Salesforce

This example demonstrates how to delete bulk records from a Salesforce object.

Querying for Contacts in Salesforce Using Upstream Parameters in the Bulk Query Snap - Understanding the Pipeline

The Salesforce Bulk Query Snap enables you to retrieve multiple data values from your Salesforce database using a simple query, where you can provide all the details associated with your request in th...

Update Records in Bulk in Salesforce

This example demonstrates how to update records in bulk in a Salesforce object.

Inserting Bulk Records in Salesforce

This example demonstrates how to insert or update a new bulk record in a Salesforce object.

Create new records in Salesforce

The following example shows how to create a new record in a Salesforce object.

Deleting a Record in Salesforce

The following Pipeline example shows how to delete a record in a Salesforce object:

Salesforce Snap Reading the Bulk Records with the Dynamic Account Enabled

The Snap reads records from the Account object, and retrieves values for the 10 output fields (Output field limit) starting from the 3rd field (Output field offset). Additionally, we are passing the v...

Looking up Records

In the following example Pipeline, the Salesforce Lookup Snap shows how Salesforce object records can be looked up:

Looking-up Records with REST API Using the Correlation ID

The Salesforce Read Snap reads the data from the SObject type Account, with the desired output fields as Name, Id, BillingCity and AccountNumber.

Looking-up Records with a Single Lookup Request

In this Pipeline, the Salesforce Read Snap reads the records from an object, maps the value of an ID, and passes the values to the Salesforce Lookup Snap.

Looking-up Records Using Correlation ID

In this Pipeline, the Salesforce Read Snap reads the records from an object, maps the value of an ID, and passes the values to the Salesforce Lookup Snap.

Poll the status of the object creation actiion

The following pipeline shows how a Salesforce Create Snap creates an object record and the Salesforce Poller Snap is used to poll the status of the object creation action:

Processing Different Input Documents

This Pipeline demonstrates how the Salesforce Publisher Snap processes three different input documents. The first document is a valid record. The second document has one required field that is missing...

Reading Records from an Object

The following Salesforce Read Snap shows how the Snap is configured and how the object records are read. The Snap reads records from the Account object, and retrieves values for the fields, Id, name, ...

Reading Records in Bulk

The Salesforce Read Snap reads the records from the Standard Object, Account, and retrieves values for the 10 output fields (Output field limit) starting from the 3rd field (Output field offset). Addi...

Using Second Output View

This example Pipeline demonstrates how you can add an optional second output view that exposes the schema of the target object as the output document. For this, we configure the Pipeline using the Map...

Salesforce SOQL example

Pipeline: Data from Salesforce.com and ServiceNow: This pipeline makes use of Salesforce SOQL Snap and illustrates how to work with data from Salesforce and ServiceNow.

Reading Object Records using SOSL

The following Salesforce SOSL Snap shows how the Snap is configured and how the object records are read using SOSL. The SOQL/query retrieves records from Account object that begin with the string Unit...

Process Platform Events in Salesforce

This example Pipeline demonstrates how the Salesforce Subscriber Snap processes platform events. The following Salesforce Subscriber Snap shows how the Snap is configured and how the Salesforce object...

Process Salesforce events through custom channels

This example pipeline depicts configuring a Salesforce Subscribe Snap to read event information from a Salesforce custom channel.

Update a New Record

The following example Pipeline demonstrates how to update a new record in a Salesforce object.

Upserting Department Record and Associating with an Employee Record

We then configure the Salesforce Poller Snap to poll the status of the batch job submitted to Salesforce application from the Salesforce Upsert Snap. Upon validation, the Snap creates the record for d...

Upserting a new record in a Salesforce object

The following example Pipeline demonstrates how to upsert a new record in a Salesforce object.

Salesforce Wave Analytics example

The following example Pipeline demonstrates how to upload data to Salesforce Wave Analytics.