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.
- Create/add an authentication for your trigger and the LinkedIn connector
- Select your LinkedIn account in the trigger settings
- Submit a test lead through one of your LinkedIn ads
- Confirm test lead is being ingested in the logs
- In the last log step, map the output of the
key transformobject 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:
{
"formResponse": {
"answers": [
{
"question": "urn:li:adFormQuestion:(urn:li:adForm:3956276,6)",
"answerDetails": {
"com.linkedin.ads.TextQuestionAnswer": {
"answer": "jondoe@tray.io"
}
}
}
]
}
}
If the above form submission was the only form field, this workflow would return the lead object as:
{
"result": \{
"email": "jondoe@tray.io",
\}
}