Execute Workflow Node

Call a published indie.money sub-agent from within your workflow. Dual billing applies.

Written By pvdyck

Last updated 22 minutes ago

Execute Workflow Node

The Execute Workflow node calls another published indie.money agent (sub-workflow) and waits for its result.

Parameters (n8n Standard)

ParameterDescription
SourceWhere the sub-workflow is defined: Database (by ID), Local File, Parameter (inline JSON), or URL
Workflow IDThe ID of the sub-workflow to call (when source is Database)
ModeOnce (run the sub-workflow once with all items) or Each (run once per input item)
Workflow InputsData passed from the parent workflow to the sub-workflow

How It Works on indie.money

The node makes an HTTP webhook call to the sub-agent's execution endpoint. The sub-agent runs, and its output is returned to the parent workflow. This is not a direct in-memory call.

Setup

  1. Publish the sub-workflow as a separate indie.money agent
  2. In the Create flow, map the sub-workflow's contract address at the "Link Sub-Services" step
  3. Producers who buy the parent agent may need to also buy and configure the sub-agent

Key Limitations

  • HTTP webhook call -- Executed via HTTP, not direct memory. Adds one HTTP round-trip of latency
  • Dual billing -- Producer is charged for both the parent and sub-agent execution prices
  • Published sub-service required -- The sub-agent must be a live, published indie.money agent
  • Sub-agent must be turned on and configured with credentials before calling

Related