Nodes/comfyui_LLM_party/Send to Feishu
ComfyUI Node

Send to Feishu

The quick webhook alert node, no bot app required

By heshengtao·Created 2 years ago·Updated 7 days ago· 2,321
Send to Feishu
  • image
    contenthello world
    is_enabletrue
    msgtypetext
    key_word
    url
    feishu_app_id
    feishu_app_secret

    Feishu (飞书, sold internationally as Lark) is ByteDance's enterprise chat and collaboration app - the Slack/Teams equivalent that's dominant across Chinese companies. This pack devotes a whole family of nodes to it, and this one is the lightweight member: post a message into a Feishu group without registering a full bot application first. If you just want "ping a channel when this workflow finishes," this is the node, not the heavier FeishuSendMsg one further down the pack's App Link category.

    What it does

    content is the message text (default "hello world", which is obviously a placeholder, not something to ship). msgtype picks between text and image. key_word is required and it's not decorative: Feishu's simplest bot integration - the "custom bot" you add to a single group - is secured by a keyword the group owner sets when creating the webhook, and Feishu rejects messages that don't contain it. This field is that keyword, and it has to match exactly what your Feishu group's bot settings require or the message gets silently dropped on Feishu's end, not ComfyUI's.

    Optional image and url cover the image-message path, and optional feishu_app_id/feishu_app_secret are there because sending an actual image over Feishu's webhook isn't as simple as sending text - Feishu's webhook API can't take a raw image attachment directly, so an image message needs to go through the app-based media-upload API first to get an image reference the webhook can then point at. That's the likely reason those app credentials show up as optional here: skip them for text messages, you'll need them for image. No outputs - this is a fire-and-forget notification node.

    Where it fits

    This is the pack's simplest App Link integration, and a natural pairing with feishu_tool (the version of this same idea wrapped as a callable tool for an LLM agent, so the agent decides when to notify rather than it happening every run). If you need to read messages back, download attachments, or address a specific user instead of a group, that's FeishuSendMsg, FeishuGetHistory, and the Feishu download nodes - all of which use the heavier app-credential auth instead of a webhook keyword, because they need real API access rather than a one-way webhook post.

    Installing it

    Standard pack install:

    • ComfyUI Manager: search "comfyui_LLM_party", install, restart.
    • Manual: cd ComfyUI/custom_nodes && git clone https://github.com/heshengtao/comfyui_LLM_party, then pip install -r requirements.txt from inside the pack folder using ComfyUI's Python, then restart.

    Getting Feishu's own side set up is separate from installing this node: in the target Feishu group, add a "custom bot," which is what generates the webhook this node posts to and the security keyword you'll put in key_word.

    Common issues & troubleshooting

    Message never arrives, no error in ComfyUI. The single most common cause with Feishu custom bots is a key_word mismatch - the message text has to actually contain the exact keyword the group's bot settings require, or Feishu silently rejects it without ComfyUI seeing an error, since as far as the HTTP call is concerned the request went through fine.

    Image messages fail but text works. Check feishu_app_id/feishu_app_secret are actually filled in - plain webhook posting can't carry an image payload on its own, and without valid app credentials there's no way for this node to get Feishu the image reference it needs.

    Need to notify a specific person rather than a group. This node is built around the group webhook pattern; for direct messages to an individual user, or for reading history and downloading attachments, use FeishuSendMsg and this pack's other Feishu bot nodes, which are built on the app-credential path rather than a webhook.

    Category大模型派对(llm_party)/APP链接(app link)

    Inputs (8)

    NameTypeDefaultDescription
    contentSTRINGhello world
    is_enableBOOLEANtrue
    msgtypeCOMBOtext2 options: text, image
    key_wordSTRING
    imageoptIMAGE
    urloptSTRING
    feishu_app_idoptSTRING
    feishu_app_secretoptSTRING

    Outputs (0)

    No outputs