tawk-to
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseTawk.to Skill
Tawk.to Skill
Overview
概述
Automates Tawk.to live chat operations including conversation handling, visitor monitoring, canned responses, and team management through browser automation.
通过浏览器自动化实现Tawk.to在线聊天操作自动化,包括对话处理、访客监控、快捷回复和团队管理。
Quick Install
快速安装
bash
curl -sSL https://canifi.com/skills/tawk-to/install.sh | bashOr manually:
bash
cp -r skills/tawk-to ~/.canifi/skills/bash
curl -sSL https://canifi.com/skills/tawk-to/install.sh | bash或手动安装:
bash
cp -r skills/tawk-to ~/.canifi/skills/Setup
配置
Configure via canifi-env:
bash
undefined通过canifi-env进行配置:
bash
undefinedFirst, ensure canifi-env is installed:
首先,确保已安装canifi-env:
curl -sSL https://canifi.com/install.sh | bash
curl -sSL https://canifi.com/install.sh | bash
canifi-env set TAWKTO_EMAIL "your-email@example.com"
canifi-env set TAWKTO_PASSWORD "your-password"
undefinedcanifi-env set TAWKTO_EMAIL "your-email@example.com"
canifi-env set TAWKTO_PASSWORD "your-password"
undefinedPrivacy & Authentication
隐私与认证
Your credentials, your choice. Canifi LifeOS respects your privacy.
您的凭证,由您掌控。 Canifi LifeOS 尊重您的隐私。
Option 1: Manual Browser Login (Recommended)
选项1:手动浏览器登录(推荐)
If you prefer not to share credentials with Claude Code:
- Complete the Browser Automation Setup using CDP mode
- Login to the service manually in the Playwright-controlled Chrome window
- Claude will use your authenticated session without ever seeing your password
如果您不想与Claude Code共享凭证:
- 使用CDP模式完成浏览器自动化配置
- 在Playwright控制的Chrome窗口中手动登录该服务
- Claude将使用您的已认证会话,全程不会获取您的密码
Option 2: Environment Variables
选项2:环境变量
If you're comfortable sharing credentials, you can store them locally:
bash
canifi-env set SERVICE_EMAIL "your-email"
canifi-env set SERVICE_PASSWORD "your-password"Note: Credentials stored in canifi-env are only accessible locally on your machine and are never transmitted.
如果您愿意共享凭证,可以将其存储在本地:
bash
canifi-env set SERVICE_EMAIL "your-email"
canifi-env set SERVICE_PASSWORD "your-password"注意:存储在canifi-env中的凭证仅能在您的本地设备上访问,绝不会被传输至外部。
Capabilities
功能
- Handle live chat conversations
- Monitor real-time visitors
- Use canned shortcuts
- Transfer chats between agents
- Access visitor history
- Manage chat tags
- Create ticketed chats
- Configure triggers
- 处理在线聊天对话
- 实时监控访客
- 使用快捷回复
- 在客服之间转接聊天
- 查看访客历史记录
- 管理聊天标签
- 创建工单式聊天
- 配置触发规则
Usage Examples
使用示例
Example 1: Handle Incoming Chat
示例1:处理等待中的聊天
User: "Accept and respond to the waiting chat"
Claude: I'll handle that chat.
- Navigate to Tawk.to dashboard
- Accept incoming chat
- Review visitor information
- Send greeting message
- Continue conversation用户:"接受并回复等待中的聊天"
Claude:我来处理这个聊天。
- 导航至Tawk.to控制台
- 接受等待中的聊天
- 查看访客信息
- 发送问候消息
- 继续对话Example 2: Use Canned Shortcut
示例2:使用快捷回复
User: "Send the shipping FAQ shortcut"
Claude: I'll use that shortcut.
- Open current chat
- Type shortcut command
- Select shipping FAQ
- Send to visitor
- Confirm delivered用户:"发送配送常见问题的快捷回复"
Claude:我将使用该快捷回复。
- 打开当前聊天窗口
- 输入快捷指令
- 选择配送常见问题
- 发送给访客
- 确认已送达Example 3: Transfer Chat
示例3:转接聊天
User: "Transfer this chat to the technical support agent"
Claude: I'll transfer the chat.
- Open current conversation
- Click transfer option
- Select technical support agent
- Add transfer note
- Confirm transfer用户:"将此聊天转接给技术支持客服"
Claude:我来转接这个聊天。
- 打开当前对话
- 点击转接选项
- 选择技术支持客服
- 添加转接备注
- 确认转接Example 4: Monitor Visitors
示例4:监控访客
User: "Show me current website visitors"
Claude: I'll show the visitor list.
- Navigate to Monitoring section
- View active visitors
- Display page they're viewing
- Show visitor location and device
- Highlight returning visitors用户:"显示当前网站访客"
Claude:我将展示访客列表。
- 导航至监控板块
- 查看活跃访客
- 显示他们正在浏览的页面
- 展示访客位置和设备信息
- 突出显示回头客Authentication Flow
认证流程
- Navigate to dashboard.tawk.to via Playwright MCP
- Enter email and password from canifi-env
- Handle 2FA if enabled (notify user via iMessage)
- Select property if multiple
- Set agent status to online
- Maintain session cookies
- 通过Playwright MCP导航至dashboard.tawk.to
- 从canifi-env中读取邮箱和密码并输入
- 若启用了双因素认证(2FA),则通过iMessage通知用户
- 若存在多个属性,选择对应属性
- 将客服状态设置为在线
- 维护会话Cookie
Error Handling
错误处理
- Login Failed: Verify credentials, retry
- Session Expired: Re-authenticate automatically
- 2FA Required: iMessage for verification code
- Property Not Found: List available properties
- Agent Offline: Cannot transfer to offline agents
- Visitor Left: Chat ended by visitor
- Rate Limited: Implement message queue
- Connection Lost: Reconnect automatically
- 登录失败:验证凭证并重试
- 会话过期:自动重新认证
- 需要双因素认证:通过iMessage获取验证码
- 未找到属性:列出可用属性
- 客服离线:无法转接给离线客服
- 访客离开:聊天已由访客结束
- 请求受限:实现消息队列
- 连接断开:自动重新连接
Self-Improvement Instructions
自我提升说明
When encountering new Tawk.to features:
- Document new dashboard UI elements
- Add support for new chat features
- Log successful response patterns
- Update for new integration features
当遇到Tawk.to新功能时:
- 记录新的控制台UI元素
- 添加对新聊天功能的支持
- 记录成功的响应模式
- 针对新的集成功能进行更新
Notes
注意事项
- Tawk.to is free with optional add-ons
- Multiple properties can be managed
- Video and voice chat available on plans
- Ticketing creates follow-up system
- Triggers are automated messages
- Mobile app for agent responses
- Knowledge base add-on available
- Tawk.to基础版免费,提供可选附加功能
- 可管理多个属性
- 付费套餐支持视频和语音聊天
- 工单功能创建跟进系统
- 触发规则为自动化消息
- 提供客服响应的移动应用
- 可添加知识库附加组件