AI Agent Automation with n8n

AI Agent Automation with n8n An architecture diagram generated by Archify. User · Request / response · Architecture component · ENTRY User Request / response ENTRY Trigger · Webhook / schedule · n8n Automation · EVENT Trigger Webhook / schedule EVENT n8n Workflow · Orchestrate + route · n8n Automation · AUTOMATION n8n Workflow Orchestrate + route AUTOMATION AI Agent · Reason + decide · AI Agent · DECISION AI Agent Reason + decide DECISION LLM · Generate / classify · AI Agent · MODEL LLM Generate / classify MODEL System Prompt · Policy + persona · AI Agent · CONTEXT System Prompt Policy + persona CONTEXT Memory · Conversation state · AI Agent · STATE Memory Conversation state STATE Tools · Capabilities · AI Agent · ACTIONS Tools Capabilities ACTIONS Web Search · Retrieve live facts · External Services · RETRIEVE Web Search Retrieve live facts RETRIEVE Gmail · Send / read mail · External Services · COMMUNICATE Gmail Send / read mail COMMUNICATE Database · Read / write records · External Services · PERSIST Database Read / write records PERSIST Other APIs · Business actions · External Services · EXTEND Other APIs Business actions EXTEND request event invoke agent prompt completion instructions write state read context select tool search email query call API response deliver n8n Automation AI Agent External Services Legend Automation / agent runtime State and memory Hosted AI service Trigger and orchestration External service