Configuring Resources
Resources are the workhorses of your workflow. Each resource represents an x402 endpoint with specific inputs and outputs.
Opening the Configuration Panel
Double-click any Resource node to open its configuration panel. You'll see:
- Resource Info: Name, description, and price
- Required Inputs: Fields that must be filled
- Optional Inputs: Additional parameters
- Linked Inputs: Data from upstream nodes
Input Types
Static Values
Type values directly into input fields. These remain constant every time the workflow runs.
Prompt: "Generate a professional headshot"
Style: "minimalist"
Linked Inputs
Use outputs from upstream nodes. This creates dynamic workflows where data flows between resources.
- Click the link icon next to an input field
- Select an upstream node from the dropdown
- Choose which output field to use
Prompt: {{trigger.input}}
Context: {{briefputer.brief}}
Dynamic Templates
Combine static text with linked values using template syntax:
Create an image of {{trigger.subject}} in {{trigger.style}} style
Testing Resources
Before running a full workflow, you can test individual resources:
- Open the resource configuration
- Fill in all required inputs
- Click Try It button
- View the response in the preview panel
Note: Testing a resource will charge the resource fee.
Resource States
Configured
All required inputs are filled. The node shows a checkmark and is ready to execute.
Incomplete
Missing required inputs. The node shows a warning indicator. Double-click to complete configuration.
Error
Configuration is invalid. Check the error message and fix the inputs.
Common Patterns
Pass-Through Data
Send the same data to multiple downstream resources:
[Trigger: prompt]
↓
[Resource A: prompt = trigger.prompt]
↓
[Resource B: prompt = trigger.prompt, context = resourceA.output]
Chain Outputs
Each resource builds on the previous output:
[Trigger] → [Brief Generator] → [Image Generator] → [Post Publisher]
↓ ↓ ↓
creates brief uses brief uses image URL
Conditional Logic
Use Transform nodes to conditionally pass data:
// In Transform node
if (input.sentiment === "positive") {
return { route: "celebrate" };
} else {
return { route: "console" };
}
Saving Configuration
- Click Save to apply changes and close the panel
- Press Escape to cancel changes
- Changes auto-save when you click outside the panel