When you source a lead from the People database, lemlist retrieves the number of LinkedIn connections on the lead's profile. You can use this connections count in a campaign condition to send LinkedIn steps to the leads with the largest networks and route everyone else to another channel.
This guide shows you where to find the connections count, how to add the condition with Lead variable, and how to build the branches.
Limitations
There is no condition called "Connections count" in the conditions list. The connections count is a field of the Lead variable condition: Connections count (PeopleDB).
lemlist retrieves the connections count when a lead is sourced from the People database. To give leads without a connections count their own steps, add a branch with is empty.
The connections count stops at 500, like on LinkedIn: a lead with 500 or more connections shows 500. A rule such as > 500 matches no lead. To target leads with 500+ connections, use ≥ 500.
Phase 1: Check the connections count in the People database
From the left sidebar, click People database and run your search.
The Connections count column is hidden by default. To show it, click Add at the end of the table header, then click the eye icon next to Connections count.
✅ Verify: the results table shows a Connections count column with each person's number of LinkedIn connections.
Select the leads you want and click Push to campaign. See Use the People database for the full push flow.
Phase 2: Add the condition to your sequence
Open your campaign and go to the Sequence tab. Click + (Add step) where you want the sequence to split.
In the step picker, switch to Conditions and select Lead variable.
In the right panel, under Branch 1, click Select a field. Search for Connections and select Connections count (PeopleDB).
Click the operator next to the field (= by default) and choose one: =, ≠, >, <, ≥, ≤, is between, is empty, or is not empty.
Click Select value and type the number of connections in Enter number.
✅ Verify: Branch 1 shows your rule, for example Connections count (PeopleDB) < 500, and the condition on the canvas is named Connections count (PeopleDB).
Phase 3: Build the branches
The condition splits your sequence into branches:
Branch 1: leads that match your rule.
Else - all other leads: all other leads. On the canvas, this branch is labeled Else.
To add another rule, click Add a branch in the right panel.
On the canvas, click + under Branch 1 and add the steps for these leads.
Click + under Else and add the steps for all other leads.
✅ Verify: each branch on the canvas has its own steps.
Practical example
You want to send LinkedIn invitations only to leads with a large network:
Condition: Lead variable → Connections count (PeopleDB) < 500
Branch 1 (fewer than 500 connections): Wait for 1 day → Email
Else (all other leads): Wait for 1 day → Invitation
To give leads without a connections count their own steps, click Add a branch, set Connections count (PeopleDB) to is empty, and add the steps you want on that branch.
Troubleshooting
Issue: I can't find a Connections count condition
Root cause: The connections count is a field of the Lead variable condition, not a condition of its own.
Fix: In the step picker, open Conditions, select Lead variable, then select Connections count (PeopleDB) under Branch 1.
Issue: I don't see the Connections count column in the People database
Root cause: The column is hidden by default.
Fix: Click Add at the end of the table header, then click the eye icon next to Connections count.
Issue: My rule with > 500 matches no lead
Root cause: The connections count stops at 500, so no lead has more than 500.
Fix: Use ≥ 500 to target leads with 500 or more connections.
If your case is different
If you want to branch on whether a lead is already a 1st-degree connection of the sender, see Build smarter LinkedIn sequences with the “Is in my LinkedIn Network” condition.
If you want to use other conditions, such as Has Linkedin URL or Opened email, see How to use conditions in your campaign sequence.
If you want to filter People database searches by number of connections before pushing leads, see Which filters can I use in the People database?.




