首页
学习
活动
专区
圈层
工具
发布

🔥玩转OpenClaw|云上OpenClaw快速接入钉钉指南

{"type":"doc","content":[{"type":"highlightBlock","attrs":{"id":"13902bcd-44b2-4c36-940c-20a7853779b9","color":"","background":"rgba(230, 238, 251, 1)","border":"rgba(38, 111, 232, 1)","isHoverDragHandle":false},"content":[{"type":"text","text":"如果此时此刻您还不了解OpenClaw,或是了解但还没有开始部署OpenClaw,建议您先参考"},{"type":"text","marks":[{"type":"link","attrs":{"href":"https://cloud.tencent.com/developer/article/2624003","target":"_blank","rel":"noopener noreferrer nofollow","class":null}}],"text":"云上OpenClaw(原Clawdbot)一键秒级部署指南"},{"type":"text","text":"来完成OpenClaw接入钉钉之前的部署操作。"},{"type":"hardBreak","attrs":{"id":"bf32aebd-a905-471f-841e-8842efb62240"}},{"type":"hardBreak","attrs":{"id":"ac7aa8f8-e852-43d2-9af5-2934ee34be39"}},{"type":"text","text":"本文主要介绍如何在腾讯云轻量应用服务器Lighthouse中部署完成OpenClaw后,接入钉钉机器人。"}]},{"type":"heading","attrs":{"id":"26d29798-9121-4e60-b433-22644f083c48","textAlign":"inherit","indent":0,"level":1,"isHoverDragHandle":false},"content":[{"type":"text","text":"前置准备工作"}]},{"type":"paragraph","attrs":{"id":"5850cecb-de4d-438a-927d-2883ad3f602f","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"在正式开始为OpenClaw(原名Clawdbot,中文名俗称“龙虾”)配置接入钉钉机器人之前,请依次检查如下事项是否准备完成:"}]},{"type":"bulletList","attrs":{"id":"bd97995e-28f2-40d7-b400-ae96b4acd329","isHoverDragHandle":false},"content":[{"type":"listItem","attrs":{"id":"a8bdf336-56d2-4a3d-b9f9-e319dc6fd202"},"content":[{"type":"paragraph","attrs":{"id":"fca94e25-f8e6-4ad3-ba4b-08b34e01603d","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"您已经拥有一个具有企业管理员权限的钉钉账号(点击前往"},{"type":"text","marks":[{"type":"link","attrs":{"href":"https://open-dev.dingtalk.com/fe/app?hash=%23%2Fcorp%2Fapp#/corp/app","target":"_blank","rel":"noopener noreferrer nofollow","class":"link"}}],"text":"钉钉开发者平台"},{"type":"text","text":")。"}]}]},{"type":"listItem","attrs":{"id":"415b56e2-6cb1-4cf3-a554-d0d3441b0c36"},"content":[{"type":"paragraph","attrs":{"id":"6313d990-8017-4c82-98c2-99a4e55d3cdb","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"是否已经在轻量应用服务器Lighthouse实例中部署了OpenClaw,如果暂时还没有,建议:"}]},{"type":"bulletList","attrs":{"id":"1c12acfb-b5b4-4084-a31a-b2dcad820cc8","isHoverDragHandle":false},"content":[{"type":"listItem","attrs":{"id":"9036dc7a-217e-4a25-a2bc-804432779f74"},"content":[{"type":"paragraph","attrs":{"id":"91890e47-5214-4e88-ad54-e64136ca2096","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"如果您希望新购一台"},{"type":"text","marks":[{"type":"link","attrs":{"href":"https://cloud.tencent.com/product/lighthouse?from_column=20421&from=20421","target":"_blank","rel":"noopener noreferrer nofollow","class":"rno-markdown__textlink-new link"}}],"text":"Lighthouse"},{"type":"text","text":"服务器来安装运行OpenClaw,可以前往腾讯云Lighthouse产品的"},{"type":"text","marks":[{"type":"link","attrs":{"href":"https://buy.cloud.tencent.com/lighthouse","target":"_blank","rel":"noopener noreferrer nofollow","class":"link"}}],"text":"购买页"},{"type":"text","text":"选购,或者前往腾讯云"},{"type":"text","marks":[{"type":"link","attrs":{"href":"https://cloud.tencent.com/act/pro/lighthouse-moltbot","target":"_blank","rel":"noopener noreferrer nofollow","class":"link"}}],"text":"OpenClaw专属活动"},{"type":"text","text":"进行优惠下单。详细的部署和配置OpenClaw流程可参考"},{"type":"text","marks":[{"type":"link","attrs":{"href":"https://cloud.tencent.com/developer/article/2624003","target":"_blank","rel":"noopener noreferrer nofollow","class":"link"}}],"text":"云上OpenClaw(原Clawdbot)一键秒级部署指南"},{"type":"text","text":"。"}]}]},{"type":"listItem","attrs":{"id":"c1ee4406-91e0-4798-9450-257505ee2686"},"content":[{"type":"paragraph","attrs":{"id":"a675d982-8d13-4b58-8950-9fc33c3a2f79","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"textStyle","attrs":{"color":"","background":""}}],"text":"如果您使用OpenClaw应用模板创建Lighthouse服务器的"},{"type":"text","marks":[{"type":"textStyle","attrs":{"color":"rgb(51, 51, 51)","background":""}},{"type":"bold"}],"text":"时间早于2026年2月11日"},{"type":"text","marks":[{"type":"textStyle","attrs":{"color":"rgb(51, 51, 51)","background":""}}],"text":",建议参考教程更新版本"},{"type":"text","text":":"},{"type":"text","marks":[{"type":"link","attrs":{"href":"https://cloud.tencent.com/developer/article/2627964","target":"_blank","rel":"noopener noreferrer nofollow","class":"link"}}],"text":"如何更新服务器OpenClaw应用版本"},{"type":"text","text":"。"}]}]}]}]}]},{"type":"blockquote","attrs":{"id":"74f1c4b8-6cee-4edb-9be3-6045ed10721b","textAlign":"inherit","isHoverDragHandle":false},"content":[{"type":"paragraph","attrs":{"id":"1ff0c0ba-9460-448a-8c5b-8cbcbf9a9688","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"提示:云上OpenClaw接入钉钉场景推荐使用国内的服务器和模型服务。"}]}]},{"type":"heading","attrs":{"id":"0f921307-367f-4e47-8d50-131871f06c6f","textAlign":"inherit","indent":0,"level":1,"isHoverDragHandle":false},"content":[{"type":"text","text":"接入钉钉"}]},{"type":"highlightBlock","attrs":{"id":"2e251b62-735b-40c7-b1bc-d17b3bbf51d2","color":"","background":"rgba(230, 238, 251, 1)","border":"rgba(38, 111, 232, 1)","isHoverDragHandle":false},"content":[{"type":"text","text":"注意:以下步骤针对已在轻量应用服务器中部署OpenClaw,从零开始配置接入钉钉的情况,如果有部分步骤已完成,可酌情跳过。"}]},{"type":"heading","attrs":{"id":"3c31ebff-2e95-424a-957e-17e2b4dd5dbf","textAlign":"inherit","indent":0,"level":2,"isHoverDragHandle":false},"content":[{"type":"text","text":"配置钉钉应用"}]},{"type":"heading","attrs":{"id":"2630743a-d760-4a05-82ea-d1d7aaee36aa","textAlign":"inherit","indent":0,"level":3,"isHoverDragHandle":false},"content":[{"type":"text","text":"创建钉钉应用"}]},{"type":"paragraph","attrs":{"id":"eb0e183d-93dc-44c3-9dbc-91f400f73cb3","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"前往"},{"type":"text","marks":[{"type":"link","attrs":{"href":"https://open-dev.dingtalk.com/fe/app?hash=%23%2Fcorp%2Fapp#/corp/app","target":"_blank","rel":"noopener noreferrer nofollow","class":null}}],"text":"钉钉开发者平台"},{"type":"text","text":",使用具有管理员权限的账号登录平台。"}]},{"type":"paragraph","attrs":{"id":"ea4052d0-d4c8-4a97-8cff-37b8a1c7cf9f","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"在钉钉开发者平台进入“应用开发-钉钉应用”管理页面,点击"},{"type":"text","marks":[{"type":"bold"}],"text":"创建应用"},{"type":"text","text":",填写“应用名称”和“应用描述”。"}]},{"type":"image","attrs":{"id":"9db4f33a-9188-42c5-b9bb-eebd615e9507","src":"https://developer.qcloudimg.com/http-save/audit-8307438/9efa39874fdced1f0c4b9d2f7b9b90bf.png","extension":"png","align":"center","alt":"","showAlt":false,"href":"","boxShadow":"0px 4px 12px 0px rgba(115, 123, 137, 0.20)","width":1072,"aspectRatio":"2.640845","status":"success","showText":true,"isPercentage":false,"percentage":0,"isHoverDragHandle":false}},{"type":"heading","attrs":{"id":"341b19a1-1829-4cc9-b6b1-219a645ad3a4","textAlign":"inherit","indent":0,"level":3,"isHoverDragHandle":false},"content":[{"type":"text","text":"添加机器人"}]},{"type":"paragraph","attrs":{"id":"c4e0bc60-54ab-4d86-90d9-3ec778494de4","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"textStyle","attrs":{"color":"","background":""}}],"text":"选择上一步中创建的应用,为应用添加能力,选择"},{"type":"text","marks":[{"type":"bold"}],"text":"机器人"},{"type":"text","text":",点击"},{"type":"text","marks":[{"type":"bold"}],"text":"添加"},{"type":"text","text":"。"}]},{"type":"image","attrs":{"id":"86936e60-cd1e-4f8c-8c95-23189fa4f768","src":"https://developer.qcloudimg.com/http-save/audit-8307438/fb57cd8249a7fa91d487169df3c62e1a.png","extension":"png","align":"center","alt":"","showAlt":false,"href":"","boxShadow":"0px 4px 12px 0px rgba(115, 123, 137, 0.20)","width":1100,"aspectRatio":"2.272198","status":"success","showText":true,"isPercentage":false,"percentage":0,"isHoverDragHandle":false}},{"type":"heading","attrs":{"id":"9d5465fa-59b6-420d-b0e7-cee23bb55453","textAlign":"inherit","indent":0,"level":3,"isHoverDragHandle":false},"content":[{"type":"text","text":"配置机器人"}]},{"type":"paragraph","attrs":{"id":"48bc4ee0-38cb-4caf-9b6c-cd14322cee56","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"在“机器人配置”页面,填写所有的必填项,其他可选项保留默认值即可,随后点击"},{"type":"text","marks":[{"type":"bold"}],"text":"发布"},{"type":"text","text":"。"}]},{"type":"image","attrs":{"id":"861b1573-9355-46ef-8b88-2db5eb3e18bd","src":"https://developer.qcloudimg.com/http-save/audit-8307438/1cd5f0ff09f95bbc6be6e5ec011dbf96.png","extension":"png","align":"center","alt":"","showAlt":false,"href":"","boxShadow":"0px 4px 12px 0px rgba(115, 123, 137, 0.20)","width":1024,"aspectRatio":"1.666295","status":"success","showText":true,"isPercentage":false,"percentage":0,"isHoverDragHandle":false}},{"type":"paragraph","attrs":{"id":"16adf859-9b03-4de6-a394-74d5f2f20284","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"点击页面上方的"},{"type":"text","marks":[{"type":"bold"}],"text":"查看版本详情"},{"type":"text","marks":[{"type":"textStyle","attrs":{"color":"","background":""}}],"text":",点击"},{"type":"text","marks":[{"type":"bold"}],"text":"编辑"},{"type":"text","text":"图标开始进行编辑。"}]},{"type":"image","attrs":{"id":"3f7cb196-be2a-40d0-8cb5-9f4266aa8508","src":"https://developer.qcloudimg.com/http-save/audit-8307438/ebc680309302c8c63e4bb67e82252191.png","extension":"png","align":"center","alt":"","showAlt":false,"href":"","boxShadow":"0px 4px 12px 0px rgba(115, 123, 137, 0.20)","width":1100,"aspectRatio":"2.103774","status":"success","showText":true,"isPercentage":false,"percentage":0,"isHoverDragHandle":false}},{"type":"paragraph","attrs":{"id":"ee3e3a50-9d87-4b4a-bd6d-1e0edd9a8628","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"textStyle","attrs":{"color":"","background":""}}],"text":"完成所有必填项,"},{"type":"text","text":"另外在“应用可见范围(可选项)”中可以配置能添加这个钉钉机器人的员工范围。"},{"type":"text","marks":[{"type":"textStyle","attrs":{"color":"rgb(0, 0, 0)","background":""}}],"text":"点击"},{"type":"text","marks":[{"type":"bold"}],"text":"保存"},{"type":"text","marks":[{"type":"textStyle","attrs":{"color":"rgb(0, 0, 0)","background":""}}],"text":","},{"type":"text","text":"在弹出的窗口点击"},{"type":"text","marks":[{"type":"bold"}],"text":"确认发布"},{"type":"text","text":"。发布后版本详情将显示“已上线”。"}]},{"type":"image","attrs":{"id":"773f43d5-f1a0-45a8-893e-874b4f1b89bd","src":"https://developer.qcloudimg.com/http-save/audit-8307438/39020b1132893d219bf4aada0631ced7.png","extension":"png","align":"center","alt":"","showAlt":false,"href":"","boxShadow":"0px 4px 12px 0px rgba(115, 123, 137, 0.20)","width":1072,"aspectRatio":"2.199413","status":"success","showText":true,"isPercentage":false,"percentage":0,"isHoverDragHandle":false}},{"type":"image","attrs":{"id":"b4c0cd4e-0191-4b39-b7a7-2fb3fc0287bb","src":"https://developer.qcloudimg.com/http-save/audit-8307438/43aeb819a74ea02b880e359ad5840bae.png","extension":"png","align":"center","alt":"","showAlt":false,"href":"","boxShadow":"0px 4px 12px 0px rgba(115, 123, 137, 0.20)","width":548,"aspectRatio":"2.109705","status":"success","showText":true,"isPercentage":false,"percentage":0,"isHoverDragHandle":false}},{"type":"heading","attrs":{"id":"4e40ec6c-1ff2-4857-9071-e398888e3f56","textAlign":"inherit","indent":0,"level":3,"isHoverDragHandle":false},"content":[{"type":"text","text":"查询Client ID与Client Secret"}]},{"type":"paragraph","attrs":{"id":"d1267815-728d-42b9-9edc-24dc43025850","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"textStyle","attrs":{"color":"","background":""}}],"text":"进入“凭证与基础信息”页面,找到"},{"type":"text","marks":[{"type":"bold"}],"text":"Client ID与Client Secret"},{"type":"text","text":"两个参数,复制后将其保存到个人记事本或备忘录中(注意数据安全,勿泄露),后续步骤中需要使用。"}]},{"type":"image","attrs":{"id":"7a5fe061-f6e0-4d1b-bd56-7f47b58c44b1","src":"https://developer.qcloudimg.com/http-save/audit-8307438/5a0856cdbd903e9dcf319b4e4c3c1e51.png","extension":"png","align":"center","alt":"","showAlt":false,"href":"","boxShadow":"0px 4px 12px 0px rgba(115, 123, 137, 0.20)","width":1100,"aspectRatio":"1.796610","status":"success","showText":true,"isPercentage":false,"percentage":0,"isHoverDragHandle":false}},{"type":"heading","attrs":{"id":"c3647e3d-0dc6-4390-82dd-a7d58f80ee4e","textAlign":"inherit","indent":0,"level":2,"isHoverDragHandle":false},"content":[{"type":"text","text":"配置模型和通道"}]},{"type":"paragraph","attrs":{"id":"25c28675-3778-4ec7-9b5c-237e3c6b100e","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"接下来需要为已经完成部署的OpenClaw配置模型和通道(即OpenClaw channel,如钉钉)。"}]},{"type":"heading","attrs":{"id":"92a2b58a-2339-467f-904f-d7ab21daf77b","textAlign":"inherit","indent":0,"level":3,"isHoverDragHandle":false},"content":[{"type":"text","text":"进入腾讯云控制台"}]},{"type":"paragraph","attrs":{"id":"876e2234-dfc6-4eaf-b14c-c0dee746427e","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"textStyle","attrs":{"color":"rgb(0, 0, 0)","background":""}}],"text":"进入腾讯云"},{"type":"text","marks":[{"type":"link","attrs":{"href":"https://console.cloud.tencent.com/lighthouse","target":"_blank","rel":"noopener noreferrer nofollow","class":"link"}}],"text":"控制台"},{"type":"text","marks":[{"type":"textStyle","attrs":{"color":"rgb(0, 0, 0)","background":""}}],"text":",选中对应的已部署OpenClaw的Lighthouse服务器实例,点击服务器卡片进入“管理实例”页;"}]},{"type":"image","attrs":{"id":"031f51f6-d4e5-4cbd-800c-6ae6a7db9fea","src":"https://developer.qcloudimg.com/http-save/audit-8307438/4755bd5d09d20988077bf63e9d322bb6.png","extension":"png","align":"center","alt":"","showAlt":false,"href":"","boxShadow":"0px 4px 12px 0px rgba(115, 123, 137, 0.20)","width":729,"aspectRatio":"3.079365","status":"success","showText":true,"isPercentage":false,"percentage":0,"isHoverDragHandle":false}},{"type":"heading","attrs":{"id":"f3161a4f-9bb6-4f74-b47a-0268f02ffad7","textAlign":"inherit","indent":0,"level":3,"isHoverDragHandle":false},"content":[{"type":"text","text":"进入应用管理"}]},{"type":"paragraph","attrs":{"id":"ebe3ba2d-0a9d-4898-944f-d1aa87803ea5","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"进入腾讯轻量云Lighthouse应用管理页的配置面板;"}]},{"type":"image","attrs":{"id":"e9043575-b3e6-426b-aa32-dba4e7c5384c","src":"https://developer.qcloudimg.com/http-save/audit-8307438/b1cfbbc74f54eaa38c0e650dc877442e.png","extension":"png","align":"center","alt":"","showAlt":false,"href":"","boxShadow":"","width":1100,"aspectRatio":"1.798030","status":"success","showText":true,"isPercentage":false,"percentage":0,"isHoverDragHandle":false}},{"type":"heading","attrs":{"id":"82e29ab6-bc80-4ea3-9bf2-915cdda954e5","textAlign":"inherit","indent":0,"level":3,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"模型配置"}]},{"type":"paragraph","attrs":{"id":"82aac767-76cf-46f8-9258-442df168cd25","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"为OpenClaw配置模型API Key可以在轻量应用服务器Lighthouse产品"},{"type":"text","marks":[{"type":"link","attrs":{"href":"https://console.cloud.tencent.com/lighthouse","target":"_blank","rel":"noopener noreferrer nofollow","class":null}}],"text":"控制台"},{"type":"text","text":"的应用管理页面进行操作。详情可参考教程“"},{"type":"text","marks":[{"type":"link","attrs":{"href":"https://cloud.tencent.com/developer/article/2624003","target":"_blank","rel":"noopener noreferrer nofollow","class":"link"}}],"text":"云上OpenClaw(原Clawdbot)一键秒级部署指南"},{"type":"text","text":"-配置模型API Key”,此处不再赘述。"}]},{"type":"image","attrs":{"id":"6efbee22-65a0-4e6a-a4e7-96dc60ffce01","src":"https://developer.qcloudimg.com/http-save/audit-8307438/c9a485cfb37cb5888ce9805853225502.png","extension":"png","align":"center","alt":"","showAlt":false,"href":"","boxShadow":"","width":1100,"aspectRatio":"1.850000","status":"success","showText":true,"isPercentage":false,"percentage":0,"isHoverDragHandle":false}},{"type":"blockquote","attrs":{"id":"83f2c926-ea76-472b-b9fb-9f216a6e6642","textAlign":"inherit","isHoverDragHandle":false},"content":[{"type":"paragraph","attrs":{"id":"8428d519-959d-4a61-9a3f-5bd1dbc0447d","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"【实用技巧】验证模型配置是否生效"}]},{"type":"paragraph","attrs":{"id":"f178a7ea-9736-41a6-ab5a-b865f2591303","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"如果您担心模型配置未生效,可以登录轻量应用服务器并通过OpenClaw TUI工具进行验证。具体步骤可以参考教程“"},{"type":"text","marks":[{"type":"link","attrs":{"href":"https://cloud.tencent.com/developer/article/2624003","target":"_blank","rel":"noopener noreferrer nofollow","class":"link"}}],"text":"云上OpenClaw(原Clawdbot)一键秒级部署指南"},{"type":"text","text":"-使用TUI与OpenClaw进行交互”。"}]}]},{"type":"heading","attrs":{"id":"c3bb657a-bea2-4eae-8efd-e373fcf67cb1","textAlign":"inherit","indent":0,"level":3,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"通道配置(配置钉钉机器人Client ID与Client Secret)"}]},{"type":"paragraph","attrs":{"id":"1a604d74-62c4-478a-9c24-553d4416154e","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"textStyle","attrs":{"color":"rgb(0, 0, 0)","background":""}}],"text":"进入"},{"type":"text","text":"“应用管理”页签,在“通道配置”输入框,选择“钉钉”,并输入在前面步骤中获取的"},{"type":"text","marks":[{"type":"bold"}],"text":"Client ID与Client Secret"},{"type":"text","marks":[{"type":"textStyle","attrs":{"color":"","background":""}}],"text":",点击"},{"type":"text","marks":[{"type":"bold"}],"text":"添加并应用"},{"type":"text","text":"按钮,随后确定操作,"},{"type":"text","marks":[{"type":"textStyle","attrs":{"color":"rgb(0, 0, 0)","background":""}}],"text":"等待几秒后页面提示“保存成功”即完成配置,此时钉钉通道会显示“运行中”。"}]},{"type":"highlightBlock","attrs":{"id":"9897aace-dcc1-43ab-8ff2-a3f21558669e","color":"","background":"rgba(230, 238, 251, 1)","border":"rgba(38, 111, 232, 1)","isHoverDragHandle":false},"content":[{"type":"text","text":"提示:OpenClaw支持同一台服务器配置多个通道,例如支持同时接入钉钉机器人和飞书机器人。因此,如果当前正在配置的服务器之前已经接入了其他通道,也可以继续添加通道。"}]},{"type":"image","attrs":{"id":"cd3b8488-13c8-4390-b7e2-5ae4f28b849d","src":"https://developer.qcloudimg.com/http-save/audit-8307438/774157afc8cdde075ea2371e58c92e22.png","extension":"png","align":"center","alt":"","showAlt":false,"href":"","boxShadow":"0px 4px 12px 0px rgba(115, 123, 137, 0.20)","width":1100,"aspectRatio":"2.133784","status":"success","showText":true,"isPercentage":false,"percentage":0,"isHoverDragHandle":false}},{"type":"paragraph","attrs":{"id":"2deef5d6-3e9f-4d4d-943d-a8c1a1fa37c2","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"模型配置和通道配置都完成之后就初步完成了OpenClaw配置,继续后续步骤。"}]},{"type":"heading","attrs":{"id":"691d266e-a9ee-4120-9fee-fef772f05718","textAlign":"inherit","indent":0,"level":2,"isHoverDragHandle":false},"content":[{"type":"text","text":"与钉钉机器人互动"}]},{"type":"paragraph","attrs":{"id":"b8e6d084-684f-4b99-a94b-227fef89ff18","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"为OpenClaw配置钉钉机器人的"},{"type":"text","marks":[{"type":"bold"}],"text":"Client ID与Client Secret"},{"type":"text","marks":[{"type":"textStyle","attrs":{"color":"","background":""}}],"text":"之后,您可以在钉钉软件中尝试和已经打通OpenClaw的钉钉机器人进行单独聊天,或者将钉钉机器人添加进群聊。"}]},{"type":"heading","attrs":{"id":"5472e3d4-5f46-4b98-98e2-aac42f7e529f","textAlign":"inherit","indent":0,"level":4,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"私聊场景"}]},{"type":"paragraph","attrs":{"id":"9c4e4644-4fa0-41b0-bf3a-e492a8013728","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"首先在钉钉软件的搜索框中,输入前面步骤中创建的钉钉机器人的“应用名称”,添加之后即可开始对话。如果钉钉机器人能够以AI的方式对话,则说明您已经成功完成OpenClaw应用接入钉钉机器人。"}]},{"type":"paragraph","attrs":{"id":"81d9598c-0839-453f-bb45-2207e1c07b46","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false}},{"type":"image","attrs":{"id":"7a5ef80b-70c4-4cc3-82d3-e464a8592a44","src":"https://developer.qcloudimg.com/http-save/audit-8307438/88d718e81342db47703d88a8efb5dda0.png","extension":"png","align":"center","alt":"","showAlt":false,"href":"","boxShadow":"0px 4px 12px 0px rgba(115, 123, 137, 0.20)","width":437,"aspectRatio":"0.948718","status":"success","showText":true,"isPercentage":false,"percentage":0,"isHoverDragHandle":false}},{"type":"heading","attrs":{"id":"fe0614a3-9e13-4cb1-a8fc-913b8e84d22d","textAlign":"inherit","indent":0,"level":4,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"群聊场景"}]},{"type":"paragraph","attrs":{"id":"d4ff3d6d-a716-4c92-becf-3afaaa5bfc08","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"以桌面版钉钉软件为示例,选择某个群聊(目前支持钉钉内部群和外部群),点击对话框右上角“群设置”按钮。"}]},{"type":"image","attrs":{"id":"2cec7568-6c74-4162-a92d-847d1347b4b0","src":"https://developer.qcloudimg.com/http-save/audit-8307438/c71dae61c471ed895d0355e9314a2597.png","extension":"png","align":"center","alt":"","showAlt":false,"href":"","boxShadow":"0px 4px 12px 0px rgba(115, 123, 137, 0.20)","width":424,"aspectRatio":"1.085271","status":"success","showText":true,"isPercentage":false,"percentage":0,"isHoverDragHandle":false}},{"type":"paragraph","attrs":{"id":"c4a399a4-559a-459a-afe3-43f5278edf89","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"点击"},{"type":"text","marks":[{"type":"bold"}],"text":"机器人"},{"type":"text","text":"选项,再点击"},{"type":"text","marks":[{"type":"bold"}],"text":"添加机器人"},{"type":"text","text":"。"}]},{"type":"image","attrs":{"id":"dc4bf4d4-9634-4e74-9b0d-862bab511400","src":"https://developer.qcloudimg.com/http-save/audit-8307438/ca692e85b6941a935fb13a3f1391418e.png","extension":"png","align":"center","alt":"","showAlt":false,"href":"","boxShadow":"0px 4px 12px 0px rgba(115, 123, 137, 0.20)","width":1100,"aspectRatio":"1.705357","status":"success","showText":true,"isPercentage":false,"percentage":0,"isHoverDragHandle":false}},{"type":"paragraph","attrs":{"id":"234ea660-92fa-4f8e-9e71-20f0a1a5f5c4","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"在搜索框中输入之前步骤创建的钉钉机器人名称,点击"},{"type":"text","marks":[{"type":"bold"}],"text":"添加"},{"type":"text","text":"机器人,将钉钉机器人添加进群。"}]},{"type":"image","attrs":{"id":"7d6c7146-a986-454f-9494-70ac088db43a","src":"https://developer.qcloudimg.com/http-save/audit-8307438/c3f2b73b6cdbf4b4396612e767cf1ddb.png","extension":"png","align":"center","alt":"","showAlt":false,"href":"","boxShadow":"0px 4px 12px 0px rgba(115, 123, 137, 0.20)","width":390,"aspectRatio":"1.109215","status":"success","showText":true,"isPercentage":false,"percentage":0,"isHoverDragHandle":false}},{"type":"paragraph","attrs":{"id":"dbddd64f-8e58-41d1-af99-ad93bd0ab40f","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"钉钉机器人成功进群后,群里成员可通过“@机器人”的方式与其进行对话。正常情况下,钉钉机器人能够以AI的方式在群聊中进行对话。"}]},{"type":"image","attrs":{"id":"0eaa1afe-db00-433d-b15c-a08af942aad1","src":"https://developer.qcloudimg.com/http-save/audit-8307438/c5746f201804d269432c430c79f3d166.png","extension":"png","align":"center","alt":"","showAlt":false,"href":"","boxShadow":"","width":395,"aspectRatio":"0.872283","status":"success","showText":true,"isPercentage":false,"percentage":0,"isHoverDragHandle":false}},{"type":"heading","attrs":{"id":"7e1da237-eee2-44fe-908b-89cb8cc2062a","textAlign":"inherit","indent":0,"level":1,"isHoverDragHandle":false},"content":[{"type":"text","text":"支持的消息类型"}]},{"type":"paragraph","attrs":{"id":"66c46f4c-5418-4394-ac78-31af6f532096","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"基于前述步骤将OpenClaw接入钉钉后,钉钉机器人除了能够接收、回复基础的文本信息外,还支持更多消息类型,详情如下表所示:"}]},{"type":"table","attrs":{"id":"fd636983-7513-4312-873a-a626d430d687","isHoverDragHandle":false},"content":[{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1,"colwidth":[520],"background":null,"color":null,"textAlign":null,"style":null},"content":[{"type":"paragraph","attrs":{"id":"5a8d65f4-b31f-44db-b078-51b29f57ddcb","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"钉钉机器人支持功能"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"background":null,"color":null,"textAlign":null,"style":null},"content":[{"type":"paragraph","attrs":{"id":"a8a9fa09-b997-4a14-86b3-4a04dba313c2","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","marks":[{"type":"bold"}],"text":"是否支持"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1,"colwidth":[520],"background":null,"color":null,"textAlign":null,"style":null},"content":[{"type":"paragraph","attrs":{"id":"993d085e-59c5-4754-b149-8b2dc2a1534e","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"接收文本消息"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"background":null,"color":null,"textAlign":null,"style":null},"content":[{"type":"paragraph","attrs":{"id":"28259c60-2d04-4065-bf6c-230e4bd58ce6","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"✅ 已支持"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1,"colwidth":[520],"background":null,"color":null,"textAlign":null,"style":null},"content":[{"type":"paragraph","attrs":{"id":"53fa5d53-0368-45f8-a1a2-88b8e9e4bdfc","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"接收语音消息"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"background":null,"color":null,"textAlign":null,"style":null},"content":[{"type":"paragraph","attrs":{"id":"df3ef4f9-1114-491a-ae75-bd97d794d20a","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"✅ 已支持"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1,"colwidth":[520],"background":null,"color":null,"textAlign":null,"style":null},"content":[{"type":"paragraph","attrs":{"id":"8fa71bee-30c0-4d7b-af27-c2909ccc2896","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"接收图片"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"background":null,"color":null,"textAlign":null,"style":null},"content":[{"type":"paragraph","attrs":{"id":"e39fce65-220f-4fd1-bad4-fc70bf139b23","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"✅ 已支持"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1,"colwidth":[520],"background":null,"color":null,"textAlign":null,"style":null},"content":[{"type":"paragraph","attrs":{"id":"aa749dd3-8925-43c1-9cdf-ae7448b12f9d","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"接收文件"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"background":null,"color":null,"textAlign":null,"style":null},"content":[{"type":"paragraph","attrs":{"id":"a013150a-a5fd-441d-a4ff-08aa38df4057","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"✅ 已支持"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1,"colwidth":[520],"background":null,"color":null,"textAlign":null,"style":null},"content":[{"type":"paragraph","attrs":{"id":"9680ba4b-fbdd-4873-9d98-9ce6f25a6bbf","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"回复文本消息"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"background":null,"color":null,"textAlign":null,"style":null},"content":[{"type":"paragraph","attrs":{"id":"253e5904-c5c2-4d7b-ba48-5b5b67e3af78","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"✅ 已支持"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1,"colwidth":[520],"background":null,"color":null,"textAlign":null,"style":null},"content":[{"type":"paragraph","attrs":{"id":"4cbba39e-a135-4e03-bd8d-3e67e9b6dc7b","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"回复图片"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"background":null,"color":null,"textAlign":null,"style":null},"content":[{"type":"paragraph","attrs":{"id":"1e8c7d59-3a59-41fd-bc78-a2dd60ac3a85","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"✅ 已支持"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1,"colwidth":[520],"background":null,"color":null,"textAlign":null,"style":null},"content":[{"type":"paragraph","attrs":{"id":"daf4be3b-7a53-427f-964f-67efce46dda4","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"回复文件"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"background":null,"color":null,"textAlign":null,"style":null},"content":[{"type":"paragraph","attrs":{"id":"7f43b77c-64a4-42ea-87a1-bf26fd7431ff","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"✅ 已支持"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1,"colwidth":[520],"background":null,"color":null,"textAlign":null,"style":null},"content":[{"type":"paragraph","attrs":{"id":"000a47b7-9b1e-426e-9da2-c603b974c565","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"回复内容支持Markdown格式"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"background":null,"color":null,"textAlign":null,"style":null},"content":[{"type":"paragraph","attrs":{"id":"0c5b6398-35f9-4719-a5ba-7466a1aafec0","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"✅ 已支持"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1,"colwidth":[520],"background":null,"color":null,"textAlign":null,"style":null},"content":[{"type":"paragraph","attrs":{"id":"9a43d0d7-0c71-43e8-97bf-e86141fcdb65","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"主动发送消息(如定时发送提醒)"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"background":null,"color":null,"textAlign":null,"style":null},"content":[{"type":"paragraph","attrs":{"id":"820c30a3-d387-4aea-9968-4334cc81cb30","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"✅ 已支持"}]}]}]},{"type":"tableRow","content":[{"type":"tableCell","attrs":{"colspan":1,"rowspan":1,"colwidth":[520],"background":null,"color":null,"textAlign":null,"style":null},"content":[{"type":"paragraph","attrs":{"id":"9b62e70d-b578-4725-add8-ba993e37e1e4","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"历史消息引用"}]}]},{"type":"tableCell","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"background":null,"color":null,"textAlign":null,"style":null},"content":[{"type":"paragraph","attrs":{"id":"95af27a5-66cd-483c-8cbe-a59c44b79db0","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"🚧 即将支持"}]}]}]}]},{"type":"highlightBlock","attrs":{"id":"eb208803-7a00-4e39-9c55-45c6910ca6a2","color":"","background":"rgba(230, 238, 251, 1)","border":"rgba(38, 111, 232, 1)","isHoverDragHandle":false},"content":[{"type":"text","text":"提示:上述表格仅代表钉钉机器人能接收/回复的消息类型,实际能否完成处理图片、文件等任务,还需要接入的模型具备相应的处理能力。"}]},{"type":"paragraph","attrs":{"id":"8d65d7da-a4ea-4c38-93a2-588fb560f384","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"钉钉机器人可以接收图片、文件、语音消息,示例如下:"}]},{"type":"blockquote","attrs":{"id":"3785f815-0290-43e4-a721-ceeae4db8e64","textAlign":"inherit","isHoverDragHandle":false},"content":[{"type":"paragraph","attrs":{"id":"14a52669-3daf-41f5-bfa6-a32810252bbd","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"提示:此处钉钉仅作为接收/回复信息的通道,实际能否完成任务会受到模型能力限制。例如您需要为OpenClaw配置支持理解分析图片的模型,才能让OpenClaw通过钉钉机器人接收图片并且进行分析。"}]}]},{"type":"image","attrs":{"id":"ef95bca2-ab05-49ab-a4f3-efd36adffa79","src":"https://developer.qcloudimg.com/http-save/audit-8307438/335fb047d1e83182fa93719e5e19a2eb.png","extension":"png","align":"center","alt":"","showAlt":false,"href":"","boxShadow":"0px 4px 12px 0px rgba(115, 123, 137, 0.20)","width":426,"aspectRatio":"0.907670","status":"success","showText":true,"isPercentage":false,"percentage":0,"isHoverDragHandle":false}},{"type":"image","attrs":{"id":"82689ed6-2e84-4a7b-a985-260477f13db6","src":"https://developer.qcloudimg.com/http-save/audit-8307438/630eccf7b84d1c6005b23c2ef0ebec9f.png","extension":"png","align":"center","alt":"","showAlt":false,"href":"","boxShadow":"0px 4px 12px 0px rgba(115, 123, 137, 0.20)","width":434,"aspectRatio":"0.766110","status":"success","showText":true,"isPercentage":false,"percentage":0,"isHoverDragHandle":false}},{"type":"paragraph","attrs":{"id":"8eac6ab3-a96e-4307-b178-65840865d445","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"钉钉机器人可以回复图片、文件,示例如下:"}]},{"type":"blockquote","attrs":{"id":"d166be41-9165-4b4d-84ab-139f93b63fd7","textAlign":"inherit","isHoverDragHandle":false},"content":[{"type":"paragraph","attrs":{"id":"35e1f5ee-3b39-4a9d-b568-a1021c82bfef","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"提示:钉钉仅作为接收/回复信息的通道,实际能否完成任务会受到模型能力限制。例如您需要为OpenClaw配置支持生成图片的模型,才能让OpenClaw生成图片并通过钉钉机器人发送图片。"}]}]},{"type":"image","attrs":{"id":"1aa87ef4-a6ed-4cfd-b3f1-12b264743969","src":"https://developer.qcloudimg.com/http-save/audit-8307438/0822b4944c9bcf7d0e78a8a5c7b4a819.png","extension":"png","align":"center","alt":"","showAlt":false,"href":"","boxShadow":"0px 4px 12px 0px rgba(115, 123, 137, 0.20)","width":462,"aspectRatio":"2.455939","status":"success","showText":true,"isPercentage":false,"percentage":0,"isHoverDragHandle":false}},{"type":"heading","attrs":{"id":"feee2235-2c38-4cae-b856-865673f3db0c","textAlign":"inherit","indent":0,"level":1,"isHoverDragHandle":false},"content":[{"type":"text","text":"更多教程"}]},{"type":"paragraph","attrs":{"id":"20e02b78-007b-4dfb-bfae-7f424f494f23","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"更多云上OpenClaw实践教程,如一键部署OpenClaw、接入QQ/企微/钉钉/飞书/Discord/Telegram/WhatsApp、安装并使用Skills等,欢迎查看"},{"type":"text","marks":[{"type":"link","attrs":{"href":"https://cloud.tencent.com/developer/article/2624973","target":"_blank","rel":"noopener noreferrer nofollow","class":"link"}}],"text":"云上OpenClaw(原Clawdbot)最全实践教程合辑"},{"type":"text","text":"。"}]},{"type":"image","attrs":{"id":"83a2d846-dd36-4b20-bdc9-2d3b9f3bce82","src":"https://developer.qcloudimg.com/http-save/audit-8307438/267244d75537fe100e9b56f888379c0a.png","extension":"png","align":"center","alt":"","showAlt":false,"href":"","boxShadow":"","width":676,"aspectRatio":"1.073593","status":"success","showText":true,"isPercentage":false,"percentage":0,"isHoverDragHandle":false}},{"type":"heading","attrs":{"id":"a7f4c7ce-2a8b-4604-af6d-0bb8c80cfd73","textAlign":"inherit","indent":0,"level":1,"isHoverDragHandle":false},"content":[{"type":"text","text":"加入交流群"}]},{"type":"paragraph","attrs":{"id":"e32e63d2-da17-4c90-99fb-5273a097216e","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false},"content":[{"type":"text","text":"欢迎扫码加入OpenClaw交流群,和大家共同解锁、交流、探讨OpenClaw的各类实用、有趣玩法。"}]},{"type":"image","attrs":{"id":"ea70e767-1e43-4899-b094-9a8d801d422a","src":"https://developer.qcloudimg.com/http-save/audit-8307438/b5eb9991c50cd5de80abfa28596806fd.png","extension":"png","align":"center","alt":"","showAlt":false,"href":"","boxShadow":"","width":396,"aspectRatio":"1.000000","status":"success","showText":true,"isPercentage":false,"percentage":0,"isHoverDragHandle":false}},{"type":"paragraph","attrs":{"id":"82c26ed0-ebeb-424e-9d76-f2344eaadf10","textAlign":"inherit","indent":0,"color":null,"background":null,"isHoverDragHandle":false}}]}

下一篇
举报
领券