{"product_id":"publish-linkedin-posts-via-webhook-text-images-video-n8n","title":"Publish LinkedIn Posts via Webhook (Text, Images, Video) | n8n","description":"\u003ch3\u003ePublish LinkedIn Posts via a Webhook—Text, Images (up to 20), or Native Video\u003c\/h3\u003e\n\u003cp\u003eWant to send a message to LinkedIn automatically? This n8n workflow exposes a webhook endpoint that accepts your post text and media URLs, then publishes the post to LinkedIn—returning the created public LinkedIn post URL (or an error if LinkedIn rejects it).\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReceives a POST webhook request\u003c\/strong\u003e with required \u003cstrong\u003epost text\u003c\/strong\u003e plus either:\n    \u003cul\u003e\n      \u003cli\u003e\n\u003cstrong\u003ean array of image URLs\u003c\/strong\u003e (up to \u003cstrong\u003e20 images\u003c\/strong\u003e), or\u003c\/li\u003e\n      \u003cli\u003e\n\u003cstrong\u003ea single video URL\u003c\/strong\u003e.\u003c\/li\u003e\n    \u003c\/ul\u003e\n  \u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eValidates and normalizes input\u003c\/strong\u003e, including the \u003cstrong\u003erequired text\u003c\/strong\u003e and the \u003cstrong\u003eLinkedIn author ID \/ person URN\u003c\/strong\u003e, and enforces mutual exclusivity between \u003cstrong\u003eimages vs video\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eVideo path (native video)\u003c\/strong\u003e: registers a LinkedIn video upload, downloads the video from your URL, uploads it to LinkedIn, and creates a \u003cstrong\u003epublic video post\u003c\/strong\u003e using the LinkedIn UGC APIs.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eImage path (single or multi-image)\u003c\/strong\u003e: registers image uploads, downloads each provided image, uploads them to LinkedIn, and creates a posts payload for \u003cstrong\u003esingle-image or multi-image\u003c\/strong\u003e posts using the LinkedIn Posts API.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eText-only path\u003c\/strong\u003e: if no media is provided, publishes a \u003cstrong\u003etext-only\u003c\/strong\u003e LinkedIn post.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eReturns the result\u003c\/strong\u003e: extracts the created post URN from response headers and replies with the \u003cstrong\u003epublic LinkedIn post URL\u003c\/strong\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eAutomatically publish campaign updates from an internal system by calling the n8n webhook.\u003c\/li\u003e\n  \u003cli\u003eTurn content queued in your app into LinkedIn posts with image carousels or native video.\u003c\/li\u003e\n  \u003cli\u003eBatch-generate LinkedIn posts from SaaS workflows while centralizing media handling and publishing.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003en8n nodes used\u003c\/strong\u003e: \u003cem\u003ewebhook\u003c\/em\u003e, \u003cem\u003eif\u003c\/em\u003e, \u003cem\u003eset\u003c\/em\u003e, \u003cem\u003ecode\u003c\/em\u003e, \u003cem\u003ehttp request\u003c\/em\u003e, and \u003cem\u003esticky note\u003c\/em\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eLinkedIn setup\u003c\/strong\u003e: create a LinkedIn app with \u003cstrong\u003eShare on LinkedIn\u003c\/strong\u003e, then add an \u003cstrong\u003eOAuth2 credential\u003c\/strong\u003e in n8n with permissions such as \u003cstrong\u003ew_member_social\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eConfiguration\u003c\/strong\u003e: set your \u003cstrong\u003eLinkedIn person ID\u003c\/strong\u003e in the workflow’s settings.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46206014226611,"sku":"N8N-20794","price":22.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/zj59g4Rp18OBQJdmOhyiH_wsrZ5U4O.png?v=1791795807","url":"https:\/\/buyflowscripts.com\/products\/publish-linkedin-posts-via-webhook-text-images-video-n8n","provider":"N8N Commerce","version":"1.0","type":"link"}