Conversational interviews with AI agents and n8n forms
Needs changesWhat this workflow does
This AI workflow has 30 nodes and runs when someone submits an n8n form (plus 1 other trigger). Along the way it connects Redis, Groq Chat Model and Google Sheets.
How it runs
Trigger: When someone submits an n8n form (plus 1 other trigger).
- UUID (Crypto): hashes or encrypts values
- Query By Session (Redis): get
- Create Session (Redis): set
- Valid Session? (If): checks a condition and branches into true / false
- Generate Row (Edit Fields (Set)): sets 4 fields: timestamp, type, question…
- Show Transcript (HTML): parses or builds HTML
- 404 Not Found (HTML): parses or builds HTML
- Update Session (Redis): push
- Respond to Webhook: sends the response back to the webhook caller
- Set Interview Topic (Edit Fields (Set)): sets 2 fields: answer, interview_topic
…plus 15 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in AI Researcher (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) AI Researcher (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (15)
- If
n8n-nodes-base.if - Edit Fields (Set)
n8n-nodes-base.set - Chat Memory Manager
@n8n/n8n-nodes-langchain.memoryManager - n8n Form Trigger
n8n-nodes-base.formTrigger - n8n Form
n8n-nodes-base.form - Crypto
n8n-nodes-base.crypto - Redis
n8n-nodes-base.redis - Respond to Webhook
n8n-nodes-base.respondToWebhook - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Webhook
n8n-nodes-base.webhook - HTML
n8n-nodes-base.html - AI Agent
@n8n/n8n-nodes-langchain.agent - Groq Chat Model
@n8n/n8n-nodes-langchain.lmChatGroq - Google Sheets
n8n-nodes-base.googleSheets - Split Out
n8n-nodes-base.splitOut
From the author
This n8n template combines an AI agent with n8n's multi-page forms to create a novel interaction which allows automated question-and-answer sessions. One of the more obvious use-cases of this interaction is what I'm calling the AI interviewer. You can read…