Skip to main content

Workflow Actions

List All Posts

View LinkedIn posts and activity to understand a profile's professional interests, content strategy, and industry engagement.

Action Overview

The List All Posts action retrieves a list of posts made by a LinkedIn user or company. Use it to monitor content, analyze engagement patterns, and identify opportunities to comment, react, or follow up.

Use Cases

  • Content Engagement – Track posts from leads or clients and engage to build relationships
  • Competitor Analysis – Monitor competitor content and messaging trends
  • Marketing Optimization – Review post frequency and engagement to refine your content strategy

Inputs and Required Data

Public ID or Provider ID (required) – The LinkedIn identifier for the user or company whose posts you want to retrieve
Example: john-doe-67890 or ACoAAA12345

Is Company (optional) – Indicate if the identifier belongs to a company
Example: True

Limit (optional) – Maximum number of posts to return
Example: 10

Response

The List All Posts action returns a single variable:

  • Posts – A collection of posts for the specified profile
Post ID: 7368723067499372544
Post Date: 8h
Author: Trailhead
Author Public ID: salesforce-trailhead
Post Text: 🔦 Agentblazer Spotlight: Hiago Souza

Hiago learned how to create and implement AI agents on Trailhead.
Now he built an agent that provides seamless self-service conversations, boosting digital engagement for his company.

Earn your Agentblazer Status: https://sforce.co/4291D4j
Post Attachment URLs: https://media.licdn.com/dms/image/v2/D5610AQEmCMvOe7K1SQ/image-shrink_480/B56ZkL2la8HQAk-/0/1756840483332?e=1757476800&v=beta&t=qHue9byhRU1jUSKEhnLED-0oUkBWvvgxdFOx3TLQ4UE
Share URL: https://www.linkedin.com/posts/salesforce-trailhead_agentblazer-spotlight-hiago-souza-hiago-activity-7368723067499372544-lxHX?utm_source=social_share_send&utm_medium=member_desktop_web&rcm=ACoAACF0FXIB4xNWerCSvaQaRj_1guvaCYR-tQg
Is Repost: Yes
Impressions Count: N/A
Comment Count: 3
Reactions Count: 49
Repost Count: 2
Can Comment: Yes
Can React: Yes
Can Share: Yes

--

Post ID: 7368690771731910656
Post Date: 10h
Author: Salesforce
Author Public ID: salesforce
Post Text: Without a sound data strategy, you have no AI strategy. Here’s what to do about it.
Post Attachment URLs: N/A
Share URL: https://www.linkedin.com/posts/salesforce_without-a-sound-data-strategy-you-have-no-activity-7368690771731910656--xMI?utm_source=social_share_send&utm_medium=member_desktop_web&rcm=ACoAACF0FXIB4xNWerCSvaQaRj_1guvaCYR-tQg
Is Repost: No
Impressions Count: N/A
Comment Count: 36
Reactions Count: 374
Repost Count: 17
Can Comment: Yes
Can React: Yes
Can Share: Yes

Use the Posts output in downstream steps to analyze activity, decide when to comment or react, or store summaries to custom fields. If you require engagement metrics for the most recent post, use Retrieve Last Post.

Obtaining Inputs

Inputs are typically mapped from earlier actions or CRM fields. For example, use Search User, Search People, Search Company, or Search Companies to obtain the required Public ID or Provider ID.

Workflow Integration

  1. Trigger the Action – Run List All Posts when monitoring activity for a lead or company
  2. Map Input Fields – Pass Public ID or Provider ID, and set Is Company if applicable
  3. Process Results – Store posts or trigger follow-up actions such as Comment On A Post or React To A Post
  • Retrieve User Profile – Gather user details before reviewing content
  • Retrieve Company Profile – Get company context before analyzing posts
  • Retrieve Last Post – Fetch the most recent post with engagement details
  • Comment On A Post – Add a comment to a selected post
  • React To A Post – Add a reaction to a selected post

Common Errors and Troubleshooting

Invalid ID
Cause: The provided identifier does not match a LinkedIn user or company
Solution: Verify the Public ID or Provider ID from a valid preceding action

No Posts Found
Cause: The profile has no posts, or the query is too restrictive
Solution: Confirm the profile is active and try a broader time window or higher Limit

Best Practices

  • Monitor key accounts regularly and engage on relevant posts
  • Pair with Retrieve Last Post when you specifically need engagement metrics
  • Store post references in custom fields to enable later actions such as reactions or comments

Advanced Tips

  • Engagement Tracking – Use reactions and comment counts from Retrieve Last Post to prioritize outreach
  • Trend Analysis – Run List All Posts on a cadence to identify topic patterns over time
  • Workflow Automation – Trigger tasks for your team when a priority lead or account publishes new content

FAQs

Q: Can I retrieve posts without specifying a limit?

 A: Yes, but it’s recommended to specify a limit to control the amount of data returned and avoid unnecessary API calls.

Q: Are there restrictions on how many posts I can retrieve?

 A: Yes, LinkedIn enforces rate limits based on your account type. For example, up to 80 posts per day for free accounts and up to 150 posts for Sales Navigator users.

Q: What happens if the profile or company has no posts?

 A: The action will return an empty response indicating that no posts were found.