Label AI-generated content for EU AI Act compliance with Slack and Postgres
Ready for 3.0What this workflow does
This workflow has 24 nodes and runs when someone submits an n8n form (“AI Act Transparency Kit · asset intake”) (plus 1 other trigger). Along the way it connects Postgres and Slack.
How it runs
Trigger: When someone submits an n8n form (“AI Act Transparency Kit · asset intake”) (plus 1 other trigger).
- Generate Prompt Hash (Crypto): hashes or encrypts values
- Classify Under Article (Code): runs custom JavaScript code
- Check If Asset Is Text (If): checks a condition and branches into true / false
- Prepare Text Disclosure (Code): runs custom JavaScript code
- Save Incoming File (Read/Write Files from Disk): writes a file to disk
- Build Asset Manifest (Code): runs custom JavaScript code
- Label Media via API (HTTP Request): calls an HTTP API (POST)
- Store Asset in Database (Postgres): run a query
- Write Labelled File (Read/Write Files from Disk): writes a file to disk
- Check If Asset Is Image (If): checks a condition and branches into true / false
…plus 12 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (13)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - Crypto
n8n-nodes-base.crypto - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Read/Write Files from Disk
n8n-nodes-base.readWriteFile - Edit Image
n8n-nodes-base.editImage - HTTP Request
n8n-nodes-base.httpRequest - Edit Fields (Set)
n8n-nodes-base.set - Postgres
n8n-nodes-base.postgres - Slack
n8n-nodes-base.slack - Wait
n8n-nodes-base.wait - n8n
n8n-nodes-base.n8n
From the author
Quick overview This workflow collects AI-generated assets via an n8n form or sub-workflow call, classifies them for EU AI Act Article 50 disclosure, optionally burns disclosure labels into media, routes each asset through a human approval gate (with optional…