Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
94 changes: 89 additions & 5 deletions apps/docs/components/icons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1464,11 +1464,17 @@ export function DiscordIcon(props: SVGProps<SVGSVGElement>) {

export function LinkedInIcon(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns='http://www.w3.org/2000/svg' viewBox='4 4 42 42' width='1em' height='1em'>
<path
fill='currentColor'
d='M41,4H9C6.24,4,4,6.24,4,9v32c0,2.76,2.24,5,5,5h32c2.76,0,5-2.24,5-5V9C46,6.24,43.76,4,41,4z M17,20v19h-6V20H17z M11,14.47c0-1.4,1.2-2.47,3-2.47s2.93,1.07,3,2.47c0,1.4-1.12,2.53-3,2.53C12.2,17,11,15.87,11,14.47z M39,39h-6c0,0,0-9.26,0-10 c0-2-1-4-3.5-4.04h-0.08C27,24.96,26,27.02,26,29c0,0.91,0,10,0,10h-6V20h6v2.56c0,0,1.93-2.56,5.81-2.56 c3.97,0,7.19,2.73,7.19,8.26V39z'
/>
<svg {...props} height='72' viewBox='0 0 72 72' width='72' xmlns='http://www.w3.org/2000/svg'>
<g fill='none' fillRule='evenodd'>
<path
d='M8,72 L64,72 C68.418278,72 72,68.418278 72,64 L72,8 C72,3.581722 68.418278,-8.11624501e-16 64,0 L8,0 C3.581722,8.11624501e-16 -5.41083001e-16,3.581722 0,8 L0,64 C5.41083001e-16,68.418278 3.581722,72 8,72 Z'
fill='#0072B1'
/>
<path
d='M62,62 L51.315625,62 L51.315625,43.8021149 C51.315625,38.8127542 49.4197917,36.0245323 45.4707031,36.0245323 C41.1746094,36.0245323 38.9300781,38.9261103 38.9300781,43.8021149 L38.9300781,62 L28.6333333,62 L28.6333333,27.3333333 L38.9300781,27.3333333 L38.9300781,32.0029283 C38.9300781,32.0029283 42.0260417,26.2742151 49.3825521,26.2742151 C56.7356771,26.2742151 62,30.7644705 62,40.051212 L62,62 Z M16.349349,22.7940133 C12.8420573,22.7940133 10,19.9296567 10,16.3970067 C10,12.8643566 12.8420573,10 16.349349,10 C19.8566406,10 22.6970052,12.8643566 22.6970052,16.3970067 C22.6970052,19.9296567 19.8566406,22.7940133 16.349349,22.7940133 Z M11.0325521,62 L21.769401,62 L21.769401,27.3333333 L11.0325521,27.3333333 L11.0325521,62 Z'
fill='#FFF'
/>
</g>
</svg>
)
}
Expand Down Expand Up @@ -4344,3 +4350,81 @@ export function PylonIcon(props: SVGProps<SVGSVGElement>) {
</svg>
)
}

export function SendgridIcon(props: SVGProps<SVGSVGElement>) {
return (
<svg
{...props}
width='800px'
height='800px'
viewBox='0 0 256 256'
version='1.1'
xmlns='http://www.w3.org/2000/svg'
xmlnsXlink='http://www.w3.org/1999/xlink'
preserveAspectRatio='xMidYMid'
>
<g>
<path
d='M256.000405,0 L256.000405,170.666936 L170.666936,170.666936 L170.666936,255.996382 L0.00201096905,255.996382 L0.002,170.666 L0,170.666936 L0,85.3314569 L85.3334681,85.3314569 L85.3334681,0 L256.000405,0 Z'
fill='#9DD6E3'
/>
<polygon
fill='#3F72AB'
points='0.00201096905 255.996382 85.3354791 255.996382 85.3354791 170.662915 0.00201096905 170.662915'
/>
<polygon
fill='#00A9D1'
points='170.666936 170.666936 256.000405 170.666936 256.000405 85.3314569 170.666936 85.3314569'
/>
<polygon
fill='#00A9D1'
points='85.3334681 85.3334679 170.666936 85.3334679 170.666936 0 85.3334681 0'
/>
<polygon
fill='#2191C4'
points='85.3334681 170.664925 170.666936 170.664925 170.666936 85.3314569 85.3334681 85.3314569'
/>
<polygon
fill='#3F72AB'
points='170.666936 85.3334679 256.000405 85.3334679 256.000405 0 170.666936 0'
/>
</g>
</svg>
)
}

export function MailgunIcon(props: SVGProps<SVGSVGElement>) {
return (
<svg
{...props}
fill='currentColor'
xmlns='http://www.w3.org/2000/svg'
xmlSpace='preserve'
viewBox='0 0 512 512'
>
<path d='M256.5 159.5c-53.5 0-97 43.5-97 97s43.5 97 97 97 97-43.5 97-97-43.5-97-97-97m-151.1 97c0-83.4 67.7-151.1 151.1-151.1s151.1 67.7 151.1 151.1c0 5.8-.5 11-1 16.3-1 14.7 9.4 25.7 24.1 25.7 24.7 0 27.3-32 27.3-42.5 0-111.7-90.2-202-202-202S54 144.3 54 256s90.2 202 202 202c59.3 0 112.3-25.7 149.5-66.1l41.4 34.6C400.3 479 332.1 512 256 512 114.4 512 0 397.1 0 256 0 114.4 114.9 0 256 0c141.6 0 256 114.9 256 256 0 56.7-27.3 102.8-81.3 102.8-24.1 0-38.3-11-46.7-23.1-26.8 43-74 71.3-128.5 71.3-82.4.6-150.1-67.1-150.1-150.5m151.1-44.6c24.7 0 44.6 19.9 44.6 44.1 0 24.7-19.9 44.6-44.6 44.6s-44.6-19.9-44.6-44.6c.6-24.1 20-44.1 44.6-44.1' />
</svg>
)
}

export function SmtpIcon(props: SVGProps<SVGSVGElement>) {
return (
<svg
{...props}
width='30'
height='24'
viewBox='0 0 30 24'
fill='none'
xmlns='http://www.w3.org/2000/svg'
>
<path
d='M2.35742 5.83288L11.7674 12.1071C13.0656 12.9712 13.7141 13.404 14.4151 13.5725C15.0352 13.7208 15.681 13.7208 16.2998 13.5725C17.0008 13.404 17.6492 12.9712 18.9475 12.1071L28.3574 5.83288M8.82844 21.7219H21.8864C24.1513 21.7219 25.2837 21.7219 26.1492 21.2811C26.9097 20.8931 27.5278 20.2744 27.9152 19.5137C28.3574 18.6482 28.3574 17.5158 28.3574 15.2509V7.97102C28.3574 5.70616 28.3574 4.57373 27.9166 3.70823C27.5288 2.94727 26.9102 2.32858 26.1492 1.94084C25.2837 1.5 24.1513 1.5 21.8864 1.5H8.82844C6.56358 1.5 5.43115 1.5 4.56566 1.94084C3.80519 2.32881 3.187 2.94747 2.79961 3.70823C2.35742 4.57373 2.35742 5.70616 2.35742 7.97102V15.2509C2.35742 17.5158 2.35742 18.6482 2.79826 19.5137C3.186 20.2747 3.80469 20.8933 4.56566 21.2811C5.43115 21.7219 6.56358 21.7219 8.82844 21.7219Z'
stroke='currentColor'
strokeWidth='2.5'
strokeLinecap='round'
strokeLinejoin='round'
/>
<circle cx='24' cy='6' r='4' fill='currentColor' stroke='none' />
</svg>
)
}
8 changes: 8 additions & 0 deletions apps/docs/components/ui/icon-mapping.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ import {
JinaAIIcon,
JiraIcon,
LinearIcon,
LinkedInIcon,
LinkupIcon,
MailchimpIcon,
MailgunIcon,
Mem0Icon,
MicrosoftExcelIcon,
MicrosoftOneDriveIcon,
Expand All @@ -65,9 +67,11 @@ import {
ResendIcon,
S3Icon,
SalesforceIcon,
SendgridIcon,
SentryIcon,
SerperIcon,
SlackIcon,
SmtpIcon,
STTIcon,
StagehandIcon,
StripeIcon,
Expand Down Expand Up @@ -117,10 +121,12 @@ export const blockTypeToIconMap: Record<string, IconComponent> = {
stripe: StripeIcon,
stagehand_agent: StagehandIcon,
stagehand: StagehandIcon,
smtp: SmtpIcon,
slack: SlackIcon,
sharepoint: MicrosoftSharepointIcon,
serper: SerperIcon,
sentry: SentryIcon,
sendgrid: SendgridIcon,
salesforce: SalesforceIcon,
s3: S3Icon,
resend: ResendIcon,
Expand All @@ -146,8 +152,10 @@ export const blockTypeToIconMap: Record<string, IconComponent> = {
microsoft_excel: MicrosoftExcelIcon,
memory: BrainIcon,
mem0: Mem0Icon,
mailgun: MailgunIcon,
mailchimp: MailchimpIcon,
linkup: LinkupIcon,
linkedin: LinkedInIcon,
linear: LinearIcon,
knowledge: PackageSearchIcon,
jira: JiraIcon,
Expand Down
88 changes: 88 additions & 0 deletions apps/docs/content/docs/en/tools/linkedin.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
---
title: LinkedIn
description: Share posts and manage your LinkedIn presence
---

import { BlockInfoCard } from "@/components/ui/block-info-card"

<BlockInfoCard
type="linkedin"
color="#0072B1"
/>

{/* MANUAL-CONTENT-START:intro */}
[LinkedIn](https://www.linkedin.com) is the world’s largest professional networking platform, empowering users to build their careers, connect with their network, and share professional content. LinkedIn is widely used by professionals across industries for personal branding, recruiting, job search, and business development.

With LinkedIn, you can easily share posts to your personal feed to engage with your network, and access information about your profile to highlight your professional achievements. Automated integration with Sim allows you to leverage LinkedIn functionality programmatically—enabling agents and workflows to post updates, report on your professional presence, and keep your feed active without manual effort.

Key LinkedIn features available through this integration include:

- **Share Posts:** Automatically publish professional updates, articles, or announcements to your LinkedIn personal feed.
- **Profile Information:** Retrieve detailed information about your LinkedIn profile to monitor or use in downstream tasks within your workflows.

These capabilities make it easy to keep your LinkedIn network engaged and to extend your professional reach efficiently as part of your AI or workflow automation strategy.
{/* MANUAL-CONTENT-END */}


## Usage Instructions

Integrate LinkedIn into workflows. Share posts to your personal feed and access your LinkedIn profile information.



## Tools

### `linkedin_share_post`

Share a post to your personal LinkedIn feed

#### Input

| Parameter | Type | Required | Description |
| --------- | ---- | -------- | ----------- |
| `text` | string | Yes | The text content of your LinkedIn post |
| `visibility` | string | No | Who can see this post: "PUBLIC" or "CONNECTIONS" \(default: "PUBLIC"\) |
| `request` | string | No | No description |
| `output` | string | No | No description |
| `output` | string | No | No description |
| `specificContent` | string | No | No description |
| `shareCommentary` | string | No | No description |
| `visibility` | string | No | No description |
| `headers` | string | No | No description |
| `output` | string | No | No description |
| `output` | string | No | No description |
| `output` | string | No | No description |
Comment on lines +44 to +54
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

syntax: Multiple duplicate parameters in input table. Remove lines 45-54 as they contain duplicates of 'visibility' and undefined parameters like 'output', 'request', 'headers' with no descriptions

Suggested change
| `visibility` | string | No | Who can see this post: "PUBLIC" or "CONNECTIONS" \(default: "PUBLIC"\) |
| `request` | string | No | No description |
| `output` | string | No | No description |
| `output` | string | No | No description |
| `specificContent` | string | No | No description |
| `shareCommentary` | string | No | No description |
| `visibility` | string | No | No description |
| `headers` | string | No | No description |
| `output` | string | No | No description |
| `output` | string | No | No description |
| `output` | string | No | No description |
| `visibility` | string | No | Who can see this post: "PUBLIC" or "CONNECTIONS" \(default: "PUBLIC"\) |
Prompt To Fix With AI
This is a comment left during a code review.
Path: apps/docs/content/docs/en/tools/linkedin.mdx
Line: 44:54

Comment:
**syntax:** Multiple duplicate parameters in input table. Remove lines 45-54 as they contain duplicates of 'visibility' and undefined parameters like 'output', 'request', 'headers' with no descriptions

```suggestion
| `visibility` | string | No | Who can see this post: "PUBLIC" or "CONNECTIONS" \(default: "PUBLIC"\) |
```

How can I resolve this? If you propose a fix, please make it concise.


#### Output

| Parameter | Type | Description |
| --------- | ---- | ----------- |
| `success` | boolean | Operation success status |
| `postId` | string | Created post ID |
| `profile` | json | LinkedIn profile information |
| `error` | string | Error message if operation failed |

### `linkedin_get_profile`

Retrieve your LinkedIn profile information

#### Input

| Parameter | Type | Required | Description |
| --------- | ---- | -------- | ----------- |

#### Output

| Parameter | Type | Description |
| --------- | ---- | ----------- |
| `success` | boolean | Operation success status |
| `postId` | string | Created post ID |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

logic: linkedin_get_profile doesn't create posts, so 'postId' output parameter is incorrect and should be removed

Prompt To Fix With AI
This is a comment left during a code review.
Path: apps/docs/content/docs/en/tools/linkedin.mdx
Line: 79:79

Comment:
**logic:** linkedin_get_profile doesn't create posts, so 'postId' output parameter is incorrect and should be removed

How can I resolve this? If you propose a fix, please make it concise.

| `profile` | json | LinkedIn profile information |
| `error` | string | Error message if operation failed |



## Notes

- Category: `tools`
- Type: `linkedin`
Loading