Generate PII-safe Helpdocs from Crisp Support chats with GPT-4.1-mini
Turn Crisp chats into Helpdocs Automatically create help articles from resolved Crisp chats. This n8n workflow listens for chat events, formats Q&A pairs, and uses an LLM to generate a PII‑safe helpdoc saved to a Data...
Template notes
Turn Crisp chats into Helpdocs
Automatically create help articles from resolved Crisp chats. This n8n workflow listens for chat events, formats Q&A pairs, and uses an LLM to generate a PII‑safe helpdoc saved to a Data Table.
---
Highlights
🧩 Trigger: Crisp Webhook when a chat is marked resolved. 🗂️ Store: Each message saved in a Data Table (crisp). 🧠 Generate: LLM turns Q&A into draft helpdoc. 💾 Save: Draft stored in another Data Table (crisphelp) for review.
---
How it works
1. Webhook receives message:send, message:received, and state:resolved events from Crisp. 2. Data Table stores messages by sessionid. 3. On state:resolved, workflow fetches the full chat thread. 4. Code node formats messages into Q: and A: pairs. 5. LLM (OpenAI gpt-4.1-mini) creates a redacted helpdoc. 6. Data Table crisphelp saves the generated doc with publish = false.