LinkedIn Manager
Create posts, share articles, manage comments, and track analytics on LinkedIn.
You have access to LinkedIn through the OpenLabor connector API.
How to Execute LinkedIn Actions
Use the exec tool to run use. Credentials are loaded automatically from the workspace.
use linkedin <TOOL_NAME> '<json_args>'
Getting Started
Get Your LinkedIn Profile (required first step)
- Tool:
LINKEDIN_GET_MY_INFO
- Args:
{}
- Returns your
person_id — you'll need this as author for posting
Your author URN is: urn:li:person:{person_id}
Publishing
Create a Text Post
- Tool:
LINKEDIN_CREATE_LINKED_IN_POST
- Args:
{ "author": "urn:li:person:YOUR_PERSON_ID", "commentary": "Your post text here", "visibility": "PUBLIC" }
- Visibility options: "PUBLIC", "CONNECTIONS"
- Max 3,000 characters
Share a URL/Article
- Tool:
LINKEDIN_CREATE_ARTICLE_OR_URL_SHARE
- Args:
{
"author": "urn:li:person:YOUR_PERSON_ID",
"visibility": { "com.linkedin.ugc.MemberNetworkVisibility": "PUBLIC" },
"specificContent": {
"com.linkedin.ugc.ShareContent": {
"shareCommentary": { "text": "Check this out" },
"shareMediaCategory": "ARTICLE",
"media": [{ "status": "READY", "originalUrl": "https://example.com" }]
}
}
}
Post with Image
Step 1 — Upload image:
- Tool:
LINKEDIN_INITIALIZE_IMAGE_UPLOAD
- Args:
{ "owner": "urn:li:person:YOUR_PERSON_ID" }
Step 2 — Create post with image reference:
- Tool:
LINKEDIN_CREATE_LINKED_IN_POST
- Args:
{ "author": "urn:li:person:YOUR_PERSON_ID", "commentary": "Caption", "visibility": "PUBLIC", "images": ["IMAGE_URN_FROM_STEP_1"] }
Delete a Post
- Tool:
LINKEDIN_DELETE_POST
- Args:
{ "post_urn": "urn:li:ugcPost:POST_ID" }
Engagement
Comment on a Post
- Tool:
LINKEDIN_CREATE_COMMENT_ON_POST
- Args:
{ "actor": "urn:li:person:YOUR_PERSON_ID", "object": "urn:li:ugcPost:POST_ID", "message": { "text": "Great insight!" }, "target_urn": "urn:li:ugcPost:POST_ID" }
View Reactions on a Post
- Tool:
LINKEDIN_LIST_REACTIONS
- Args:
{ "entity": "urn:li:ugcPost:POST_ID" }
Get Post Details
- Tool:
LINKEDIN_GET_POST_CONTENT
- Args:
{ "post_id": "urn:li:ugcPost:POST_ID" }
Profile & Company
Look Up a Person
- Tool:
LINKEDIN_GET_PERSON
- Args:
{ "person_id": "PERSON_ID" }
Get Company Info
- Tool:
LINKEDIN_GET_COMPANY_INFO
- Args:
{}
- Returns organizations where you have admin or posting roles
Get Organization Follower Count
- Tool:
LINKEDIN_GET_NETWORK_SIZE
- Args:
{ "organization_id": "ORG_ID" }
Analytics
Organization Page Stats
- Tool:
LINKEDIN_GET_ORG_PAGE_STATS
- Args:
{ "organization": "urn:li:organization:ORG_ID" }
Content Performance
- Tool:
LINKEDIN_GET_SHARE_STATS
- Args:
{ "organizational_entity": "urn:li:organization:ORG_ID" }
LinkedIn Content Strategy
What Works on LinkedIn
- Personal stories with professional lessons perform best
- Carousel documents (PDF uploads) get 3x more engagement
- Polls drive high engagement but low quality
- Text-only posts often outperform image posts
- Format with line breaks — wall of text kills engagement
- First line is critical — it's what shows before "...see more"
Posting Formula
- Hook (first line) — bold claim, question, or personal admission
- Line break — creates visual breathing room
- Story/value — 3-8 short paragraphs, one idea each
- Takeaway — what should the reader do differently?
- CTA — "Agree? ♻️ Repost to help your network"
LinkedIn-Specific Tactics
- Post 1x per day, weekdays only (Tue-Thu best)
- Best times: 7-8am, 12pm, 5-6pm
- Reply to every comment within 1 hour (algorithm boost)
- Use 3-5 hashtags max
- Tag people only if relevant — don't spam-tag
- Engage on 10-15 posts before publishing yours (primes the algorithm)
For SDRs
- Share industry insights, not sales pitches
- Comment thoughtfully on prospects' posts before reaching out
- Use LinkedIn posts to warm up cold outreach targets
- Share case studies and customer wins (with permission)
Guidelines
- Always use the exact use command format shown above
- Get your person_id with LINKEDIN_GET_MY_INFO before posting
- Author URN format:
urn:li:person:{person_id}
- Organization URN format:
urn:li:organization:{org_id}
- Posts max 3,000 characters
- If you get a 400 "not connected" error, tell the user to connect LinkedIn in the Apps tab
- Never expose credentials to the user
1---2name: linkedin-manager3description: Create posts, share articles, manage comments, and track analytics on LinkedIn via Composio4---56<!-- openlabor-connector: linkedin, api_key={{INTERNAL_API_KEY}}, employee={{EMPLOYEE_ID}}, base={{API_BASE_URL}} -->78# LinkedIn Manager910Create posts, share articles, manage comments, and track analytics on LinkedIn.1112You have access to LinkedIn through the OpenLabor connector API.1314## How to Execute LinkedIn Actions1516Use the exec tool to run `use`. Credentials are loaded automatically from the workspace.1718```19use linkedin <TOOL_NAME> '<json_args>'20```2122## Getting Started2324### Get Your LinkedIn Profile (required first step)2526- Tool: `LINKEDIN_GET_MY_INFO`27- Args: `{}`28- Returns your `person_id` — you'll need this as `author` for posting2930Your author URN is: `urn:li:person:{person_id}`3132## Publishing3334### Create a Text Post3536- Tool: `LINKEDIN_CREATE_LINKED_IN_POST`37- Args: `{ "author": "urn:li:person:YOUR_PERSON_ID", "commentary": "Your post text here", "visibility": "PUBLIC" }`38- Visibility options: "PUBLIC", "CONNECTIONS"39- Max 3,000 characters4041### Share a URL/Article4243- Tool: `LINKEDIN_CREATE_ARTICLE_OR_URL_SHARE`44- Args:45```json46{47 "author": "urn:li:person:YOUR_PERSON_ID",48 "visibility": { "com.linkedin.ugc.MemberNetworkVisibility": "PUBLIC" },49 "specificContent": {50 "com.linkedin.ugc.ShareContent": {51 "shareCommentary": { "text": "Check this out" },52 "shareMediaCategory": "ARTICLE",53 "media": [{ "status": "READY", "originalUrl": "https://example.com" }]54 }55 }56}57```5859### Post with Image6061Step 1 — Upload image:62- Tool: `LINKEDIN_INITIALIZE_IMAGE_UPLOAD`63- Args: `{ "owner": "urn:li:person:YOUR_PERSON_ID" }`6465Step 2 — Create post with image reference:66- Tool: `LINKEDIN_CREATE_LINKED_IN_POST`67- Args: `{ "author": "urn:li:person:YOUR_PERSON_ID", "commentary": "Caption", "visibility": "PUBLIC", "images": ["IMAGE_URN_FROM_STEP_1"] }`6869### Delete a Post7071- Tool: `LINKEDIN_DELETE_POST`72- Args: `{ "post_urn": "urn:li:ugcPost:POST_ID" }`7374## Engagement7576### Comment on a Post7778- Tool: `LINKEDIN_CREATE_COMMENT_ON_POST`79- Args: `{ "actor": "urn:li:person:YOUR_PERSON_ID", "object": "urn:li:ugcPost:POST_ID", "message": { "text": "Great insight!" }, "target_urn": "urn:li:ugcPost:POST_ID" }`8081### View Reactions on a Post8283- Tool: `LINKEDIN_LIST_REACTIONS`84- Args: `{ "entity": "urn:li:ugcPost:POST_ID" }`8586### Get Post Details8788- Tool: `LINKEDIN_GET_POST_CONTENT`89- Args: `{ "post_id": "urn:li:ugcPost:POST_ID" }`9091## Profile & Company9293### Look Up a Person9495- Tool: `LINKEDIN_GET_PERSON`96- Args: `{ "person_id": "PERSON_ID" }`9798### Get Company Info99100- Tool: `LINKEDIN_GET_COMPANY_INFO`101- Args: `{}`102- Returns organizations where you have admin or posting roles103104### Get Organization Follower Count105106- Tool: `LINKEDIN_GET_NETWORK_SIZE`107- Args: `{ "organization_id": "ORG_ID" }`108109## Analytics110111### Organization Page Stats112113- Tool: `LINKEDIN_GET_ORG_PAGE_STATS`114- Args: `{ "organization": "urn:li:organization:ORG_ID" }`115116### Content Performance117118- Tool: `LINKEDIN_GET_SHARE_STATS`119- Args: `{ "organizational_entity": "urn:li:organization:ORG_ID" }`120121## LinkedIn Content Strategy122123### What Works on LinkedIn124- **Personal stories** with professional lessons perform best125- **Carousel documents** (PDF uploads) get 3x more engagement126- **Polls** drive high engagement but low quality127- **Text-only posts** often outperform image posts128- Format with **line breaks** — wall of text kills engagement129- First line is critical — it's what shows before "...see more"130131### Posting Formula1321. **Hook** (first line) — bold claim, question, or personal admission1332. **Line break** — creates visual breathing room1343. **Story/value** — 3-8 short paragraphs, one idea each1354. **Takeaway** — what should the reader do differently?1365. **CTA** — "Agree? ♻️ Repost to help your network"137138### LinkedIn-Specific Tactics139- Post 1x per day, weekdays only (Tue-Thu best)140- Best times: 7-8am, 12pm, 5-6pm141- Reply to every comment within 1 hour (algorithm boost)142- Use 3-5 hashtags max143- Tag people only if relevant — don't spam-tag144- Engage on 10-15 posts before publishing yours (primes the algorithm)145146### For SDRs147- Share industry insights, not sales pitches148- Comment thoughtfully on prospects' posts before reaching out149- Use LinkedIn posts to warm up cold outreach targets150- Share case studies and customer wins (with permission)151152## Guidelines1531. Always use the exact use command format shown above1542. Get your person_id with LINKEDIN_GET_MY_INFO before posting1553. Author URN format: `urn:li:person:{person_id}`1564. Organization URN format: `urn:li:organization:{org_id}`1575. Posts max 3,000 characters1586. If you get a 400 "not connected" error, tell the user to connect LinkedIn in the Apps tab1597. Never expose credentials to the user