Social
Publish LinkedIn posts to a profile or organisation page from OrgSDK. Read supported organisation post analytics using your OAuth credential.
View 5 plugin functions ↓Use LinkedIn in a project
- Publish posts to a personal profile or organisation page
- Publish from a reviewed content queue in an OrgSDK project
- Read supported organisation post statistics
- List organisations available to the connected account
Access and credentials
Post, delete, and read analytics for LinkedIn content via OAuth. Posting and deleting are public, mutating actions; deletes are irreversible.
OAuth connections use your own provider application and client credentials. Configure that application in OrgSDK, review its permissions and connect the credential to your project.
Find the profile connected to your project
In Studio, open your project’s Plugins page and enable LinkedIn. Connect the account you want to use. Paste this example into an action in the same project.
// Check which LinkedIn profile this connection represents.
return await linkedin.getProfile({});Use with OrgSDK
OrgSDK gives external AI clients persistent projects and controlled execution. Plugins add optional tools to those projects. Each run uses pinned plugin versions, and project configuration determines which credentials they can use.
Set up OrgSDK locally ↗Capabilities
5 functions from this published version. Read calls retrieve or process information; write actions can change data in the connected service.
5 of 5 functions
linkedin.getProfile
Read callGet the authenticated user's LinkedIn profile including ID, URN, name, and headline.
Parameters and return value
This call takes no parameters.
Returns Promise<{ id: string; urn: string; name: string; headline?: string; profilePicture?: string }>
linkedin.getOrganizations
Read callList LinkedIn organization pages where the authenticated user is an administrator.
Parameters and return value
This call takes no parameters.
Returns Promise<Array<{ id: string; urn: string; name: string; logo?: string; vanityName?: string }>>
linkedin.createPost
Write actionCreate a LinkedIn post with optional link attachment. Posts as the authenticated user by default, or as an organization if authorUrn is provided.
Parameters and return value
| Parameter | Type | Details |
|---|---|---|
text | string | — |
authorUrnOptional | string | — |
visibilityOptional | "PUBLIC" | "CONNECTIONS" | — |
linkUrlOptional | string | — |
linkTitleOptional | string | — |
linkDescriptionOptional | string | — |
Returns Promise<{ id: string; url: string }>
linkedin.getPostAnalytics
Read callGet organization post analytics. Requires the organization URN and approved Community Management access; personal post impressions are not supported.
Parameters and return value
| Parameter | Type | Details |
|---|---|---|
postUrn | string | — |
organizationUrn | string | — |
Returns Promise<{ impressions: number; uniqueImpressions: number; likes: number; comments: number; reposts: number; clicks: number; engagementRate: number }>
linkedin.deletePost
Write actionDelete a LinkedIn post by its URN.
Parameters and return value
| Parameter | Type | Details |
|---|---|---|
postUrn | string | — |
Returns Promise<{ success: boolean }>
