You can leverage ion’s Get Lead integration with the Eloqua REST API to optimize your ion experiences. This integration enables you to retrieve data from Eloqua based on a respondent's email address. You can leverage Get Lead to pre-populate (or shorten) ion forms, auto-segment respondents and for progressive profiling.
This document provides step-by-step instructions to set up a REST API integration with Eloqua to get lead data. We’ll use the integration to pre-populate an ion form in this document, but, as noted, there are a few different ways you can use Get Lead to enhance your ion experiences.
Before we begin
There are few items you'll need to a roundup from Eloqua prior to setting up the integration, listed below:
- Eloqua Username
- Eloqua Password
- REST API Endpoint URL
There are few items you'll need to have ready in ion prior to setting up the integration, listed below:
Check out the "Before you begin" support post for guidance in creating these items.
- Create data collection fields that will store Eloqua data
- Create ion form(s) that will populate with Eloqua data
- You can pass an email address value into the ion page on the query string, and populate a form on the landing page with data
- OR, you can collect email address on an initial form, and populate a subsequent form with Eloqua data
- Set up testing creative
Let’s Get Started!
1. Add Eloqua account credentials to ion
- Click the Integrations tab in your console’s side nav
- Click “Set up account credentials” button
- Under Eloqua, click the “New eloqua credential” button
- Add a friendly label for your account then click "authorize eloqua"
- Add your Eloqua credentials into the embedded Eloqua interface and then click "Accept" to allow ion to access the Eloqua REST API
2. Create field mapping
Taking the steps below will enable you to extend an email address value to Eloqua and map the data points returned to their corresponding ion data collection fields. To get started, add your new field mapping:
- Navigate back to the Integrations screen
- Click green “New field mapping” button
- Label the field mapping and optionally add a description
- From the Integration type menu, select “Eloqua”
3. Add Email Address as the Outbound field
The email address value will be used as the key to retrieve data from Eloqua.
- Click green “New outbound field” button
- Select Data field from the Source drop-down
- Select Contact Info > Email Address
- Make the field required for the integration to run
- Select the corresponding Eloqua Email Address field
4. Create Inbound fields
Inbound fields will map the data Eloqua returns into their corresponding ion data collection fields.
- Click green “New inbound field” button
- From the Target dropdown menu, select Data field and then select the ion data field you seek to populate with Eloqua data
- To pre-populate ion forms with Eloqua data, be sure to select the data field used on your form
- From the Source dropdowns, select the Eloqua field you seek to pull data from
- OR, select Response body to save the response from Eloqua to an ion data field
- Repeat these steps for each Eloqua data field you seek to save into ion data collection
5. Create integration
- Navigate back to the Integrations screen
- Click into the Integrations tab
- Click green “New integration” button
- Enter label
- Optionally add a description
- Select the Field Mapping you’ve just created
- Skip Maximum retries
- Select Get Lead as the API method
- Select the outbound Email Address field
- Optionally add yourself to the debug distribution list for testing
- This will deliver an email to the designated address when the integration runs that displays the request and response from Eloqua
- Check Only send error emails if you want to receive the debug email only when there is an error
6. Add integration to ion pages
The ion platform runs the integration based on rules you create. For Eloqua Get Lead, the rule will typically run behind a form that collects email address (so that the Eloqua data is available for use on the subsequent page), or the rule is run at the page-level of a landing page where email address is passed in on the query string.
- Navigate into a testing creative
- If passing email address into your page from the query string, under the Page tab in creative studio, click on +RULES
- Add the following rule:
- Condition: No conditions required
- Action: Run integration (select Elq Get Lead integration)
- OR, if collecting email address on an initial form, run the above rule at the form-level
7. Test integration
Please note, integrations do not run in Preview Mode, so you'll want to open a URL for your testing creative. Either pass email address into your ion page on the query string, or submit your initial form that collects email address. If passing email address into ion on the query string, be sure that the parameter name you append to the URL matches the "data name" of the ion data collection field selected as the outbound field in your Field Mapping.
Once the integration runs, the form you seek to pre-populate will display the data retrieved from Eloqua. If you’re on the debug email distribution list, you’ll receive an email that displays the request and response from Eloqua.
Once you’ve completed these steps, your integration is ready for use. You can add the rule to run the integration on all applicable creatives.
As noted, Eloqua Get Lead can be used to accomplish other objectives. Here are some examples that can be accomplished using this integration and ion's Rules engine:
- Shorten or replace forms
- Auto-segment respondents
- Build progressive profiles
- Serve-up dynamic content based on Eloqua data