Artisan IMG > Linkedin (linkedin-trigger) (98204dc0-c437-44e0-8a18-f9ae125a714f)
Artisan IMG > Linkedin (linkedin) (98204dc0-c437-44e0-8a18-f9ae125a714f)

On LinkedIn ad form submit, capture and format lead

Workflow
Revops
Marketing
Beginner

This is a 'Workflow' template which means that it is a single standalone workflow.

Some workflow templates can be modified to work with other workflow templates - e.g. to convert a data sync between two services from uni-directional to bi-directional

This workflow template can be used to capture any LinkedIn form submission from your LinkedIn campaigns and clean the form submission data such that you can sync the lead to any downstream system, such as your CRM (e.g., Salesforce) or marketing automation platform (e.g., Marketo, Hubspot).

Steps to setup:

Watch a setup demo video here.

The scopes you choose for BOTH the trigger and connector should be the EXACT same. If you have an existing LinkedIn authentication in Tray, you should use that and/or ensure the scopes for any NEW authentications exactly match the existing ones. Read the LinkedIn connector docs for more information.

  1. Create/add an authentication for your trigger and the LinkedIn connector

  2. Select your LinkedIn account in the trigger settings

  3. Submit a test lead through one of your LinkedIn ads

  4. Confirm test lead is being ingested in the logs

  5. In the last log step, map the output of the `key transform` object helper

The key reasons to use this workflow is that it makes a very clean lead object from the LinkedIn form submission, which is difficult to parse due to the fact that their form submissions do not readily distinguish which form answers tie to a given form field.

For example, by default linked in sends you all form fields as a list (i.e., array) and does not include the field name with it:

1
{
2
"formResponse": {
3
"answers": [
4
{
5
"question": "urn:li:adFormQuestion:(urn:li:adForm:3956276,6)",
6
"answerDetails": {
7
"com.linkedin.ads.TextQuestionAnswer": {
8
"answer": "jondoe@tray.io"
9
}
10
}
11
}
12
]
13
}
14
}

If the above form submission was the only form field, this workflow would return the lead object as:

1
{
2
"result": {
3
"email": "jondoe@tray.io",
4
}
5
}