用途:该技能用于对接 Microsoft Outlook,可执行三类任务:发送和管理邮件、创建日历事件,以及自动化邮件沟通工作流。
输入:以 JSON 提供,字段包括 recipient_email(收件人邮箱)、email_subject(主题)、email_body(正文)、event_title(事件标题)、event_start_time(开始时间,如 2024-03-15T10:00:00)、event_duration(时长,单位分钟)、event_attendees(参会人邮箱,逗号分隔)。
执行方式(模式 C:动作):
- 运行技能并获取 Run ID: RESULT=$(refly skill run --id skpi-p7fc1qhsbq4qo59qh99ibjk9 --input '{ "to": "recipient@example.com", "subject": "Meeting Follow-up", "body": "Thank you for attending the meeting." }') RUN_ID=$(echo "$RESULT" | jq -r '.payload.workflowExecutions[0].id')
- 在浏览器中打开工作流并等待完成: open "https://refly.ai/workflow/c-ijhh2q58vevqx5aq2ynciwrx" refly workflow status "$RUN_ID" --watch --interval 30000
- 确认动作状态: STATUS=$(refly workflow detail "$RUN_ID" | jq -r '.payload.status') echo "Action completed with status: $STATUS"
预期输出:类型为 API 响应,格式为 JSON 邮件确认,动作为确认邮件已成功发送。
规则:遵循基础技能工作流:~/.claude/skills/refly/SKILL.md。
限制:资料未提供具体认证方式、权限范围、配额或异常处理细节。