Commands and system events

Commands and system events are the two mechanisms for communicating beyond the current skill script — sending instructions to external connectors (commands) and signaling between agents and flows (system events). Together, they enable your AI Employee to make phone calls, set timers, send SMS messages, trigger webhooks, and coordinate multi-step workflows.

Articles in this section

ArticleDescription
SendCommand referenceComplete reference for all command identifiers — making calls, setting timers, sending messages, HTTP requests, call transfers, and more.
System events and event-driven architectureHow to emit custom events with SendSystemEvent(), subscribe to events in flow YAML, and build event-driven workflows for inter-flow and inter-agent communication.

Commands vs. system events

MechanismPurposeDirection
SendCommand()Send an instruction to an external connector (voice, SMS, timer, HTTP).Skill → Connector
SendSystemEvent()Emit a custom event that other flows and agents can subscribe to.Skill → Event system → Subscribing skills

Changelog

Commands and system events: initial publication

Published subsection overview page for the Commands and System Events developer guides.