Sanitize and ingest AI LLM JSON into Postgres with DevDeskApp and Slack
UnknownWhat this workflow does
This workflow has 13 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects Postgres, Slack and Devdeskapp (community).
How it runs
Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).
- Sample Raw LLM Output (With Markdown) (Code): runs custom JavaScript code
- Strip Markdown Code Fences (Code): runs custom JavaScript code
- Dev Desk App: prettify (json)
- Dev Desk App: uuid (crypto)
- Dev Desk App: hash (crypto)
- If: checks a condition and branches into true / false
- Format Clean Database Record (Code): runs custom JavaScript code
- Format Schema Error Alert (Code): runs custom JavaScript code
- Postgres: run a query
- Slack: uses Slack
…plus 1 more step. See the full node list below.
Services it uses
Other PostgreSQL + Slack templates (109)
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that n8n-nodes-devdeskapp is verified or supports 3.0 (used in DevDeskApp: JSON Prettifier & Schema Validator, DevDeskApp: Trace UUID Generator, DevDeskApp: SHA-256 Integrity Hasher).
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (7)
- Manual Trigger
n8n-nodes-base.manualTrigger - Code
n8n-nodes-base.code - Webhook
n8n-nodes-base.webhook - Dev Desk App
n8n-nodes-devdeskapp.devDeskApp - If
n8n-nodes-base.if - Postgres
n8n-nodes-base.postgres - Slack
n8n-nodes-base.slack
From the author
A production-grade, fault-tolerant ingestion pipeline that sanitizes unstructured or Markdown-fenced JSON generated by AI agents (OpenAI, Anthropic, LangChain) before inserting into PostgreSQL or Supabase databases. Features in-memory Markdown fence…