Example

This Data Stream example demonstrates how to use this Listener Agent to retrieve new Account records from Salesforce.

Refer to configuration to understand all configuration options of this Agent.

Step 1: Add the Agent

Drag the Salesforce Listener Agent onto the canvas. Link the output endpoint to the printer, rename it, and save the Data Stream.

Step 2: Configure General

Select the Agent and click Configure. In this case, keep the default collection and polling interval the same.

Step 3: Configure Authentication

Tick to use variables and enter the Salesforce login details: username, password, and whether it is a sandbox.

Step 4: Configure Custom API OAuth Settings

Select the consumer key and secret.

Step 5: Configure Object

Set the object to be retrieved. In this case, select Account.

Step 6: Results

Apply the changes, save the Data Stream, and publish it.

Let's look at the Live Data View. Observe that any new accounts created in Salesforce since the last poll are printed.

Files

See the Import, Export, and Clone - XMPro article for steps to import a Data Stream.

Last updated