Select a LinkedIn post topic from Notion tasks
Ready for 3.0What this workflow does
This workflow has 13 nodes and runs when an HTTP POST request hits its webhook URL. It uses only n8n's built-in nodes.
How it runs
Trigger: When an HTTP POST request hits its webhook URL.
- Carregar projetos e taxonomias da tarefa (Execute Sub-workflow): calls another n8n workflow
- Filtrar projetos do tipo Post (Code): runs custom JavaScript code
- Carregar conhecimentos e taxonomias dos projetos (Execute Sub-workflow): calls another n8n workflow
- Filtrar conhecimentos do tipo Assunto (Code): runs custom JavaScript code
- Separar assuntos em itens (Split Out): splits a list into separate items
- Percorrer assuntos candidatos (Loop Over Items (Split in Batches)): loops over the items in batches
- Carregar subitens e anotações do assunto (Execute Sub-workflow): calls another n8n workflow
- Selecionar primeiro assunto com anotação disponível para LinkedIn (Code): runs custom JavaScript code
- Encontrou assunto e anotação? (If): checks a condition and branches into true / false
- Vincular assunto e anotação à tarefa (HTTP Request): calls an HTTP API (PATCH)
…plus 2 more steps. See the full node list below.
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 - Split Out
n8n-nodes-base.splitOut - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest
From the author
Quick overview This workflow receives a Notion task via webhook, finds the first available “Assunto” (topic) with a LinkedIn-ready “Anotação” (note) that has not been published yet, and writes the selected relations back to the task and its parent tasks using…