The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"name": "TrustLoopGuard SDK Bridge Demo",
"nodes": [
{
"parameters": {},
"id": "manual-trigger",
"name": "Manual Trigger",
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [
240,
300
]
},
{
"parameters": {
"jsCode": "return [{ json: { input: 'Write a follow-up for the account owner.', draft: 'Send the follow-up to the account owner at 415-555-1212.', agentId: 'demo-acme-support', channel: 'chat' } }];"
},
"id": "draft-output",
"name": "Draft Agent Output",
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
460,
300
]
},
{
"parameters": {
"method": "POST",
"url": "http://127.0.0.1:8787/guard",
"sendBody": true,
"specifyBody": "json",
"jsonBody": "={{ JSON.stringify($json) }}",
"options": {
"response": {
"response": {
"responseFormat": "json"
}
}
}
},
"id": "trustloopguard-check",
"name": "TrustLoopGuard Check",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
700,
300
]
},
{
"parameters": {
"jsCode": "return [{ json: { guardedOutput: $json.guardedOutput, guard: $json.guard } }];"
},
"id": "use-guarded-output",
"name": "Use Guarded Output",
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
940,
300
]
}
],
"connections": {
"Manual Trigger": {
"main": [
[
{
"node": "Draft Agent Output",
"type": "main",
"index": 0
}
]
]
},
"Draft Agent Output": {
"main": [
[
{
"node": "TrustLoopGuard Check",
"type": "main",
"index": 0
}
]
]
},
"TrustLoopGuard Check": {
"main": [
[
{
"node": "Use Guarded Output",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {
"executionOrder": "v1"
}
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
TrustLoopGuard SDK Bridge Demo. Uses httpRequest. Event-driven trigger; 4 nodes.
Source: https://github.com/ducnguyen67201/TrustLoopGuard/blob/19d8c482c5965e8d0cfc036d53d162b1db4c4ff1/demo/n8n/workflow.json — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
This workflow allows you to import any workflow from a file or another n8n instance and map the credentials easily. A multi-form setup guides you through the entire process At the beginning you have t
[n8n] Advanced URL Parsing and Shortening Workflow - Switchy.io Integration. Uses splitInBatches, stickyNote, httpRequest, html. Event-driven trigger; 56 nodes.
[](https://youtu.be/c7yCZhmMjtI)
This automation organizes your n8n workflows files into categorizes (Active, Template, Done, Archived) and uploads them directly to a categorized Google Drive folders. It is designed to help users man
Create Animated Stories using GPT-4o-mini, Midjourney, Kling and Creatomate API. Uses httpRequest. Event-driven trigger; 51 nodes.