Top 200 ReposEXPLORER
Browse agents, categories and pages
Back to results
Planned, not doneThe source describes an intention, not a finished result.

Test Conversation Memory in an SDR Workflow

Overview

Build a test n8n workflow with an AI Agent node and a memory node, then check with scripted messages that the agent keeps earlier turns of a conversation with a lead.

Problem or Objective

More in Sales, Marketing and Support

AI Agents and Models

Tools and Integrations

Tools
n8n
Prerequisites
Memory behaviour depends on your n8n version and deployment mode (the memory page excludes queue mode in production); the email and CRM sides are your own and not verified here.

How It Works

Build a small n8n workflow that receives a test message, passes it to an AI Agent node with a chat model and at least one tool, and returns the agent's reply to you instead of sending it. Add a Simple Memory node and set its session key to a stable value per conversation, such as a test contact id. Send a scripted conversation of five or six messages in which the lead states a detail early (a budget or a date) and refers back to it later. Check whether the later replies use the earlier detail, and try a different session key to see that conversations stay apart. Fix the key or the context window length and repeat before you connect any real inbox or CRM.

Implementation Workflow

Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.

  1. Choose the agentSet up n8n.
  2. Connect the toolsConnect the tools this workflow relies on: n8n.
  3. Check the prerequisitesMemory behaviour depends on your n8n version and deployment mode (the memory page excludes queue mode in production); the email and CRM sides are your own and not verified here.
  4. Gather your detailsCollect what the prompt asks for: Company name, Turn that refers back, Test session key.
  5. Run the starter promptPaste the starter prompt below into n8n and adapt it to your case.
  6. Check against the documentationCompare what you get with the documentation at docs.n8n.io before you rely on it.

Practical Starter Prompt: Run a scripted memory test

Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].

Preview
You are a sales assistant for [Company name] in a test workflow. Reply to each message as a draft only, never send anything, and wait for my review of each draft before the next message. Use the earlier turns of this conversation: after message [Turn that refers back], the lead will refer back to a detail from message 1, and your reply must use it correctly. After the last message, list every earlier detail you remembered and any you lost. Use session key [Test session key] and do not touch any CRM record.

Keep the test on drafts and test contacts, check the memory node against your n8n deployment mode, and have a person review any reply before real use.

Expected Results and Benefits

This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.

This is a suggested workflow, not a reported outcome. The cited n8n pages document the AI Agent node and the Simple Memory node and their parameters, and they do not say how well an agent keeps a long sales conversation, so the scripted test is the evidence.

Limitations and Considerations

The n8n memory page says the Simple Memory node does not work in an active production workflow when your instance runs in queue mode, so check your deployment before you rely on it. The AI Agent node needs at least one connected tool. Test with a test mailbox and test records, keep outputs as drafts for a person to review, and check marketing consent rules before any real outreach. Results depend on your setup and were not independently reproduced by Top 200 Repos.

GitHub Repositories

AI Agent Repository

Source code of the agent that does the work.

Official Website

The official site of the main tool or project in this use case.

Visit Website (opens in a new tab)n8n.io

Related Videos

About n8n-io/n8n

About n8n-io/n8n

Independent creators. Listing a video implies no endorsement, sponsorship or partnership.

Sources

  1. AI Agent | Nodes | n8n Docs (opens in a new tab)

    Project documentation · docs.n8n.io · Undated · Source checked 2 Dec 2026, 13:21 UTC

    What this source supports
    • The AI Agent node lets you build an AI agent in n8n.
    • You must connect at least one tool sub-node to an AI Agent node.
  2. Simple Memory | Nodes | n8n Docs (opens in a new tab)

    Project documentation · docs.n8n.io · Undated · Source checked 2 Dec 2026, 13:31 UTC

    What this source supports
    • Use the Simple Memory node to persist chat history in your workflow.
    • Session Key : Enter the key to use to store the memory in the workflow data.
    • Context Window Length : Enter the number of previous interactions to consider for context.
    • If your n8n instance uses queue mode , this node doesn't work in an active production workflow.
Report a problem

More with n8n

Planned, not done

Support Customers Through Telegram Messages

An n8n workflow turns new customer emails and contact-form messages into tasks with draft replies, and sends each draft to the owner in Telegram with Approve and Decline buttons before anything goes out.

docs.n8n.ion8n-io/n8n
Planned, not done

Capture Restaurant Orders With a Conversational Agent

Build an n8n chat that takes a customer's food order from your menu, reads it back, and records it in a data table only after a staff member approves it in Slack.

docs.n8n.ion8n-io/n8n
Reported by source

Build a self-hosted AI agent workflow with human approval

Use n8n's visual canvas to wire an LLM agent to your apps, add tools and memory, and pause for human approval before it acts.

github.comn8n-io/n8n

View all: n8n