๐Ÿ“– Control AI agent tool access with Port RBAC and Slack mentions

โšก 39 views ยท ๐Ÿ“– Internal Wiki & Knowledge Base

Description

RBAC for AI agents with n8n and Port

This workflow implements role-based access control for AI agent tools using Port as the single source of truth for permissions. Different users get access to different tools based on their roles, without needing a separate permission database.

For example, developers might have access to PagerDuty and AWS S3, while support staff only gets Wikipedia and a calculator. The workflow checks each userโ€™s permissions in Port before letting the agent use any tools.

For the full guide with blueprint setup and detailed configuration, see RBAC for AI Agents with n8n and Port in the Port documentation.

How it works

The n8n workflow orchestrates the following steps:

Setup

Prerequisites

โš ๏ธ This template is intended for Self-Hosted instances only.

๐Ÿ”— Nodes Used

HTTP Request, Slack, AI Agent, LangChain Code, OpenAI Chat Model, Simple Memory

๐Ÿ“ฅ Import

Download workflow.json and import into n8n: Workflow menu โ†’ Import from File

๐Ÿ“– Importing guide ยท ๐Ÿ”‘ Credential setup