Set up automatic lead registration from LinkedIn

Products
Marketing

This feature is available in beta version in Creatio version 7.18.5. We appreciate your feedback. 

Connect the forms from your LinkedIn lead generation campaigns to Creatio to automate lead import.

Before you start the integration, make sure you meet the following prerequisites on LinkedIn's end:

  • You have an ad account with lead forms. Set up the ad account in the LinkedIn Campaign Manager. Learn more about how to set up the ad account and lead generation forms in the official LinkedIn documentation: Create an Ad Account, Create Lead Gen Forms.
  • Your user account has access to the ad account.
  • Your user account has a “Super admin” or “Lead gen forms manager” role on the company page connected to the ad account.

Also, make sure that the values of the following Creatio system settings are populated:

  • “Identity server Url” (“IdentityServerUrl” code)
  • “Identity server client id” (“IdentityServerClientId” code)
  • “Identity server client secret” (“IdentityServerClientSecret” code)

If the values of these settings are empty, contact Creatio support.

Attention. If you use Safari, make sure to allow pop-up windows for your Creatio instance.

Set up a LinkedIn ad account integration 

You can integrate as many LinkedIn user accounts as necessary. Each LinkedIn user account can be connected to any number of ad accounts. Add a separate Creatio integration record per ad account.

After you add the integration record, map the LinkedIn form fields to Creatio columns to ensure LinkedIn passes the data correctly. You can also use the mapping feature to specify constant values for Creatio columns with “String,” “Decimal,” “Boolean,” “Date,” “Date/Time,” and “Lookup” data types. This will help you filter the imported records easier. For example, specify “CRM Days” in the Event lookup field.

There are several mapping options:

  • Default mapping applies to all forms in your ad account. This option supports fields from the “Profile information” group in the “Lead details & custom questions” section of your LinkedIn form. The data type of these fields can be “String” or “Date.”
  • Custom mapping applies to a specific form. It supports fields from the entire “Lead details & custom questions” section, as well as “Custom checkboxes” and “Hidden fields” sections of your LinkedIn form. The data type of these fields can be “String,” “Date,” or “Boolean.”

    If you specify custom mappings, Creatio will ignore the default mappings for the corresponding form.

Learn more about the LinkedIn form fields in the official LinkedIn documentation: Create Lead Gen Forms, Lead Gen Form Fields.

By default, both mapping options map the Notes column to “not_mapped_fields” macro that passes the data of the entire form submission as a string. This macro is required. If necessary, map the macro to a different string column, preferably with unlimited text length.

After you create the integration record and map the form fields, Creatio will register all newly-captured leads with unique LinkedIn lead IDs from the ad account automatically.

In general, the ad account integration procedure is as follows:

  1. Create a new ad account integration. Read more >>>
  2. Set up default mapping. Read more >>>
  3. Set up custom mapping (optional). Read more >>>

Step 1. Create a new LinkedIn ad account integration 

To create a new integration record:

  1. Click the btn_system_designer.png button to open the System Designer.
  2. Go to the “Import and integration” block → “Social lead generation service settings.” The Settings page will open automatically.
  3. Enter the URL of Creatio instance where you want to register leads in the Url to get leads field (Fig. 1) on the Settings page. By default, Creatio will populate the field with the URL from the browser tab.

    Note. The URL has to be accessible worldwide for the integration to work correctly. If your Creatio instance must be located in a private network, contact Creatio support to receive the list of IP addresses to whitelist.

  4. Select the role that will receive the lead generation related system messages in the Role for receiving notifications field (Fig. 1).
  5. Click Apply.

    Fig. 1 The Url to get leads field
    scr_url_to_get_leads.png
  6. Click New in the Social leadgen integrations section list. This will open a dialog box.
  7. Specify the ad account to integrate in the box:
    1. Select “LinkedIn” → Next.
    2. Sign in to the LinkedIn user account that meets the prerequisites and grant permissions to Creatio → Next.

      You only need to grant permissions once per LinkedIn user account.

    3. Select the checkboxes next to the ad accounts grant Creatio access to them → Next.

      You only need to perform this step once per LinkedIn user account.

    4. Select the ad account for this integration in the dropdown list → Next.
  8. Enter the custom integration name in the Name field in the left area (optional).
  9. Repeat steps 6-8 for the other relevant ad accounts (optional).

As a result, Creatio will add a new LinkedIn ad account integration.

Step 2. Set up default mapping 

Creatio automatically imports data of ad campaign, ad banner, and lead generation form that are connected to the lead to the Extended lead information detail on the lead page. To ensure Creatio populates new leads using the profile data of LinkedIn users who fill out the lead generation form, map the default fields. To do this:

  1. Go to the Default mapping detail in the left area → Add.
  2. Select the columns of the Lead object to map → Select.
  3. Hover over the relevant column → the btn_mapping_menu.png button → fill out the field (Fig. 2) in one of the following ways:
    Fig. 2 Mapping a form field to Creatio column
    gif_mapping_a_form_field.gif
    • Click Form field and select a LinkedIn form field. Creatio will populate this column with the values leads enter in the corresponding field.
    • Click Text value and enter a constant value. Creatio will populate the column with this value for all registered leads.
    • Click Boolean value and specify a “true” or “false” value. Creatio will populate the column with this value for all registered leads (for boolean fields).
    • Click Lookup value and select a lookup value. Creatio will populate the column with this value for all registered leads (for lookup fields).
    • If there is no column mapped to the “not_mapped_fields” macro, click OtherUnmapped form fields to map a column to the macro. Creatio will populate this column with the data of the entire form submission (for string fields).
  4. Repeat step 3 for all needed fields. We recommend mapping all form fields to Creatio columns to ensure you receive all the relevant data.
  5. Click Apply.

Step 3. Set up custom mapping (optional) 

Set up custom mapping to map the fields of the “Lead details & custom questions”, “Custom checkboxes”, and “Hidden fields” sections of a specific LinkedIn form to Creatio columns or specify constant values in Creatio columns. To do this:

  1. Select one of your LinkedIn ad account forms in the Form list.
  2. Go to the setup area to the right of the list → select the Custom mapping checkbox.
  3. Click Add.
  4. Fill out the fields similarly to default mapping.
  5. Click Apply.

As a result, Creatio will register the future leads with unique LinkedIn IDs captured by your LinkedIn forms.

For test forms LinkedIn creates only one lead per user per day. If you submit the same form multiple times during a day, Linkedin updates the existing lead. When you launch an ad campaign this limit is removed automaticaly.

The existing duplicate search rules apply to the registered leads as well. Learn more in separate articles: Lead duplicate search, Find and merge duplicates.

Synchronize leads captured prior to the integration 

Creatio will register only the leads captured after you set up the integration automatically. To register the previously captured leads:

  1. Click the btn_system_designer.png button to open the System Designer.
  2. Go to the “Import and integration” block → “Social lead generation service settings.”
  3. Open the relevant integration record.
  4. Click Sync all leads on the toolbar to register leads from the entire account. Alternatively, click Sync leads in the setup area of the needed form to register leads captured by a specific form (Fig. 3).

    Fig. 3 The lead synchronization buttons
    scr_lead_synchronization_buttons.png
  5. Specify the lead capture period within the last 90 days in the box that opens. Creatio will calculate the period using calendar dates regardless of the integration status at the time.
  6. Click Sync.

As a result, Creatio will register leads with unique LinkedIn lead IDs for the corresponding period.

Synchronize changes in an active lead generation form 

If you add new fields to your LinkedIn form, update the mapping in Creatio. Otherwise, Creatio will import data of new form fields only using the “not_mapped_fields” macro.

When you rename a form in LinkedIn, the form name in Creatio remains unchanged. You can update the name manually in the Lead forms (“LeadGenLeadForms” code) lookup.

Disable the LinkedIn lead generation integration 

There are several ways to disable the integration that accommodate for different needs and security requirements. For example, toggle off the integration on Creatio's end while keeping your LinkedIn user and ad account tokens or the tokens themselves.

Toggle off lead registration from the form or the account 

  1. Click the btn_system_designer.png button to open the System Designer.
  2. Go to the “Import and integration” block → “Social lead generation service settings.”
  3. Open the integration record.
  4. Toggle off the switch next to the form in the Form list or the Name field in the left area, respectively (Fig. 4).

    Fig. 4 The lead registration toggles
    scr_lead_registration_toggles.png
  5. Click Apply.

As a result, Creatio will stop registering leads captured by the form or the account. Toggle the corresponding switch back on to resume lead registration.

Revoke your LinkedIn user account token 

  1. Click the btn_system_designer.png button to open the System Designer.
  2. Go to the “Import and integration” block → “Social lead generation service settings.”
  3. Click Settings.
  4. Click the btn_parameters_window_edit.png button next to your LinkedIn user account in the LinkedIn ad accounts detail → Delete → confirm the deletion (Fig. 5).

    Fig. 5 Revoke a LinkedIn token
    scr_revoke_a_token.png

As a result, Creatio will no longer use your LinkedIn user account to access the LinkedIn ad account. If your token is the only one that provides access to the ad account, revoking it will disable lead registration from the account.

Disconnect the LinkedIn ad account 

  1. Click the btn_system_designer.png button to open the System Designer.
  2. Go to the “Import and integration” block → “Social lead generation service settings.”
  3. Click the btn_parameters_window_edit.png button next to the integration that uses the corresponding ad account → Delete → confirm the deletion.
  4. Click Settings.
  5. Click the btn_parameters_window_edit.png button next to the ad account in the Linkedin ad accounts detail → Delete → confirm the deletion.

As a result, Creatio will lose access to your LinkedIn ad account and will be unable to register new leads.