← All N8N workflows
AI & researchCodeHTTP RequestIfManual TriggerMerge

Contradiction_detection_agent

Configured with HTTP Request, Postgres. Review the connections and setup before adapting this template.

Workflow preview
TriggerManual TriggerManual TriggerTransformSet Company InputEdit FieldsData storeDB: Fetch EarningsGuidance SignalsPostgresData storeDB: Fetch RiskAdmissionsPostgresData storeDB: Fetch QA PressureMapPostgresData storeDB: Fetch News SignalsPostgresData storeDB: Fetch Tech StackSignalsPostgresCodeAggregate All SignalsCodeCodeRun Pattern DetectionEngineCodeCodeBuild Groq PromptCodeRoutingLLM Needed?IfWeb / APIGroq: AnalyseContradictionsHTTP RequestCodeProcess Groq ResponseCodeCodeNo-Flag PassthroughCodeData storeDB: InsertContradiction ReportPostgresCodeFan Out FlagsCodeData storeDB: InsertContradiction FlagPostgresCodeBuild Final ReportCodeData storeExecute a SQL queryPostgresData storeExecute a SQL query1PostgresData storeExecute a SQL query2PostgresData storeExecute a SQL query3PostgresWeb / APIHTTP RequestHTTP RequestCodeProcess News ResponseCodeData storeDB: Save News SignalsPostgresTransformMergeMerge

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.

Workflow node names, types, and operations
NodeCategoryTypeOperation
Manual TriggerTriggerManual TriggerSee node parameters
Set Company InputTransformEdit FieldsSee node parameters
DB: Fetch Earnings Guidance SignalsData storePostgresexecuteQuery
DB: Fetch Risk AdmissionsData storePostgresexecuteQuery
DB: Fetch QA Pressure MapData storePostgresexecuteQuery
DB: Fetch News SignalsData storePostgresexecuteQuery
DB: Fetch Tech Stack SignalsData storePostgresexecuteQuery
Aggregate All SignalsCodeCodeSee node parameters
Run Pattern Detection EngineCodeCodeSee node parameters
Build Groq PromptCodeCodeSee node parameters
LLM Needed?RoutingIfSee node parameters
Groq: Analyse ContradictionsWeb / APIHTTP RequestPOST
Process Groq ResponseCodeCodeSee node parameters
No-Flag PassthroughCodeCodeSee node parameters
DB: Insert Contradiction ReportData storePostgresexecuteQuery
Fan Out FlagsCodeCodeSee node parameters
DB: Insert Contradiction FlagData storePostgresexecuteQuery
Build Final ReportCodeCodeSee node parameters
Execute a SQL queryData storePostgresexecuteQuery
Execute a SQL query1Data storePostgresexecuteQuery
Execute a SQL query2Data storePostgresexecuteQuery
Execute a SQL query3Data storePostgresexecuteQuery
HTTP RequestWeb / APIHTTP RequestSee node parameters
Process News ResponseCodeCodeSee node parameters
DB: Save News SignalsData storePostgresexecuteQuery
MergeTransformMergeSee node parameters

Setup

  1. Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
  2. Connect your own credentials through n8n’s credential store. Replace REPLACE_WITH_* values with your resource identifiers.
  3. Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
  4. 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.

More in AI & research