Remember per-customer chat history with Amazon Bedrock AgentCore
UnknownWhat this workflow does
This AI workflow has 4 nodes and runs when a chat message arrives. Along the way it connects Agentcore (community).
How it runs
Trigger: When a chat message arrives.
- Set Customer Identity (Edit Fields (Set)): sets 3 fields: agentName, customerId, userMessage
- Answer With Customer Memory (Agent Core Harness): uses Agent Core Harness
- Format Chat Reply (Code): runs custom JavaScript code
Services it uses
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that @aws/n8n-nodes-agentcore is verified or supports 3.0 (used in Answer With Customer Memory).
Nodes used (4)
- Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - Edit Fields (Set)
n8n-nodes-base.set - Agent Core Harness
@aws/n8n-nodes-agentcore.agentCoreHarness - Code
n8n-nodes-base.code
From the author
Quick Overview This workflow uses the n8n chat trigger and Amazon Bedrock AgentCore to run a support assistant that keeps long-term, per-customer memory across separate chat sessions, then formats the agent response into a safe plain-text reply. How it works…