Lark Trigger connects Lark message events to the Digital Expert workflow, enabling the trigger chain of “send a message in Lark, execute the Digital Expert in Xpert”.
Applicable scenarios
- Triggering a Digital Expert by @mentioning a bot in Lark group chats or direct chats
- Using enterprise IM as a unified entry for Digital Experts
- Mapping external message events into workflow inputs
Key configuration
Core configuration of Lark Trigger includes:enabled: whether the trigger is enabledintegrationId: Lark integration instance ID (required)
- Whether a valid Lark integration is selected.
- Whether the current integration is already bound to another Digital Expert (to avoid conflicts).
Runtime mechanism
- Publish phase: Write the
integrationId -> xpertIdbinding and register in-memory callbacks. - Message arrival phase: Locate the bound Digital Expert by
integrationId. - When callback is available: Build the handoff message directly and advance the current flow.
- When callback is unavailable (for example, after restart): Enter the persistent dispatch queue to guarantee no message loss.
Startup recovery strategy
Lark Trigger usesbootstrap.mode = skip:
- It does not replay
publishat startup. - It relies on persistent bindings and external message events to resume processing.
Related features
- Trigger node overview: Workflow Trigger
- Multi-channel access for Digital Expert: Digital Expert
- Lark plugin and integration background: Lark Plugin Docs
- Source code: xpert-plugins / lark integration