Integration vs Trigger
External IM access is usually split into two objects:- Integration: stores platform credentials, callback URLs, long-connection settings, and runtime status. It connects Xpert AI to the external platform.
- Trigger: lives in a Digital Expert workflow. It binds one integration to the current Digital Expert and controls session timeout, message aggregation, and routing.
Scope of this section
Design highlights
Trigger plugins typically implement the following capabilities:- Trigger metadata (
meta): Used to display trigger name, icon, and config form in the frontend. - Configuration validation (
validate): Checks required fields and binding conflicts before publishing. - Publish and stop (
publish / stop): Registers and releases trigger runtime resources. - Bootstrap recovery strategy (
bootstrap): Controls whether triggers recover automatically after system restart.
Related features
- Workflow trigger concepts and node description: Trigger
- Multi-entry access for Digital Expert: Digital Expert
- Plugin system overview: Plugin Overview