Amazon After-Sales Flow
Playwright-based Amazon after-sales automation with explicit send confirmation.
Runtime Requirements
This skill requires a JS runtime and Playwright binaries.
Required environment:
- - Node.js >= 18
- npm dependencies installed
- Playwright Chromium installed
Expected setup before use:
Full-Flow Behavior
- 1. Open Amazon orders page (
year from input when provided). - Find an order and open order details.
- Run contact flow chain.
- Type message and only send if explicitly confirmed.
Input Modes
- 1. Natural language:
- 2. JSON actions:
- - INLINECODE5
- INLINECODE6
- INLINECODE7
- INLINECODE8
Safety And Data Handling
- - Legacy shell URL opener is removed.
- URL-only free text input is blocked.
- Sending requires both
auto_send=true and confirm_send=true. - The runtime can read page DOM on Amazon order/messaging pages to complete the workflow.
- Local artifacts may be stored in workspace files.
- No external upload endpoint is configured by default in this package.
Output
Returns runtime JSON traces/results for executed actions.
技能名称: amazon-after-sales-flow
详细描述:
亚马逊售后流程
基于Playwright的亚马逊售后自动化,具备显式发送确认功能。
运行环境要求
本技能需要JS运行环境和Playwright二进制文件。
所需环境:
- - Node.js >= 18
- 已安装npm依赖
- 已安装Playwright Chromium
使用前需完成以下设置:
- - npm install
- npx playwright install chromium
完整流程行为
- 1. 打开亚马逊订单页面(使用输入中提供的year参数)。
- 查找订单并打开订单详情。
- 运行联系流程链。
- 输入消息,仅在显式确认后发送。
输入模式
- 1. 自然语言:
- - run amazon-after-sales-flow 2025
- execute amazon-after-sales-flow 2025
- 2. JSON操作:
- - {action:runfullflow, ...}
- {action:openorders, ...}
- {action:runcontactflow, ...}
- {skill:amazoncontact_flow,args:{...}}
安全与数据处理
- - 已移除旧版Shell URL打开器。
- 仅包含URL的自由文本输入已被阻止。
- 发送操作需要同时满足autosend=true和confirmsend=true。
- 运行时可读取亚马逊订单/消息页面的DOM以完成工作流程。
- 本地工件可能存储在workspace文件中。
- 本包默认未配置外部上传端点。
输出
返回已执行操作的运行时JSON跟踪/结果。