Lark Webhook Trigger
AI-generatedSummary
Listen for specified Lark events by receiving webhook callbacks from Lark and trigger the workflow upon those events.
Inputs
- Events (required) — Select one or more Lark events to listen for. Use this node's webhook URL as the Request URL in Lark developer console's Event Subscriptions to receive event callbacks.
Output shape
a JSON array containing an object with 'event' set to the event type string and 'data' holding the event payload.
If the incoming request is a Lark 'challenge' request, the node responds with the challenge token without triggering the workflow. Otherwise, if an event matching a selected event type is received, the workflow is triggered delivering the event data. Multiple events can be selected, and the node handles verifying and decrypting incoming webhook data using credentials containing the encryption key.
Examples
Example 1: Trigger workflow on incoming Lark message events
Select 'im.message.receive_v1' from 'Events', copy the webhook URL to Lark developer console's Event Subscriptions for message receive events. When a message is received in Lark, the workflow triggers with the message event data.