Skip to main content

Generate PII-safe Helpdocs from Crisp Support chats with GPT-4.1-mini

Workflow preview

Workflow preview
100%
Generate PII-safe Helpdocs from Crisp Support chats with GPT-4.1-mini preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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 hel...

Best for

  • Internal Wiki automation workflows
  • AI Summarization automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.webhook, @n8n/n8n-nodes-langchain.lmchatopenai, n8n-nodes-base.datatable, n8n-nodes-base.if, n8n-nodes-base.code, @n8n/n8n-nodes-langchain.chainllm, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Cooper.

Original n8n.io source

1.1 Workflow description

Title
Generate PII-safe Helpdocs from Crisp Support chats with GPT-4.1-mini
Workflow name
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 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 session_id.
  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.

Requirements

  • Crisp workspace with webhook access (Settings → Advanced → Webhooks)
  • n8n instance with Data Tables and OpenAI credentials

Customize

  • Swap the model in the LLM node.
  • Add a Slack or Email node after store-doc to alert reviewers.
  • Extend prompt rules to strengthen PII redaction.

Tips

  • Ensure Crisp webhook URL is public.
  • Check IF condition: {{$json.body.data.content.namespace}} == "state:resolved".
  • Use the publish flag to control auto‑publishing.

Category: AI • Automation • Customer Support

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - crisp

Type / Role
n8n-nodes-base.webhook - webhook
Config choices
Version 2.1

Block 2 - OpenAI Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 3 - get

Type / Role
n8n-nodes-base.dataTable - dataTable
Config choices
Version 1

Block 4 - closed

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 5 - insert

Type / Role
n8n-nodes-base.dataTable - dataTable
Config choices
Version 1

Block 6 - format

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 7 - Gen Help

Type / Role
@n8n/n8n-nodes-langchain.chainLlm - chainLlm
Config choices
Version 1.7

Block 8 - store-doc

Type / Role
n8n-nodes-base.dataTable - dataTable
Config choices
Version 1

Block 9 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 10 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Generate PII-safe Helpdocs from Crisp Support chats with GPT-4.1-mini
Complexity intermediate
Nodes 14
Categories Internal Wiki, AI Summarization
Author Cooper
Published 12 Nov 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/10773/10773.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Generate PII-safe Helpdocs from Crisp Support chats with GPT-4.1-mini do?

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 hel...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Internal Wiki, AI Summarization use case.