Get My Email Address

linkedin.get_email
ActionChat & messagingconnection required

Calls the LinkedIn API with the connection's credentials.

The primary email address on the connection's LinkedIn account, for a token that predates OpenID Connect.

Connection

Required
Yes — the node will not save without one
Auth type
Bearer token
Providers
LinkedIn
Secret shape
the LinkedIn OAuth2 access token, or {"access_token": "…"}
Config it needs
api_version
Resolved by
config.connection_id, else node.connection_id

Configuration

This node takes no configuration beyond its connection.

Output

One shape.

result

FieldTypeExample
email
The primary email, or null when the member has none.
string—
handles[].type
EMAIL or PHONE.
string—
handles[].primary
Whether this is the member's primary handle.
boolean—
handles[].handle
The handle URN LinkedIn returned.
string—
handles[].email
The address, for an EMAIL handle.
string—
count
How many handles came back.
number—
{
  "count": 0,
  "email": "",
  "handles": [
    {
      "email": "",
      "handle": "",
      "primary": false,
      "type": ""
    }
  ]
}

Notes

  • Needs r_emailaddress or r_primarycontact. A member who signed up with a phone number and never added an email gets no handles back, not an error.

See Get My Email Address run in a workflow.

In a technical demo we add the LinkedIn connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.