← All N8N workflows
AI & researchAggregateCodeHTTP RequestManual TriggerMerge

ComparativeAnalysisAgent

Configured with Aggregate, HTTP Request, Loop Over Items. Review the connections and setup before adapting this template.

Workflow preview
TriggerWhen clicking ‘Executeworkflow’Manual TriggerCodePeer Company ListCodeTransformSubsectorEdit FieldsCodeStore Variables & KeysCodeWeb / APIFetch FinancialOverviewHTTP RequestWeb / APIFetch Financial TimeSeriesHTTP RequestTransformMergeMergeCodeCode in JavaScriptCodeRoutingLoop - NewsLoop Over ItemsWeb / APIHTTP RequestHTTP RequestCodeCode in Python (Beta)1CodeRoutingLoop Over ItemsLoop Over ItemsWeb / APIHTTP Request1HTTP RequestCodeCode in Python (Beta)CodeTransformAggregateAggregateTransformAggregate1Aggregate

Node categories in this workflow

  • Trigger
  • Code
  • Transform
  • Web / API
  • Routing

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
When clicking ‘Execute workflow’TriggerManual TriggerSee node parameters
Peer Company ListCodeCodeSee node parameters
SubsectorTransformEdit FieldsSee node parameters
Store Variables & KeysCodeCodeSee node parameters
Fetch Financial OverviewWeb / APIHTTP RequestSee node parameters
Fetch Financial Time SeriesWeb / APIHTTP RequestSee node parameters
MergeTransformMergeSee node parameters
Code in JavaScriptCodeCodeSee node parameters
Loop - NewsRoutingLoop Over ItemsSee node parameters
HTTP RequestWeb / APIHTTP RequestSee node parameters
Code in Python (Beta)1CodeCodeSee node parameters
Loop Over ItemsRoutingLoop Over ItemsSee node parameters
HTTP Request1Web / APIHTTP RequestSee node parameters
Code in Python (Beta)CodeCodeSee node parameters
AggregateTransformAggregateSee node parameters
Aggregate1TransformAggregateSee 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

None declared. HTTP requests and Code nodes may still need configuration.

Workflow notes

ComparativeAnalysisAgent

ComparativeAnalysisAgent

Purpose and structure

This folder contains the ComparativeAnalysisAgent workflow. Its executable nodes use aggregate, code, httpRequest, manualTrigger, merge, set, splitInBatches. 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

When clicking ‘Execute workflow’

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