If your workflow starts with an Instant LinkedIn trigger, you can set up a second workflow with a Polling trigger as a backup. LinkedIn recommends this approach to help capture leads if an instant notification doesn’t come through.
Both workflows watch the same Lead Gen Form and save leads to the same table in Jotform Tables. They use each lead’s Lead ID to check whether it’s already saved:
- Instant Workflow — Starts as soon as a new form response comes in and saves it to the table.
- Polling Workflow — Checks for new form responses every 10 minutes, searches the table for each lead’s Lead ID, and adds the lead only if it isn’t there yet.
Note
- Set up your Instant workflow first, with a Create Entry step that saves each lead to a table with a Lead ID column. Check out our guide on How to Set Up LinkedIn Lead Gen Form Triggers in Jotform Workflows to learn how.
- Both workflows must use the same LinkedIn account, ad account or Company Page, Lead Gen Form, and form version.
- This guide uses New Sponsored Lead as an example. For organic leads, follow the same steps with New Organic Lead, and select the values under that trigger’s group in the field picker.
Setting Up the Polling Workflow
First, create a new workflow that checks the same LinkedIn form every 10 minutes. Here’s how to do it:
- On the top-left side of your Workspace page, click on Create.
- Then, in the menu that opens up, select Workflow.
- Next, click on Start from Scratch.
- Now, in the Start Point window that opens, select Integrations.
- Then, click on Next at the bottom of the window.
- In the Integrations window, select LinkedIn.
- Then, click on Next to continue.
- Next, in the LinkedIn Starting Point window, select New Sponsored Lead with the Polling badge.
- Now, click on Authenticate and log in to your LinkedIn account.
- After authenticating your account, in the New Sponsored Lead window, set up these things:
- Ad Account — Click on the Downward Arrow icon and select the same ad account your Instant workflow uses.
- Lead Gen Form — Click on the Downward Arrow icon and select the same form and version your Instant workflow uses.
- Once you’re done, click on Save.
Searching the Table for the Lead ID
Next, add a Jotform Tables step that searches your table for the incoming lead’s Lead ID. This action is called Get Entry. Here’s how to set it up:
- In Workflow Builder, below the LinkedIn Start Point, click on Add Element Here.
- Then, in the menu that opens, hover your mouse over the left side of the menu and click on Integrations.
- Next, select Jotform Tables from the list.
- Now, under the Action section, select Get Entry, and click on Next.
- After that, click on Select a Table.
- In the Select a Table window that opens, choose the table where your Instant workflow saves leads, and click on Next.
- Then, click on Select Table.
- Now, in the Jotform Tables window, click on Next.
- Next, in the Filter Entry section, set up the condition:
- IF — Click on the Downward Arrow icon and select the Lead ID column from your table.
- Condition — Leave it as Is Equal To.
- Value — Click on the Downward Arrow icon and select Lead ID under New Sponsored Lead.
- Once you’re done, click on Next.
- Now, under Retrieved Fields, keep All fields selected, or click on the Downward Arrow icon to choose specific fields. Lead ID must be included.
- Finally, click on Create and you’re done.
Saving Missed Leads to Your Table
Once the Get Entry step is in place, add a condition that checks whether it found the lead. If the lead isn’t in your table yet, the workflow saves it. If it’s already there, the workflow ends. Here’s how to set it up:
- In Workflow Builder, hover your mouse over the Get Entry element and click on the Plus icon below it.
- Then, click on Add Element Here.
- Now, in the menu that opens, hover your mouse over the left side of the menu and click on Logic.
- Next, select the If/Else Condition from the list.
- After that, click on Add Conditions.
- In the If/Else Condition window that opens, click on the Downward Arrow icon on the right side of IF.
- Then, in the Dropdown menu, scroll down to the Get Entry section and select Lead ID.
- Next, under STATE, click on the Downward Arrow icon and select Is Empty.
- Once you’re done, click on Save at the bottom of the window.
Note
Select the Lead ID under Get Entry, not the one under the LinkedIn trigger. The condition needs the search result to work as expected.
- Now, click on the Plus icon below the If/Else Condition element.
- Then, on the True branch, click on Add Element Here.
- In the menu that opens, hover your mouse over the left side of the menu and click on Integrations.
- Next, select Jotform Tables from the list.
- Now, under Action, select Create Entry, and click on Next.
- After that, click on Select a Table.
- In the Select a Table window that opens, select the table your Instant workflow saves leads to, and click on Next.
- Then, click on Select Table.
- Next, under the Match Your Fields section, map each column under Jotform Tables on the left to the corresponding field under Workflow Fields on the right, including Lead ID.
- Once you’re done, click on Create.
- After that, click on the Plus icon below the If/Else Condition element again.
- Then, on the False branch, click on Add Element Here.
- In the menu that opens, hover your mouse over the left side of the menu and click on Logic.
- Now, select End from the list.
That’s it! Your Polling workflow will now add only the leads that your Instant workflow missed.
Preventing Duplicate Entries
Searching the table before adding a lead catches most duplicates, but here are a few things to keep in mind:
- Overlapping Runs — Searching and adding are two separate steps, so they don’t guarantee unique entries. If both workflows run at nearly the same time, they may both find no match and add the same lead. For extra safety, add the same Get Entry and If/Else Condition check to your Instant workflow, and test how the two workflows behave together.
- Matching by Email — Use Lead ID to find matches, not email address. Matching by email alone can merge separate submissions from the same person.
- Event Leads — LinkedIn may reuse the same response ID when someone changes their event registration. If you need to keep each change as a separate entry, match using both the Lead ID and submission time.
Pro Tip
Instead of using Get Entry and an If/Else Condition, you can turn on the Update Existing Entry If It Already Exists option in the Jotform Tables Create Entry action. You can also use another integration that supports updating existing entries.
































Send Comment: