Contradiction_detection_agent
Configured with HTTP Request, Postgres. Review the connections and setup before adapting this template.
Node categories in this workflow
- Trigger
- Transform
- Data store
- Code
- Routing
- Web / API
Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.
Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.
How it works
The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.
| Node | Category | Type | Operation |
|---|---|---|---|
| Manual Trigger | Trigger | Manual Trigger | See node parameters |
| Set Company Input | Transform | Edit Fields | See node parameters |
| DB: Fetch Earnings Guidance Signals | Data store | Postgres | executeQuery |
| DB: Fetch Risk Admissions | Data store | Postgres | executeQuery |
| DB: Fetch QA Pressure Map | Data store | Postgres | executeQuery |
| DB: Fetch News Signals | Data store | Postgres | executeQuery |
| DB: Fetch Tech Stack Signals | Data store | Postgres | executeQuery |
| Aggregate All Signals | Code | Code | See node parameters |
| Run Pattern Detection Engine | Code | Code | See node parameters |
| Build Groq Prompt | Code | Code | See node parameters |
| LLM Needed? | Routing | If | See node parameters |
| Groq: Analyse Contradictions | Web / API | HTTP Request | POST |
| Process Groq Response | Code | Code | See node parameters |
| No-Flag Passthrough | Code | Code | See node parameters |
| DB: Insert Contradiction Report | Data store | Postgres | executeQuery |
| Fan Out Flags | Code | Code | See node parameters |
| DB: Insert Contradiction Flag | Data store | Postgres | executeQuery |
| Build Final Report | Code | Code | See node parameters |
| Execute a SQL query | Data store | Postgres | executeQuery |
| Execute a SQL query1 | Data store | Postgres | executeQuery |
| Execute a SQL query2 | Data store | Postgres | executeQuery |
| Execute a SQL query3 | Data store | Postgres | executeQuery |
| HTTP Request | Web / API | HTTP Request | See node parameters |
| Process News Response | Code | Code | See node parameters |
| DB: Save News Signals | Data store | Postgres | executeQuery |
| Merge | Transform | Merge | See node parameters |
Setup
- Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
- Connect your own credentials through n8n’s credential store. Replace
REPLACE_WITH_*values with your resource identifiers. - Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
- Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.
Requirements
An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.
Credential types declared in the source
postgres
Workflow notes
Contradiction_detection_agent
Contradiction_detection_agent
Purpose and structure
This folder contains the Contradiction_detection_agent workflow. Its executable nodes use code, httpRequest, if, manualTrigger, merge, postgres, set. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.
Setup
Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.
Entry points
Manual Trigger
Verification
Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.
Attribution
Nik Bear Brown; rights confirmed 2026-10-19 MIT; preserve source notices.