飞书 Trigger icon

飞书 Trigger

通过 WebSocket 监听飞书事件,当事件发生时启动工作流

飞书 Trigger

AI-generated

Summary

Listens for selected Feishu events over a WebSocket connection and starts the workflow with each event’s parsed data. Configure the required Feishu API credentials and choose one or more events to subscribe to; each Feishu app can have only one Trigger running at a time.

Inputs

  • authentication — Authentication method; the only option is Tenant Access Token credentials.
  • events (required) — Select one or more event types, or “All events” to receive any event. Options include messages, chats, reactions, files and bitable changes, card interactions, link previews, contact changes, and approval status changes.
  • responseMode — Choose whether to respond immediately or use a 飞书响应 node for synchronous responses. The response node mode applies to card interaction and link preview events; the Trigger waits up to 3 seconds for the response node.

Output shape

A stream of workflow items, one per received event; each item contains the parsed event data.

The Trigger connects and listens while the workflow is active, and stops the connection when it closes. For manual execution, it starts listening when manually triggered. Events requiring a synchronous response may return an empty response if the response node is missing, errors, or takes longer than 3 seconds.

Links

Discussion