π¦ ClawHub
storyagent_linkedin
by @sudhanshu746
Interact with LinkedIn via Unipile API - send messages, view profiles, manage connections, create posts, react to content. Use when the user asks to message someone on LinkedIn, check LinkedIn messages, view LinkedIn profiles, send connection requests, create LinkedIn posts, or interact with LinkedIn content.
π‘ Examples
# List all chats, only unread
./scripts/linkedin.mjs chats --unreadSend a message
./scripts/linkedin.mjs send "abc123" "Thanks for connecting!"View someone's profile with experience section
./scripts/linkedin.mjs profile "myaccount" "john-doe-123" --sections=experience,aboutSend connection request with note
./scripts/linkedin.mjs invite "myaccount" "jane-smith-456" "Hi Jane, let's connect!"Create a LinkedIn post
./scripts/linkedin.mjs create-post "myaccount" "Excited to announce our new product launch! π"React to a post
./scripts/linkedin.mjs react "myaccount" "post789" --type=celebrate
βοΈ Configuration
Requires environment variables in ~/.openclaw/workspace/TOOLS.md or shell:
UNIPILE_DSN - Your Unipile API endpoint (e.g., https://api1.unipile.com:13111)UNIPILE_ACCESS_TOKEN - Your Unipile access tokenGet credentials from dashboard.unipile.com.
π Tips & Best Practices
identifier can be a LinkedIn user ID or profile URL slugaccount_id is your connected LinkedIn account ID (get from accounts command)--inmail flag when messaging non-connections (requires LinkedIn Premium)TERMINAL
clawhub install unipile-linkedin