Mattermost 节点(Mattermost node)#
使用 Mattermost 节点在 Mattermost 中自动化工作,并将 Mattermost 与其他应用集成。n8n 内置支持广泛的 Mattermost 功能,包括创建、删除和获取通道及用户,以及发送消息和添加表情反应。
🌐 Use the Mattermost node to automate work in Mattermost, and integrate Mattermost with other applications. n8n has built-in support for a wide range of Mattermost features, including creating, deleting, and getting channels, and users, as well as posting messages, and adding reactions.
本页列出了 Mattermost 节点支持的操作列表以及更多资源的链接。
🌐 On this page, you'll find a list of operations the Mattermost node supports and links to more resources.
凭证
请参阅 Mattermost 凭据 以了解有关设置身份验证的指南。
This node can be used as an AI tool
This node can be used to enhance the capabilities of an AI agent. When used in this way, many parameters can be set automatically, or with information directed by AI - find out more in the AI tool parameters documentation.
操作(Operations)#
- 通道
- 将用户添加到通道
- 创建新通道
- 软删除通道
- 获取通道成员页面。
- 恢复软删除的通道
- 搜索通道
- 获取通道统计信息
- 消息
- 通过在数据库中将帖子标记为已删除,实现软删除。
- 向通道发布消息
- 向通道发布临时消息
- 回复
- 对帖子添加反应。
- 从帖子中移除回复
- 获取对一个或多个帖子的所有反应
- 用户
- 创建新用户
- 通过归档用户对象来停用用户并撤销其所有会话。
- 检索所有用户
- 通过邮箱获取用户
- 通过 ID 获取用户
- 邀请用户加入团队
模板和示例(Templates and examples)#
相关资源(Related resources)#
有关该服务的更多信息,请参考 Mattermost 的文档。
🌐 Refer to Mattermost's documentation for more information about the service.
What to do if your operation isn't supported#
If this node doesn't support the operation you want to do, you can use the HTTP Request node to call the service's API.
You can use the credential you created for this service in the HTTP Request node:
- In the HTTP Request node, select Authentication > Predefined Credential Type.
- Select the service you want to connect to.
- Select your credential.
Refer to Custom API operations for more information.
通道 ID 字段错误(Channel ID field error)#
如果你不是系统管理员,你可能会遇到错误:从服务器加载参数选项时出现问题:Mattermost 错误响应:你没有适当的权限。出现在通道 ID字段旁。
🌐 If you're not the System Administrator, you might get an error: there was a problem loading the parameter options from server: "Mattermost error response: You do not have the appropriate permissions. next to the Channel ID field.
请向系统管理员申请 post:channel 权限。
🌐 Ask your system administrator to grant you the post:channel permission.
查找通道 ID(Find the channel ID)#
要查找 Mattermost 中的通道 ID:
🌐 To find the channel ID in Mattermost:
- 从左侧边栏选择通道。
- 选择顶部的通道名称。
- 选择 查看信息。