Publish Notion posts to LinkedIn via webhook
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
What this workflow does
This workflow has 15 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects LinkedIn.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Carregar resultados, tarefas-pai e contas (Execute Sub-workflow): calls another n8n workflow
- Buscar resultado na tarefa e nos ancestrais e identificar conta (Code): runs custom JavaScript code
- Resultado não encontrado? (If): checks a condition and branches into true / false
- Carregar conhecimentos dos projetos e seus resultados (Execute Sub-workflow): calls another n8n workflow
- Normalizar dados da publicação (Edit Fields (Set)): sets 3 fields: resultado, conteudo, organizationId
- Selecionar primeiro resultado pendente para LinkedIn (Code): runs custom JavaScript code
- Resultado tem arquivo anexado? (If): checks a condition and branches into true / false
- Baixar primeiro arquivo do resultado (HTTP Request): calls an HTTP API
- Publicar no perfil pessoal? (If): checks a condition and branches into true / false
- Preparar imagem para publicação (Edit Fields (Set)): sets 1 field: data
…plus 4 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (7)
- Webhook
n8n-nodes-base.webhook - Execute Sub-workflow
n8n-nodes-base.executeWorkflow - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - LinkedIn
n8n-nodes-base.linkedIn
From the author
Quick Overview This workflow receives a Notion task via webhook, finds the first related Notion “Resultado” tagged as Post and LinkedIn, publishes its content (optionally with an attached image) to LinkedIn as a personal post or organization post, and then…