Get My Profile
linkedin.get_me
ActionChat & messagingconnection required
Calls the LinkedIn API with the connection's credentials.
The profile the connection's token belongs to, including the person URN every post and upload needs as its author.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- Bearer token
- Providers
- 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
| Field | Type | Example |
|---|---|---|
id The member id, unique to this LinkedIn app. | string | — |
person_urn urn:li:person:{id} — pass this as author_urn. | string | — |
first_name The member's first name in their locale. | string | — |
last_name The member's last name in their locale. | string | — |
headline The member's headline, with r_basicprofile. | string | — |
vanity_name The name in their public profile URL. | string | — |
{
"first_name": "",
"headline": "",
"id": "",
"last_name": "",
"person_urn": "",
"vanity_name": ""
}Notes
- Needs r_liteprofile (or r_basicprofile). A token issued through Sign In with LinkedIn using OpenID Connect has neither — use linkedin.get_userinfo.
See Get My Profile 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.