Apply task templates in Notion tasks using Taxonomias

Go to Workflow
0 views
Built by Mayron Kersbaum Mayron Kersbaum
Created on October 10, 2026

Description

Quick overview
This workflow receives a webhook request and duplicates related task templates in Notion into new tasks, rebuilding subtask and dependency relations between the copies and optionally updating the task owner based on required “Função” taxonomies.

How it works
Receives a webhook request containing the source Notion task page and the Notion data sources to use.
Queries the Notion “Taxonomias” data source to identify the taxonomy entry that marks pages as “Modelos de tarefa”.
Calls a helper workflow to load the task’s related templates (including nested subitems) and flattens them into a deduplicated list to avoid repeated or circular references.
Creates a new Notion task page for each template in the “Tarefas” data source, copying allowed properties while removing model-only taxonomy tags and clearing reverse-reference relations.
Uses the saved template→copy mapping to rebuild relations (Subitem, Bloqueando, and ✅ Tarefas Relacionadas) so the newly created tasks link to each other correctly, and updates the new pages in Notion.
For each created task, loads its taxonomies and current assignee taxonomies and, when the task requires a “Função”, iterates through assignee candidates (and their nested group members) to assign the first participant whose function taxonomy matches.

Setup
Create a Notion integration, share access to your “Tarefas” and “Taxonomias” databases, and add the integration token as an HTTP Bearer Auth credential in n8n.
Ensure the Notion properties referenced by the workflow exist and match these names: 🏷️ Taxonomia, 👥 Responsável, Integrantes, Subitem, Bloqueando, and ✅ Tarefas Relacionadas.
Import and publish the sub-workflow “Enriquecer Página do Notion”, then select its workflow ID in each Execute Workflow step.
Copy the webhook URL from the Webhook trigger and configure the source system to POST the expected payload, including a tarefa (page object) and data_sources entries titled “Tarefas” and “Taxonomias”.

This workflow was created by Mayron Kersbaum and shared publicly on the n8n community template library. n8nFind indexes it for discovery — the workflow remains the property of its original creator.

Nodes Used (2)

Code
n8n-nodes-base.code
HTTP Request
n8n-nodes-base.httpRequest