# Create recurring Notion tasks from schedules using a task template

> Quick Overview This workflow receives a webhook request, queries Notion for active schedules due today or earlier, and creates new task pages in a Notion Tasks data source using the “Aderir ao modelo” template, then looks up the task’s responsible participant and triggers an n8n Orchestrator subworkflow. How it works 1. Receives a POST request via a webhook containing the Notion data source IDs for “Tarefas” and “Agendamentos”. 2. Calls the Notion API to list templates for the “Tarefas” data source and selects the template named “Aderir ao modelo”. 3. Queries the “Agendamentos” data source in Notion to fetch items with Status = “Ativo” and “Próxima execução” on or before today. 4. Iterates through each returned schedule and creates a new Notion page in “Tarefas” from the selected template, copying the “✅ Tarefas” relation into “✅ Tarefas Relacionadas” and setting Status to “Por Fazer”. 5. Aggregates the created tasks, waits briefly to allow Notion to apply template properties, and then

- **Domain**: `n8n-workflow-20708.n8n.io`
- **Provider**: n8n.io (https://n8n.io)
- **Kind**: workflow
- **Live-responds (last probe)**: None
- **Signed card**: False
- **Streaming**: False
- **Quality score**: 40%

## URLs
- Agent card: https://n8n.io/workflows/20708
- Page (HTML): https://agenstry.com/agents/n8n-workflow-20708.n8n.io
- Documentation: https://n8n.io/workflows/20708
