Skip to main content
FlowDrop exposes the same set of lifecycle callbacks through two surfaces:
  • The <App> component takes them as flat on* propsonBeforeSave, onAfterSave, onSaveError, onApiError, onWorkflowLoad, onBeforeSwap, onAfterSwap.
  • The mount options bag (mountFlowDropApp, mountWorkflowEditor) takes the grouped eventHandlers object, which additionally wires onWorkflowChange, onDirtyStateChange, and onBeforeUnmount.
Every handler is optional.

Workflow lifecycle

WorkflowChangeType values

Save lifecycle

Node swap

Error & cleanup

Agent Spec execution

Complete interface

For usage examples and patterns, see the Event System guide.