Build dynamic, conversational AI interviewer agents using n8n forms, Langchain (Groq) and Redis memory management. This n8n workflow provides endless user research capabilities.
Download this n8n workflow template and start using it instantly.
Conducting scalable user research interviews is often cost-prohibitive and time-intensive. This powerful n8n workflow solves this by deploying a sophisticated AI Interview Agent that dynamically asks follow-up questions based on user input, creating a never-ending interview loop until the user explicitly asks to stop. The entire conversation transcript is recorded using a Redis session manager to maintain context, ensuring a fluid interview experience. This comprehensive n8n template demonstrates how to combine the conversational power of AI agents with the easy data capture of the n8n form trigger, storing the results in Google Sheets for analysis. Every step, from the initial form submission to the final transcript display, is managed by an n8n node, showcasing the platform’s potential for complex, user-facing applications.
This stateful n8n workflow operates in a continuous loop powered by n8n Forms and an AI Agent:
Start Interview n8n trigger (Form Trigger node). The user submits their name, initiating the session.Create Session Redis n8n node initializes a new session key for storing the transcript. The initial user input is saved.AI Researcher (Langchain Agent) n8n node. This agent, configured with system prompts and backed by a Groq Chat Model, analyzes the conversation history (maintained via Window Buffer Memory) and generates the next question, outputting a structured JSON response (including a stop_interview boolean).Parse Response n8n node processes the AI's output. The Stop Interview? If n8n node checks the boolean flag. If False, the loop continues.Get Answer n8n node presents the AI's generated question as a new form to the user, collecting the response.Generate Row) and pushed to the persistent Redis session using the Update Session1 n8n node, ensuring the AI agent retains context for the next turn.AI Researcher n8n node (Send Reply To Agent), restarting the conversation loop.Stop Interview? n8n node routes the flow to the cleanup path. The session is closed, the memory is deleted, and the user is redirected via a custom redirect URL in the Redirect to Completion Screen n8n node.Save to Google Sheet n8n node for later analysis. A separate Webhook n8n trigger captures the redirected request and dynamically displays the session transcript to the user as a completion screen.To deploy this powerful n8n workflow, follow these setup steps:
Groq Chat Model n8n node.Create Session n8n node and other Redis nodes responsible for managing conversation memory.Webhook n8n trigger (the one at the far end of the workflow, path /ai-interview-transcripts/:session_id). Paste this full URL into the 'Redirect to Completion Screen' Form n8n node's redirectUrl parameter, replacing the placeholder values ( and ).Start Interview n8n trigger and access its form URL to begin testing the conversational AI. Start Interview (Form Trigger): This n8n trigger starts the entire n8n workflow when a user fills out the initial form (asking for their name). Key configuration includes the form title and a required name field.
UUID (Crypto): Generates a unique identifier used to manage the Redis session key, ensuring isolation between multiple concurrent interviews.
Create Session (Redis n8n node): Initializes the Redis key (set to expire after 24 hours) where the entire conversation transcript will be stored in list format.
AI Researcher (Langchain Agent n8n node): The brain of the automation. It takes the user's answer and, utilizing the Groq Chat Model and Window Buffer Memory, generates the next logical interview question based on the detailed system prompt. This ensures the conversational flow is maintained.
Groq Chat Model (Langchain LLM): Provides the large language model backend (llama-3.2) necessary for the advanced reasoning and question generation required by the AI agent.
Stop Interview? (If n8n node): Essential flow control logic. It parses the AI's JSON output to determine if the continuous n8n workflow loop should be broken (e.g., if the user typed 'stop').
Get Answer (Form n8n node): A crucial element of the loop. It presents the AI's newly generated question to the user as a new form field, capturing the reply and advancing the conversational process.
Update Session (Redis n8n node): Appends the latest question/answer pair to the Redis list, persistently updating the memory of the conversation throughout the n8n workflow.
Redirect to Completion Screen (Form n8n node): On interview termination, this node redirects the user's browser to the separate transcript webhook URL.
Save to Google Sheet (Google Sheets n8n node): Used for permanent storage. It receives the entire session data and appends structured rows to a designated sheet for data analysis. This ensures the results of the n8n workflow are captured effectively.
Use this powerful n8n workflow to create, manage, and check for conflicts in Google Calendar events directly from Telegram messages. It leverages the n8n Agent node with Claude 3.5 Haiku for intelligent scheduling.

Leverage the power of an n8n workflow to create a conversational AI agent that analyzes Google Sheets data using OpenAI's GPT models, providing instant analytical insights. Deploy this n8n template today.

Automate Discord server commands using natural language input. This powerful n8n workflow leverages GPT-4o and the Discord MCP Client n8n node for advanced AI control and robust server management.

Deploy a powerful n8n workflow that uses GPT-4o and MCP tools to converse with, inspect, and manage your Kubernetes clusters using natural language. Get this n8n template.

Deploy an intelligent chat-to-lead system using this advanced n8n workflow. Qualify, create, update, and schedule leads automatically in Salesforce using a powerful n8n AI agent.

Use this powerful n8n workflow template to deploy a GPT-4 powered lead capture chatbot. It integrates directly with Salesforce for lead creation, updates, duplicate checks, and sends real-time Slack and email notifications.


Freelance consultant based in the UK specialising in AI-powered automations. I work with select clients tackling their most challenging projects. For business enquiries, send me an email at [email protected] LinkedIn: https://www.linkedin.com/in/jimleuk/ X/Twitter: https://x.com/jimle_uk







































