Home > For Designers > Rules > Rule Definition > Integrations

Integrations

An integration is a service that uses an HTTP connection to get data from, or send data to, an external data source. To integrate with that external source, you start by defining an integration service. The rule can then use the service in a rule step to access the remote data.

 

You can define multiple integration services, using information gained from one to access the next. The process you define for the rule lets you specify the order in which the services are invoked.

 

Also, note a Rule is invoked for each stream record, as the record is processed. So, when remote data is accessed by a Rule, that access occurs for every single record. That is the typical methodology for remote updates. But when remote data is only being read, greater efficiency can be gained by setting a locally-cached copy of the data in the form of a remote Smart Object that is refreshed at intervals (every night, for example).

Prerequisites

To manage integration services:

  1. Go to Gear Menu > Rules Management
  2. Select an existing rule or create a new one.
  3. In the sidebar, hover over Integrations and click New​,
    or hover over an existing integration and click Edit.
  4. Create or modify the integration settings.
  5. Click Save.

Integration Settings​

Note:
The data you send and the data you get back may well consist of a complex hierarchy of data. For example, Client records may have a "contact information" section, with street address, email address, and phone number. For Pulpstream, perhaps all you need is the email address. So you would map that field value to your locally-cached records, and ignore the other fields in that segment.



 




Map Response
Map the data items contained in a normal response to fields defined for the Smart Object.
(To map fields, drag the arrow icons from fields on the left to fields on the right.)
Map Response
Map the data items contained in a normal response to fields defined for the Smart Object.
(To map fields, drag the arrow icons from fields on the left to fields on the right.)