Single AI Agent with Notion by Louis DodouSingle AI Agent with Notion by Louis Dodou

Single AI Agent with Notion

Louis Dodou

Louis Dodou

Single AI Agent with Notion & GitLab Tool Routing
One agent. Two tools. Decides what to do and where to send it — automatically.
Built an n8n AI agent workflow triggered via webhook that passes the request to a Tools Agent powered by OpenAI with simple memory. The agent has access to two tools Notion for creating pages and GitLab for creating issues and decides which to use based on the input. The output then passes through an if/else condition that routes the webhook response down the appropriate path depending on the outcome.
A clean, reusable pattern for any scenario where an AI needs to decide between multiple actions and return the right result to the right endpoint.
Stack: n8n · Webhooks · OpenAI · Notion · GitLab · Router
Like this project

Posted Jun 7, 2026

Single AI Agent with Notion & GitLab Tool Routing One agent. Two tools. Decides what to do and where to send it — automatically. Built an n8n AI agent workfl...