Lark Trigger
AI-generatedSummary
Listen for specified Lark platform events and trigger the workflow when those events occur.
Inputs
- Events (required) — Select one or more Lark events to listen for. Requires that long-connection mode is enabled for the app in Lark's developer console under Event Subscriptions.
Output shape
a stream of JSON arrays, each containing an object with 'event' (the event type string) and 'data' (the event payload) triggered on the Lark events selected.
This trigger node does not have workflow inputs and outputs event data whenever the selected Lark events occur. It requires Lark Tenant API credentials with appId, appSecret, and encryptKey. The trigger maintains a WebSocket connection to receive events and emits data accordingly. If no events are selected, the node throws an error at runtime.
Examples
Example 1: Trigger workflow on receiving a new instant message
Set 'Events' to 'im.message.receive_v1' to start the workflow whenever a new instant message is received on the Lark platform.