Automate AWS IAM user management through email
Ready for 3.0Ready 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-10-19.
Nodes used (5)
- Code
n8n-nodes-base.code - Send Email
n8n-nodes-base.emailSend - AWS IAM
n8n-nodes-base.awsIam - Email Trigger (IMAP)
n8n-nodes-base.emailReadImap - Switch
n8n-nodes-base.switch
What it does
This automated n8n workflow manages AWS IAM users (create, delete, update, assign to groups) directly from email commands with automatic confirmation responses. Good to Know - The workflow processes email requests via a GET Email Request node. - Data extraction from emails is handled to identify user management commands. - Error handling is included for invalid or missing email data. - Responses are sent via email for each action performed. How It Works - GET Email Request - Captures incoming email requests. - Extract Data from Email - Parses email content to extract user management commands. - Check Type of Task - Validates the type of task (e.g., create, delete, update). - Get User - Retrieves user details from AWS IAM. - Get Many Users - Fetches multiple user details if required. - Create User - Creates a new IAM user. - Delete User - Deletes an existing IAM user. - Add to Group - Assigns a user to a group. - Remove from Group - Removes a user from a group. - Update User - Updates user details. - Make Message for Email - Prepares a confirmation email. - Send Email Response - Sends the confirmation email. How to Use - Import the workflow into n8n. - Configure the GET Email Request node to receive email commands. - Test the workflow with sample email commands (e.g., "create user: johndoe", "add to group: admins"). - Monitor email responses and adjust command parsing if needed. Requirements - AWS IAM credentials configured in n8n. - Email service integration (e.g., SMTP settings). - n8n environment with workflow execution permissions. Customizing This Workflow - Adjust the Extract Data from Email node to support additional command formats. - Modify the Make Message for Email node to customize confirmation messages. - Update the AWS IAM nodes to include additional user attributes or group policies.