Gate AI Slack DevOps bot actions with OpenAI and Permit.io RBAC
> This n8n workflow template uses a community node and is only compatible with the self-hosted version of n8n.  Who's it for DevOps teams, platform engineers, and ops leads who use Slack...
Template notes
> This n8n workflow template uses a community node and is only compatible with the self-hosted version of n8n.

Who's it for
DevOps teams, platform engineers, and ops leads who use Slack bots for infrastructure tasks but need to control who can trigger what. Ideal for teams that have outgrown hardcoded IF-node permission checks.
How it works
A team member @mentions the bot in Slack with a DevOps request like "restart staging" or "deploy to production." OpenAI classifies the message into a structured action and resource. Permit.io then checks if that Slack user's role allows the action. If permitted, the workflow executes the action and posts the result. If denied, the bot responds with the user's current permissions and suggests who can help.
How to set up
1. Install the @permitio/n8n-nodes-permitio community node 2. Create a Slack app with appmentions:read, chat:write, channels:read, users:read scopes 3. Add your OpenAI API key 4. In Permit.io, create resources (logs, staging, production, secrets) with actions (view, deploy, restart, rotate) and roles (viewer, developer, sre, admin) 5. Sync your team's Slack user IDs as users in Permit.io and assign roles