ComfyUI  >  Nodes  >  comfyui_LLM_party >  企业微信工具(work_wechat_tool)

ComfyUI Node: 企业微信工具(work_wechat_tool)

Class Name

work_wechat_tool

Category
大模型派对(llm_party)/工具(tools)
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

企业微信工具(work_wechat_tool) Description

Automate sending messages to WeChat Work channels for streamlined communication and efficient notifications.

企业微信工具(work_wechat_tool):

The work_wechat_tool is designed to facilitate the sending of messages to WeChat Work, a popular enterprise communication platform. This tool allows you to automate the process of sending notifications or updates directly to your WeChat Work channels, making it an invaluable asset for maintaining seamless communication within your organization. By leveraging this tool, you can send messages in either text or markdown format, ensuring that your content is both flexible and visually appealing. The primary goal of this node is to streamline the communication process, reduce manual effort, and ensure that important information is promptly delivered to the intended recipients.

企业微信工具(work_wechat_tool) Input Parameters:

is_enable

This parameter is a boolean that determines whether the tool is active or not. When set to True, the tool will execute and send the message to WeChat Work. If set to False, the tool will not perform any action. The default value is True.

msgtype

This parameter specifies the type of message to be sent. It supports two options: text and markdown. The default value is markdown, which allows for more formatted and visually rich messages. Choosing text will send plain text messages.

url

This optional parameter allows you to specify a custom webhook URL for WeChat Work. If not provided, the tool will use the default URL configured in the API keys. This parameter is useful if you need to send messages to different WeChat Work channels or accounts.

content

This required parameter is a string that contains the message content you wish to send. It supports markdown formatting, allowing you to create rich text messages with various styles and elements. The default value is "hello world".

企业微信工具(work_wechat_tool) Output Parameters:

tool

This output parameter is a string that represents the result of the tool's execution. It typically contains a JSON-formatted string that includes the function call details and parameters used during the execution. This output can be used for logging or further processing within your workflow.

企业微信工具(work_wechat_tool) Usage Tips:

  • Ensure that the is_enable parameter is set to True to activate the tool and send messages.
  • Use the msgtype parameter to choose between plain text and markdown messages based on your needs. Markdown is ideal for more formatted and visually appealing messages.
  • If you need to send messages to different WeChat Work channels, utilize the url parameter to specify the appropriate webhook URL.
  • Craft your message content carefully using the content parameter, taking advantage of markdown formatting to enhance readability and engagement.

企业微信工具(work_wechat_tool) Common Errors and Solutions:

Invalid URL

  • Explanation: The provided webhook URL is either incorrect or not reachable.
  • Solution: Verify the URL and ensure it is correctly formatted and accessible. If using the default URL, check the API keys configuration.

Message Content Too Long

  • Explanation: The message content exceeds the maximum allowed length for WeChat Work messages.
  • Solution: Shorten the message content to comply with WeChat Work's length restrictions.

Unsupported Message Type

  • Explanation: The msgtype parameter is set to an unsupported value.
  • Solution: Ensure the msgtype parameter is set to either text or markdown.

Tool Disabled

  • Explanation: The is_enable parameter is set to False, preventing the tool from executing.
  • Solution: Set the is_enable parameter to True to enable the tool and allow it to send messages.

企业微信工具(work_wechat_tool) 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.