Generate AWS IAM policies via chat interface with GPT-4 assistant
Ready for 3.0What this workflow does
This AI workflow has 7 nodes and runs when a chat message arrives. Along the way it connects OpenAI Chat Model. It also calls iam.amazonaws.com over HTTP.
How it runs
Trigger: When a chat message arrives.
- IAM Policy Creator Agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model; memory: Simple Memory; output parser: Structured Output Parser
- IAM Policy HTTP Request (HTTP Request): calls iam.amazonaws.com (POST)
- Email for tracking (Send Email): sends an email over SMTP
Services it uses
HTTP calls to: iam.amazonaws.com
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (7)
- Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - AI Agent
@n8n/n8n-nodes-langchain.agent - HTTP Request
n8n-nodes-base.httpRequest - Send Email
n8n-nodes-base.emailSend
From the author
Chat-Based AWS IAM Policy Generator with OpenAI Agent > Chat-driven workflow that lets IT and DevOps teams generate custom AWS IAM policies via AI, automatically apply them to AWS, and send an email notification with policy details. 👤 Who’s it for This…