GenAiHub

Last checked 23 October 2026 — responded normally.

Select a LinkedIn post topic from Notion tasks

Quick overview

Live
Open / InstallLast updated October 23, 2026

Description

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 the Notion API. How it works Receives a webhook POST request containing the Notion task page object in body.tarefa. Loads the task’s related Notion “Projetos” and their “Taxonomia”, then keeps only projects tagged as “Post”. For each Post project, loads its related Notion “Conhecimentos” and their “Taxonomias”, then keeps only items tagged as “Assunto”. Iterates through the candidate Assunto items and recursively loads their Subitem hierarchy plus related “Anotações” (including their Taxonomias and Resultados). Selects the first Assunto that contains an Anotação tagged “Post” and “LinkedIn” and with an empty “Resultados” relation (not yet published). If a match is found, updates the original Notion task page to relate the chosen “📚 Conhecimentos” and “📝 Anotação”, then updates each related “Item pai” page with the same relations. Setup Create an HTTP Bearer Auth credential with your Notion integration token and ensure the integration has access to the task, project, knowledge, annotation, and results pages/databases. Set the workflow variable Notion_Version to the Notion API version you want to use for the request header. Provide and select the sub-workflow “Enriquecer Página do Notion” (used to expand Notion relations) in the three workflow-call steps. Ensure your Notion schema matches the property and relation names used (for example “🎯 Projetos”, “🏷️ Taxonomia(s)”, “📚 Conhecimentos”, “📝 Anotações”, “📦 Resultados”, “Item pai”) and that the taxonomies “Post”, “Assunto”, and “LinkedIn” exist. Copy the production webhook URL and configure the source system to send a POST request with the Notion task page object in the tarefa field of the JSON body. An n8n automation workflow template by Mayron Kersbaum.

Community Metrics

Views
0
Avg Rating
N/A
Ratings
0
Likes
0
Comments
—

Author

Mayron Kersbaum

Platform

web

Pricing model

free

Categories

  • Automation

Tags

  • n8n
  • workflow
  • http-request
  • code

Capabilities

  • 2 nodes

Information

TypeWorkflow
Sourcen8n
AddedOctober 14, 2026

Comments

?

Others in the same category, ranked by how often they are opened.