Finding a profile by email
To find the LinkedIn profile of the person behind an email address, start a workflow with st.findPersonByEmail. It returns the profile URL. To get the person's data in the same workflow, add st.openPersonPage as its child: it runs only when a profile is found.
Each example below has its Node SDK call in the Node tab, and the label over each completion says what that call returns.
Each example below has its Python SDK call in the Python tab, and the label over each completion says what that call returns.
Each example below has its CLI command in the CLI tab, and the label over each completion says what the command prints.
The lookup uses 10 enrichment credits when it finds a profile. A lookup that finds nothing is free. Professional addresses work best; personal ones (such as gmail.com) are accepted but rarely found.
Finding the profile URL
Workflow:
{
"actionType": "st.findPersonByEmail",
"email": "jane.doe@acme.com"
}Completion:
Completion – result() returns its data in data:
Completion – with --json the CLI prints its data as data:
{
"actionType": "st.findPersonByEmail",
"success": true,
"data": {
"personUrl": "https://www.linkedin.com/in/jane-doe",
"providerStatus": "found"
}
}When no profile is known for the address, personUrl is null and providerStatus is notFound, and no credits are used.
In Python, the method's result has these as snake_case attributes: result.data.person_url and result.data.provider_status. In the workflow below, which goes through custom_workflow, the keys stay as in the JSON.
Opening the found profile
Add st.openPersonPage without a personUrl: it gets the found profile. Its own children work as usual. For example, st.retrievePersonExperience reads the person's career, and st.findPersonEmail finds their other addresses.
Workflow:
{
"actionType": "st.findPersonByEmail",
"email": "jane.doe@acme.com",
"then": {
"actionType": "st.openPersonPage",
"basicInfo": true,
"then": {
"actionType": "st.retrievePersonExperience"
}
}
}Completion:
Completion – result() returns this whole completion in data:
Completion – linkedin workflow run prints this whole completion as data:
{
"actionType": "st.findPersonByEmail",
"success": true,
"data": {
"personUrl": "https://www.linkedin.com/in/jane-doe",
"providerStatus": "found",
"then": {
"actionType": "st.openPersonPage",
"success": true,
"data": {
"name": "Jane Doe",
"publicUrl": "https://www.linkedin.com/in/jane-doe",
"position": "Head of Sales",
"companyName": "Acme",
...
"then": {
"actionType": "st.retrievePersonExperience",
"success": true,
"data": [ ... ]
}
}
}
}
}Good to know
- The lookup itself opens no LinkedIn page and counts against no account limit. The
st.openPersonPagechild counts as onestPersonProfileViewsfor the found profile. See Limits. - If the child fails with an error of its own, it reports the error in
then, andpersonUrlis still returned and paid for. If the account fails as a whole – it is signed out, or its interface language is not supported – the whole workflow fails and the lookup's credits are given back. - With fewer than 10 credits, the workflow is rejected with
insufficientEnrichmentCreditsbefore it starts.
💡 To find a person's email from their LinkedIn profile, see Finding a person's email.
This page provides examples of workflows and their completions. For detailed documentation on constraints, parameters, and possible results of specific actions, always refer to the corresponding action documentation pages.