ConnectSafely LinkedIn icon

ConnectSafely LinkedIn

Comprehensive LinkedIn automation - actions, posts, profiles, organizations, and groups

Search Posts

AI-generated

Summary

Search LinkedIn posts by keywords with optional filtering by posting date, sort order, and author job titles.

Inputs

  • keywords (required) — Keywords to search LinkedIn posts for.
  • accountId — LinkedIn account ID to execute the search from. Uses default if omitted.
  • searchCount — Number of posts to return, between 1 and 500 (defaults to 50).
  • searchStart — Starting offset for result pagination (defaults to 0).
  • datePosted — Filter results by when the post was created: 'past-24h', 'past-week', 'past-month', or 'any-time' (defaults to 'any-time').
  • sortBy — Order results by 'relevance' or 'date_posted' (defaults to 'relevance').
  • authorJobTitles — List of up to 5 job titles to filter post authors by (e.g. CEO, CTO, Founder).

Output shape

A JSON object returned by the ConnectSafely API containing matching LinkedIn post records.

The structure is determined by the ConnectSafely API response and includes post metadata and matching details.

Examples

Example 1: Search recent posts about artificial intelligence by executive authors

Set Keywords to 'artificial intelligence', Date Posted to 'Past Week', and Author Job Titles to ['CEO', 'CTO'].

Example 2: Find the newest posts mentioning a product name

Set Keywords to 'n8n', Sort By to 'Date Posted', and Count to 20.

Discussion