N8n Posts to LinkedIn don't include "mentions" or link previews

Describe the issue/error/question

I would like to use n8n to automate posts to LinkedIn. However, when I include a mention ie. @Trevor Sullivan, it doesn’t register as a link to an entity. Secondly, when I include a link, there is no link preview on the LinkedIn post, like there is when you manually post on the website.

Question: How can I post to LinkedIn from n8n workflows, and include valid “mentions” and link previews?

Please share the workflow

Share the output returned by the last node

Information on your n8n setup

  • n8n version: latest
  • Database you’re using (default: SQLite):
  • Running n8n with the execution process [own(default), main]:
  • Running n8n via [Docker, npm, n8n.cloud, desktop app]: Docker

Hey @trevor,

To be honest the LinkedIn needs a bit of love, When I use it part of is all good if I select the Article type and add the Original URL field.

The default type is “Text Only” which doesn’t do anything fancy.

It looks like for a mention you might need to use the Mention URN which expects something like @[Eddy](urn:li:person:1234) for a user or @[Devtestco] (urn:li:organization:2414183) for an organisation.


Awesome that’s helpful!! I’ll give it a try. Thank you! :heart:


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.