outlook

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Outlook

Outlook

Integrate with Microsoft Outlook for email. Use when you need to: (1) send and manage emails, (2) create calendar events, or (3) automate email communication workflows.
与Microsoft Outlook集成以处理邮件。适用于以下场景:(1) 发送和管理邮件,(2) 创建日历事件,或(3) 自动化邮件沟通工作流。

Input

输入

Provide input as JSON:
json
{
  "recipient_email": "Email address of the recipient",
  "email_subject": "Subject line for the email",
  "email_body": "Content of the email message",
  "event_title": "Title of the calendar event",
  "event_start_time": "Start time of the event (e.g., 2024-03-15T10:00:00)",
  "event_duration": "Duration of the event in minutes",
  "event_attendees": "Email addresses of attendees (comma-separated)"
}
请以JSON格式提供输入:
json
{
  "recipient_email": "收件人邮箱地址",
  "email_subject": "邮件主题",
  "email_body": "邮件内容",
  "event_title": "日历事件标题",
  "event_start_time": "事件开始时间(例如:2024-03-15T10:00:00)",
  "event_duration": "事件持续时长(分钟)",
  "event_attendees": "参会者邮箱地址(逗号分隔)"
}

Execution (Pattern C: Action)

执行(模式C:操作)

Step 1: Run the Skill and Get Run ID

步骤1:运行Skill并获取运行ID

bash
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')
bash
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')

RUN_ID is we-xxx format, use this for workflow commands

RUN_ID为we-xxx格式,用于工作流命令

undefined
undefined

Step 2: Open Workflow in Browser and Wait for Completion

步骤2:在浏览器中打开工作流并等待完成

bash
open "https://refly.ai/workflow/c-ijhh2q58vevqx5aq2ynciwrx"
refly workflow status "$RUN_ID" --watch --interval 30000
bash
open "https://refly.ai/workflow/c-ijhh2q58vevqx5aq2ynciwrx"
refly workflow status "$RUN_ID" --watch --interval 30000

Step 3: Confirm Action Status

步骤3:确认操作状态

bash
undefined
bash
undefined

Confirm email sent

确认邮件已发送

STATUS=$(refly workflow detail "$RUN_ID" | jq -r '.payload.status') echo "Action completed with status: $STATUS"
undefined
STATUS=$(refly workflow detail "$RUN_ID" | jq -r '.payload.status') echo "Action completed with status: $STATUS"
undefined

Expected Output

预期输出

  • Type: API Response
  • Format: JSON email confirmation
  • Action: Confirm email sent successfully
  • 类型:API响应
  • 格式:JSON邮件确认信息
  • 操作:确认邮件发送成功

Rules

规则

Follow base skill workflow:
~/.claude/skills/refly/SKILL.md
遵循基础Skill工作流:
~/.claude/skills/refly/SKILL.md