Execution Core
Learn about trigger-based automation, conditional flows, and workflows.
The Execution Core transforms insights from the Intelligence Core into automated actions. Build workflows that respond to signals, patterns, and anomalies in real-time.
Performance: Workflows execute in under 50ms from trigger detection to action completion.
Triggers
Triggers define when a workflow should start executing:
Signal Trigger
Fire when a specific signal is received.
New transaction detectedPattern Trigger
Fire when a pattern is matched.
Volume spike detectedAnomaly Trigger
Fire when an anomaly is detected.
Unusual activity alertSchedule Trigger
Fire on a time-based schedule.
Every hour at :00Webhook Trigger
Fire when an external webhook is received.
API callback receivedManual Trigger
Fire when manually invoked.
User clicks button// Signal-based trigger
const trigger = {
type: 'signal',
source: 'solana-transactions',
filter: { minValue: 10000 }
}
// Pattern-based trigger
const trigger = {
type: 'pattern',
pattern: 'high-volume-alert',
confidence: 0.8
}
// Schedule-based trigger
const trigger = {
type: 'schedule',
cron: '0 * * * *' // Every hour
}Conditions
Add conditional logic to control workflow execution paths:
// Simple condition
const condition = {
field: 'signal.value',
operator: 'gt',
value: 10000
}
// Compound condition (AND)
const condition = {
and: [
{ field: 'signal.value', operator: 'gt', value: 10000 },
{ field: 'signal.token', operator: 'eq', value: 'SOL' }
]
}
// Compound condition (OR)
const condition = {
or: [
{ field: 'signal.type', operator: 'eq', value: 'transfer' },
{ field: 'signal.type', operator: 'eq', value: 'swap' }
]
}Available Operators
Actions
Actions define what happens when a workflow executes:
Webhook
Send HTTP request to external endpoint.
{ type: 'webhook', url: 'https://...', method: 'POST' }Notify
Send notification via configured channels.
{ type: 'notify', channel: 'telegram', message: '...' }Execute Module
Run a custom module with data.
{ type: 'module', id: 'my-module', input: {...} }Store Data
Save data to Wolvo storage.
{ type: 'store', collection: 'alerts', data: {...} }Delay
Wait before continuing.
{ type: 'delay', duration: '5s' }Multi-step Workflows
Combine triggers, conditions, and actions into complex workflows:
const workflow = await client.workflows.create({
name: 'Whale Alert Pipeline',
trigger: {
type: 'signal',
source: 'solana-transactions',
filter: { minValue: 100000 }
},
steps: [
// Step 1: Check if it's a known whale
{
type: 'condition',
condition: {
field: 'signal.from',
operator: 'in',
value: '@whaleWallets' // Reference stored list
},
onTrue: 'step_2',
onFalse: 'step_3'
},
// Step 2: Known whale - high priority alert
{
id: 'step_2',
type: 'action',
action: {
type: 'notify',
channel: 'telegram',
priority: 'high',
message: 'Known whale activity: {{signal.value}} SOL'
}
},
// Step 3: Unknown wallet - log and analyze
{
id: 'step_3',
type: 'action',
action: {
type: 'module',
id: 'wallet-analyzer',
input: { wallet: '{{signal.from}}' }
}
},
// Step 4: Store for analytics
{
type: 'action',
action: {
type: 'store',
collection: 'whale-transactions',
data: '{{signal}}'
}
}
]
})