ComfyUI  >  Nodes  >  comfyui_LLM_party >  发送到飞书(send_to_feishu)

ComfyUI Node: 发送到飞书(send_to_feishu)

Class Name

feishu

Category
大模型派对(llm_party)/函数(function)
Author
heshengtao (Account age: 2893 days)
Extension
comfyui_LLM_party
Latest Updated
6/22/2024
Github Stars
0.1K

How to Install comfyui_LLM_party

Install this extension via the ComfyUI Manager by searching for  comfyui_LLM_party
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter comfyui_LLM_party in the search bar
After installation, click the  Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Cloud for ready-to-use ComfyUI environment

  • Free trial available
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

发送到飞书(send_to_feishu) Description

Facilitates sending messages to Feishu via webhook URL for automated notifications and updates.

发送到飞书(send_to_feishu):

The feishu node is designed to facilitate the sending of messages to Feishu, a popular collaboration and messaging platform. This node allows you to send text or image messages directly to Feishu using a webhook URL. It is particularly useful for integrating automated notifications or updates into your workflows, ensuring that important information is communicated efficiently. By leveraging this node, you can automate the process of sending messages, thereby saving time and reducing the need for manual intervention. The node supports both text and image message types, making it versatile for various use cases.

发送到飞书(send_to_feishu) Input Parameters:

content

This parameter specifies the content of the message you want to send. For text messages, it should be the text you wish to send. For image messages, it should be the key of the image. The default value is "hello world".

is_enable

This boolean parameter determines whether the node is enabled or not. If set to False, the node will not execute. The default value is True.

msgtype

This parameter specifies the type of message to be sent. It supports two options: "text" and "image". The default value is "text".

key_word

This optional string parameter allows you to specify a keyword that will be prepended to the message content. The default value is an empty string.

url

This optional string parameter allows you to specify a custom webhook URL for sending the message. If not provided, the node will use a default URL from the API keys.

发送到飞书(send_to_feishu)_app_id

This optional string parameter is used to specify the Feishu application ID, which is required for obtaining a tenant access token when sending image messages.

发送到飞书(send_to_feishu)_app_secret

This optional string parameter is used to specify the Feishu application secret, which is required for obtaining a tenant access token when sending image messages.

image

This optional parameter allows you to specify an image to be sent. The image will be processed and uploaded to Feishu, and its key will be used as the content for the message.

发送到飞书(send_to_feishu) Output Parameters:

tool

This output parameter returns a string indicating the status of the operation. It helps in understanding whether the message was successfully sent or if there were any issues during the process.

发送到飞书(send_to_feishu) Usage Tips:

  • Ensure that the is_enable parameter is set to True to activate the node.
  • Use the msgtype parameter to switch between text and image messages based on your needs.
  • If you are sending an image, make sure to provide the feishu_app_id and feishu_app_secret to obtain the necessary access token.
  • Customize the key_word parameter to prepend important keywords to your messages for better context and visibility.

发送到飞书(send_to_feishu) Common Errors and Solutions:

Failed to get Tenant Access Token

  • Explanation: This error occurs when the node is unable to obtain the tenant access token from Feishu.
  • Solution: Ensure that the feishu_app_id and feishu_app_secret are correctly provided and valid.

Invalid Webhook URL

  • Explanation: This error occurs when the provided webhook URL is invalid or empty.
  • Solution: Verify that the url parameter is correctly set and points to a valid Feishu webhook URL.

Message Content Missing

  • Explanation: This error occurs when the content parameter is empty or not provided.
  • Solution: Ensure that the content parameter is populated with the text or image key you wish to send.

Unsupported Message Type

  • Explanation: This error occurs when an unsupported message type is specified in the msgtype parameter.
  • Solution: Use only the supported message types: "text" or "image".

发送到飞书(send_to_feishu) Related Nodes

Go back to the extension to check out more related nodes.
comfyui_LLM_party
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.