Official scripts
Explore our curated collection of scripts
Save LinkedIn post
Save a LinkedIn post to your saved items (My Items > Saved posts) by its permalink. Returns already_saved if the post was already saved, or saved otherwise.
Send LinkedIn connection request
Send a LinkedIn connection request with a personal note to a profile URL. Fails fast if the monthly note quota is exhausted or the profile isn't connectable (already 1st-degree, pending, or no Connect CTA); the note caps at 200 chars on free-tier. Returns status (sent/already_connected/pending/no_quota/no_connect_cta/failed), profileUrl, name, reason.
Get LinkedIn company info
Get a LinkedIn company's full profile from its URL or bare slug. employeeCount is LinkedIn members associated with the page, not declared size, and can wildly exceed employeeCountRange; use employeeCountRange for self-declared size. websiteUrl is verbatim and can be a linkedin.com self-link. Returns companyId, universalName, name, tagline, description, websiteUrl, industries, specialities, employeeCount, employeeCountRange, followerCount, foundedYear, phone, headquarters, locations, and logoUrl.
Suggest LinkedIn locations
Resolve a free-text location to LinkedIn geo suggestions [{label, geoUrn}], in ranked order ([0] = best match). The geo equivalent of get_company_info: pass a returned geoUrn to search_people's geoUrn. Returns [] when LinkedIn has no geo for the query (e.g. a continent like 'Europe').
Get LinkedIn message thread
Read a classic LinkedIn messaging conversation (NOT Sales Navigator) by its thread URL from list_inbox. Returns the participants and messages (from, fromSelf, text, time, subject) in chronological order. Returns the most recent page only.
Get LinkedIn profile education
Get the education list from a LinkedIn profile's dedicated education page by publicId. Captures schools with no LinkedIn page (schoolUrl null) and excludes the extra Skills entry and school-ranking promo cards LinkedIn injects into the list. Returns education (school, degree, dateRange, description, schoolUrl).
Get LinkedIn job
Fetch a LinkedIn job posting by numeric ID. Returns id, url, status (live/expired), title, company, location, posted, applicants, workplaceType, employmentType, description, and companyInfo (name, url, industry, followers, employeeRange, membersOnLinkedIn, description).
Get LinkedIn profile recommendations
Get the recommendations a LinkedIn profile has received and given, from its dedicated Recommendations page by public ID. Returns each recommendation's author/recipient (name, profile URL, connection degree, headline), the relationship note LinkedIn shows (date and how the two people worked together), and the full recommendation text. Profiles with no recommendations in a category come back with an empty list for it rather than an error. Requires being logged in to LinkedIn.
Mark LinkedIn conversation as unread
Mark a classic LinkedIn messaging conversation (NOT Sales Navigator) as unread, by thread URL from list_inbox. On group conversations (3+ participants), this occasionally times out on a rare page-loading delay on LinkedIn's side — retry the call if that happens.
Archive/restore LinkedIn conversation
Archive or restore a classic LinkedIn messaging conversation (NOT Sales Navigator), by thread URL from list_inbox. LinkedIn exposes this as a single toggle: archiving a conversation removes it from the main inbox, and running this again on an already-archived conversation restores it back to the inbox. Returns which direction was applied (archived/restored).
LinkedIn — accept a received invitation
Accept a pending received invitation on LinkedIn, identified by the inviter's display name (person or page). Guards against homonyms - if two or more pending invitations match the name it throws rather than guess - and returns the status plus the matched name (recipientResolved) so you can confirm the right one was accepted. Only acts on invitations already loaded in the list.
Get LinkedIn notifications
Reads the LinkedIn notifications tab and returns each item's text, link, relative time, and read/unread state. Supports filtering by the same sub-tabs LinkedIn shows (all, jobs, my posts, mentions) and paginates via "load more" up to a requested count.
List LinkedIn invoices/receipts
List and download LinkedIn purchase receipts from the Admin Center > Transactions (Premium, Sales Navigator, etc.). Each receipt PDF is downloaded automatically via the row's ... > Download receipt action. Online purchases expose receipts here; sales-rep-assisted contracts expose invoices instead, and this requires billing-management access. Returns total plus invoices (date, amount, payment_method, invoice_number, status, purchase, filename, path).
List LinkedIn message inbox
List the classic LinkedIn messaging inbox conversations (NOT Sales Navigator). Returns each conversation's thread URL/id, counterpart participants (name, profileUrl), unread count, last activity, and last message (text, time, fromSelf, subject). Returns the first inbox page only.
Get LinkedIn dashboard analytics
Read the logged-in LinkedIn member's own analytics overview (Track performance): post impressions, total followers, profile viewers, search appearances, and newsletter rows when present. Returns one entry per tile with its value, percent change, direction (up/down/flat) and comparison window.
Sales Navigator – Create lead list
Creates a new manual LinkedIn Sales Navigator lead list. Takes a name and optional description, returns the new listId (the join key that feeds save_lead_to_list and get_lead_list). This changes your account and needs a Sales Navigator seat.
Sales Navigator: search accounts
Search LinkedIn Sales Navigator company accounts by keywords, headquarters geography, and headcount, paginated 25 per page via a 0-based start offset. Returns total, count, start, and accounts (accountId, companyName, industry, employee count and range, description, list/saved status, spotlight badges, salesAccountUrl). Requires a Sales Navigator seat.
Find LinkedIn newsletters by author
List the LinkedIn newsletters published by a given profile or company page. For a profile, reads its Featured section (the dedicated Featured details page); for a company page, reads its Newsletter module on the page's Home tab. Returns each newsletter's name, URL, cadence/subscriber line, description, and logo. An author with no newsletter featured or listed there comes back with an empty list rather than an error.
Follow LinkedIn company
Follow a LinkedIn company page by URL or bare slug. Safe to repeat: it returns already_following if you already follow it, and not_found when the page doesn't exist. Also returns the company's numeric id, canonical slug, and display name.
Get LinkedIn profile experience
Get the full experience list from a LinkedIn profile's dedicated experience page by publicId, with grouped companies expanded to one entry per role. Returns positions (title, company, companyUrl, employmentType, dateRange, duration, location, description).
Get LinkedIn newsletter edition
Fetch a single LinkedIn newsletter edition (article) by its permalink. Returns the newsletter it belongs to, the author, publish date, cover image, the full body converted to Markdown, and engagement stats (reactions, comments, reposts). Use get_edition_reactors for who reacted and get_edition_comments for the comment thread.
Get LinkedIn conversation attendees
List the participants of a classic LinkedIn messaging conversation (NOT Sales Navigator) by thread URL from list_inbox — mainly useful for group chats. Returns each attendee's name, profile URL and member urn, plus whether the thread is a group.
LinkedIn — Create post
Publish a text post to your LinkedIn feed, visible to anyone. This creates a real, public post under your account immediately — not a draft or preview. Only plain text posts are supported; images, polls, and articles need a different flow. Requires being logged into LinkedIn. Returns the link to the published post.
Get LinkedIn company posts
Get the most recent posts of a LinkedIn company page (newest first) from its URL or slug, up to count. Returns company, total, and posts (activityId, url, text, postedAt, age, isRepost, reactions, comments, reposts).
Download a LinkedIn message attachment
Download the file attached to a message in a classic LinkedIn messaging thread. Returns filename, mimeType, size and the bytes as base64, plus the direct URL. Omit the message urn to take the most recent message in the thread that carries an attachment.
