Otobong Okoko
Back to lab
AutomationStatus: Planned

LinkedIn Publishing Pipeline

Publish blog posts to LinkedIn with one toggle in the CMS. Sanity fires a webhook, an API route picks it up, and the LinkedIn API does the rest.

Tech Stack

  • Sanity
  • LinkedIn API
  • Webhooks

Problem

Publishing to LinkedIn after writing a blog post is a separate manual step - easy to skip, easy to forget. The content is already in the CMS, it shouldn't need to go anywhere else.

Approach

When a post is marked as published in Sanity, a webhook triggers an API route that formats and submits the content to LinkedIn via their API. The entire distribution step becomes a side effect of the editorial workflow, not an extra task on top of it.