Use dynamic variables in JSON to post on LinkedIn

I can´t use dynamic variables in my HTTP request node I use to post on LinkedIn, due to the {{}} messing with the Json structure.

Not a valid Json

Please share your workflow

It currently outputs the error, it should post to LinkedIn

Information on your n8n setup

  • n8n version: latest
  • Database (default: SQLite): SQLite
  • n8n EXECUTIONS_PROCESS setting (default: own, main): own
  • Running n8n via (Docker, npm, n8n cloud, desktop app): n8n cloud
  • Operating system: windows

hi there, from the workflow tht you shared, i do not see any {{}} in the http request, can you share the workflow with that?

Here´s the workflow with the variables in the json.

hi there, try something like this, so you construct the json in the edit fields node before going on the http request node

Hi, I tried it like that and I tried to set the field as an object, but that didn´t work either.

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