# LinkedIn Node

> Connects to LinkedIn's OAuth API to manage profiles, posts, reactions, organizations, and advertising.

**URL:** https://caywork.com/learn/docs/node/linkedin-tool-node

## Content

The **LinkedIn Node** integrates securely with LinkedIn using OAuth 2.0 via the Scalekit connection `linkedin-0`. It enables your AI agent to manage professional profiles, posts, reactions, comments, organizations, job postings, messages, and advertising campaigns on the connected user's LinkedIn account.

## Parameters

### Required Parameters
* **action** (string): The target LinkedIn tool action to run. Must be one of the enabled actions:
  * `linkedin_profile_get`: Retrieve the profile of the authenticated user.
  * `linkedin_userinfo_get`: Get basic profile information about the authenticated member.
  * `linkedin_email_get`: Retrieve the authenticated user's email address.
  * `linkedin_member_search`: Search LinkedIn members by name or criteria.
  * `linkedin_post_create`: Create a UGC post on behalf of a person or organization.
  * `linkedin_post_get`: Retrieve a specific post by its ID.
  * `linkedin_post_delete`: Delete a UGC post from LinkedIn by its ID.
  * `linkedin_posts_list`: List posts by a specific author (person or organization URN).
  * `linkedin_share_create`: Create a share (reshare) of an existing post.
  * `linkedin_post_like`: Like a LinkedIn post on behalf of a person or organization.
  * `linkedin_reaction_create`: Create a reaction (like, praise, empathy, etc.) on a post or comment.
  * `linkedin_reaction_delete`: Remove a reaction from a post or comment.
  * `linkedin_reactions_list`: List reactions on a post or comment.
  * `linkedin_post_comment_create`: Add a comment to a LinkedIn post.
  * `linkedin_post_comments_list`: List comments on a specific post.
  * `linkedin_comment_get`: Retrieve a specific comment by its ID.
  * `linkedin_comment_delete`: Delete a comment from LinkedIn.
  * `linkedin_organization_get`: Retrieve organization details by URN.
  * `linkedin_organizations_batch_get`: Retrieve multiple organizations in a single request.
  * `linkedin_organization_search`: Search LinkedIn organizations by name or criteria.
  * `linkedin_organization_by_vanity_get`: Look up an organization by its vanity name.
  * `linkedin_organization_admins_get`: List the administrators of an organization.
  * `linkedin_organization_access_control_list`: List access-control entries for an organization.
  * `linkedin_organization_followers_count`: Get the follower count for an organization.
  * `linkedin_organization_post_create`: Create a post on behalf of an organization.
  * `linkedin_job_posting_get`: Retrieve details of a LinkedIn job posting.
  * `linkedin_message_create`: Send a message to a LinkedIn member (1st-degree connection).
  * `linkedin_social_metadata_get`: Retrieve social sharing metadata for a URL.
  * `linkedin_media_upload_register`: Register a media upload for use in posts or messages.
  * `linkedin_asset_get`: Retrieve a media asset by its URN.
  * `linkedin_ad_account_create`: Create a new LinkedIn ad account.
  * `linkedin_ad_account_get`: Retrieve an ad account by ID.
  * `linkedin_ad_account_update`: Partially update an ad account's name or status.
  * `linkedin_ad_account_users_list`: List users with access to an ad account.
  * `linkedin_ad_accounts_search`: Search ad accounts by status or name.
  * `linkedin_ad_analytics_get`: Retrieve analytics for an ad account.
  * `linkedin_campaign_create`: Create a new advertising campaign.
  * `linkedin_campaign_get`: Retrieve a campaign by ID.
  * `linkedin_campaign_update`: Partially update a campaign.
  * `linkedin_campaign_delete`: Delete an advertising campaign.
  * `linkedin_campaigns_list`: List campaigns under an ad account.
  * `linkedin_campaign_group_create`: Create a new campaign group.
  * `linkedin_campaign_group_get`: Retrieve a campaign group by ID.
  * `linkedin_campaign_group_update`: Partially update a campaign group.
  * `linkedin_campaign_groups_list`: List campaign groups under an ad account.
  * `linkedin_creative_create`: Create a new ad creative.
  * `linkedin_creative_get`: Retrieve a creative by ID.
  * `linkedin_creative_update`: Partially update a creative.
  * `linkedin_creatives_list`: List creatives under an ad account.

### Optional Parameters
* **params** (object): A key-value dictionary containing action-specific inputs (e.g., `{'post_id': 'urn:li:share:123', 'content': 'Post text', 'author_urn': 'urn:li:person:abc'}`).

## Practical Use Cases
1. **Social Selling Agent**: Automatically draft and publish professional posts on the user's profile, like and comment on posts from target prospects, and send connection messages.
2. **Content & Engagement Analytics**: List the user's recent posts, summarize which ones got the most engagement, and pull follower counts for organizations.
3. **Campaign Management**: Create and manage LinkedIn ad accounts, campaign groups, campaigns, and creatives, and pull ad analytics for reporting.