Triggers
Trigger Types
1. Webhook Triggers
Webhook Structure
// Webhook triggerBody structure
{
body: any; // Request payload
headers: { // Request headers
'content-type': string;
'x-forwarded-for': string;
'user-agent': string;
// ... other headers
}
}Validate Webhook Input
Output Schema
2. Schedule Triggers
Cron Expression Format
Timezone Configuration
Trigger Event
TriggerEvent Interface
Event Lifecycle
Development Environment: Dashboard Messages
Extracting Session ID from Webhooks
Using parseSessionIdFromTrigger
Session ID in Trigger Events
Last updated