Help with LinkedIn Workflow - rev 2: Image Post not appearing

Hi everyone :waving_hand:

I’m working on a workflow to publish posts with images on LinkedIn using the ugcPosts endpoint, based on dynamic content from Google Sheets and Google Drive.

Linkedin Workflow - rev 2

Here’s what I have working so far:

  • I successfully upload the image via assets?action=registerUpload
  • I get the urn:li:digitalmediaAsset:...
  • I collect the user’s sub via the /userinfo endpoint
  • The body is sent as raw JSON under Content-Type application/json

However, even though the request executes without errors (HTTP 200), the post is either:

  • Problem with parameters
  • Not appearing on my LinkedIn feed

Only text is working… .

Here’s the JSON body I’m using (dynamic version):

json

CopiarEditar

{
  "author": "urn:li:person:{{$node['HTTP Request UserInfo'].json.sub}}",
  "lifecycleState": "PUBLISHED",
  "specificContent": {
    "com.linkedin.ugc.ShareContent": {
      "shareCommentary": {
        "text": "{{$node['Pick One'].json.text}} • {{$now}}"
      },
      "shareMediaCategory": "IMAGE",
      "media": [
        {
          "status": "READY",
          "media": "{{$node['HTTP Request-RegisterUpload'].json.value.asset}}"
        }
      ]
    }
  },
  "visibility": {
    "com.linkedin.ugc.MemberNetworkVisibility": "PUBLIC"
  }
}

What I’ve already tried:

  • Adding timestamps or random strings to the text to avoid duplicates
  • Manually changing the asset ID and text
  • Posting static versions (which work but don’t always show up on the feed)

Has anyone managed to make this work reliably with dynamic posts (text + image)?
Is there something I’m missing in the ugcPosts structure?

Thanks in advance for any help or insight!

— Pedro

You have to download the image using a http node and then use that downloaded photo in the linkedIn node to post along with the text