Library / Security & Compliance
Security & Compliance
Restrict AI Agent Tools by User Role with Airtable
When a Telegram message arrives, it checks the user's role in Airtable and only gives the OpenAI agent the tools that user is allowed to use.
What it does
Uses list of allowed tools gathered from Airtable to check for permissions and replaces denied tools with a fixed instruction to return a message to the user.
The steps
- Simple Memory
- OpenAI Chat Model
- Check permissions
- Telegram Trigger
- Set input
- Get user permissions
- When Executed by Another Workflow
- Settings
- OpenAI Chat Model1
- Simple Memory1
- Check permissions1
- list_granted_roles
- list_allowed_tools
- calculator
23 steps in total.
Similar automations
Security & ComplianceRestrict AI Agent Tools by User Permissions from Airtable47 stepsAI Agents & AssistantsChat with a Wikipedia Podcast Agent on Telegram with Claude and ElevenLabs11 stepsData Sync & ETLList Discord Members with a Role into Google Sheets14 stepsAI Agents & AssistantsTelegram Agent with OpenAI, Gemini, Wikipedia and Airtable18 steps