AutomationMart
Home/Browse/Access control for AI agents (RBAC) using Airtable and Telegram
n8n

Access control for AI agents (RBAC) using Airtable and Telegram

n8nn8n23 modulesv1.0
AirtableWhatsAppOpenAITelegram

Purpose This workflow allows granular control over the access to tools connected to AI Agents (including Multi-Agent setups) using Role Based Access Control. Demo & Explanation []( How it works - User permissions are managed in Airtable where every restricted AI tool is listed by name and connected via roles to users - Requests to the Main Agent can be sent through a Telegram message (can be replaced by Whatsapp, IMAP or similar) - On every request the Telegram username is used to query a list o

At a glance

Access control for AI agents (RBAC) using Airtable and Telegram is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects Airtable, WhatsApp, OpenAI, Telegram. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
Airtable, WhatsApp, OpenAI, Telegram
Modules
23
Price
Free
Version
v1.0
Access control for AI agents (RBAC) using Airtable and Telegram workflow diagram

About this workflow

Purpose This workflow allows granular control over the access to tools connected to AI Agents (including Multi-Agent setups) using Role Based Access Control. Demo & Explanation []( How it works - User permissions are managed in Airtable where every restricted AI tool is listed by name and connected via roles to users - Requests to the Main Agent can be sent through a Telegram message (can be replaced by Whatsapp, IMAP or similar) - On every request the Telegram username is used to query a list of all allowed tools which are linked in Airtable - A LangChain Code node is used to compare that list against the connected tools - Every tool which is not permitted to be used is being replaced by a tool, which has a status response, telling the Agent to return a message to the user, that he is not authorized to use the tool - Otherwise allowed tools are passed through to the Agent, as if they were connected directly to the Agent - The parameters can also be passed to a sub-agent called as a sub-workflow where permissions can be checked the same way - Every response is sent back to the same Telegram conversation Setup - Clone the workflow and select the belonging credentials. You'll need an OpenAI and Airtable Account as well as a Telegram Bot (refer to the docs for the Telegram credentials). - Copy this Airtable Template into your workspace - Follow the instructions given in the yellow sticky notes - Activate the workflow How to use Try this example: - Create a new line in Airtable under “Users” containing your Telegram username and your full name - Set the roles “basic” and “info” - Consider temporarily disconnecting or resetting the chat memories so they do not remember previous confirmations - Start a new chat, asking about your permitted roles - you should get a list of those - Ask about the current weather in your city - you should be informed, that you do not have permission to access that information - Back in Airtable add the role “weather” to your user - Now ask the Agent the same question again - It should give you a proper answer this time From here on you can add tools and create roles to your likings. Disclaimer Please note, that this workflow can only run on self-hosted n8n instances, since it requires the LangChain Code Node.

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Send messages to Anthropic Claude for new Airtable records updates

Monitor your Airtable table for new records and send messages to Anthropic Claude with the information, ensuring timely communication and record updates in your table.

Free

Update Airtable records based on search results from Airtable

Automatically update Airtable records by searching and modifying entries based on specific criteria, streamlining your data management process within Airtable.

Free

Generate weekly supply chain OTIF reports and AI analysis with Notion and GPT-4o

Tags: Logistics, Supply Chain, OTIF, KPI Tracking, Performance Management, AI Analysis, Notion Context Hi! I'm Samir, Supply Chain Engineer, Data Scientist based in Paris, and founder of LogiGreen. > Let's use AI with n8n to automate supply chain performance tracking! Tracking On-Time In-Full (OTIF) delivery performance is critical for retail logistics, but manually compiling data, computing KPIs, and writing analysis reports is time-consuming and error-prone. []( This workflow automates the

Free

Transcribe Telegram messages and send replies using ChatGPT

Use the template to transcribe Telegram messages and generate AI-powered replies using ChatGPT. Enhance communication by sending responses directly through Telegram.

Free

Detect misinformation and manipulation risks with GPT-4o agents and Google Sheets

How It Works This workflow automates misinformation and information manipulation detection using a coordinated multi-agent AI architecture. It is designed for trust and safety teams, media analysts, researchers, and platform moderators who need scalable, structured threat assessment. The pipeline begins when a trigger initiates content analysis. A central Misinformation Detection supervisor agent coordinates three specialised sub-agents: a Narrative Pattern Detector that identifies recurring dis

Free

Create a Revolut Business draft payment and send a Slack notification from a new WooCommerce order

Use this template to create a Revolut draft payment to a supplier and send a Slack notification once a WooCommerce order is created. The setup of the template assumes you have your supplier data stored in an Airtable table. Your table has to include these fields: Name of the supplier (First name and Last name if the supplier is an individual), WooCommerce product ID, Price you pay for the product to the supplier and payment details. To see which details are required to create a Revolut draft

Free

Create script-to-video avatar videos with GPT-4.1-mini, HeyGen, Google Drive, Gmail and Slack

Description This workflow automates the entire process of taking a raw user-submitted script, rewriting it into a polished HeyGen-ready narration, generating a full avatar video, handling all processing checks, retrieving the final MP4, uploading it to Google Drive, and notifying the user through email and Slack. It turns an unstructured script into a complete, ready-to-share video package without any manual intervention. The system rewrites scripts into structured sections (intro → narrati

Free

Multi-AI agent router: compare OpenAI, Anthropic & Groq responses with webhooks

Introduction This workflow connects to OpenAI, Anthropic, and Groq, processing requests in parallel with automatic performance metrics. Ideal for testing speed, cost, and quality across models. How It Works Webhooks trigger parameter extraction and routing. Three AI agents run simultaneously with memory and parsing. Responses merge with detailed metrics. Workflow Template Webhook → Extract Parameters → Router ├→ OpenAI Agent ├→ Anthropic Agent ├→ Groq Agent → Merge → Metrics → Respond

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint — instant download
  • Setup guide PDF included
  • 5 downloads · valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free