Templates / Generate AWS IAM policies via chat interface with GPT-4 assistant

Generate AWS IAM policies via chat interface with GPT-4 assistant

Ready for 3.0

by Trung Tran ✓ · 144 views · created 2025-09-12 · DevOps, AI Chatbot

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What 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.

  1. IAM Policy Creator Agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model; memory: Simple Memory; output parser: Structured Output Parser
  2. IAM Policy HTTP Request (HTTP Request): calls iam.amazonaws.com (POST)
  3. Email for tracking (Send Email): sends an email over SMTP

Services it uses

OpenAI Chat Model

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)

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…

Excerpt from Trung Tran's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.