outlook について
Outlookのメールやカレンダー操作をReflyワークフローで自動化するスキルです。メールや予定の情報をJSONで渡し、ワークフローの状態を確認できます。
主な機能
- 01メールの送信と管理
- 02カレンダー予定の作成
- 03Reflyワークフローでの実行
- 04実行状態の確認
活用シーン
- 01会議後のフォローアップメール送信
- 02参加者を含む予定の作成
インストール
コマンドをコピーしてターミナルで実行します。
$
npx skills add https:/ / github.com/ refly-ai/ refly-skills --skill outlookインストール後、Claude Code で/outlookを入力して読み込まれたか確認します。
同梱ファイルREADME.md
詳細
Outlook
メール用に Microsoft Outlook と連携します。(1)メールの送信と管理、(2)カレンダーイベントの作成、(3)メールコミュニケーションのワークフローの自動化が必要な場合に使用します。
入力
入力は 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)"
}
実行(パターン C:アクション)
ステップ 1:スキルを実行して実行 ID を取得する
RESULT=$(refly skill run --id skpi-p7fc1qhsbq4qo59qh99ibjk9 --input '{
"to": "[email protected]",
"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
ステップ 2:ブラウザーでワークフローを開き、完了を待つ
open "https://refly.ai/workflow/c-ijhh2q58vevqx5aq2ynciwrx"
refly workflow status "$RUN_ID" --watch --interval 30000
ステップ 3:アクションのステータスを確認する
# Confirm email sent
STATUS=$(refly workflow detail "$RUN_ID" | jq -r '.payload.status')
echo "Action completed with status: $STATUS"
期待される出力
- 種類:API レスポンス
- 形式:JSON 形式のメール確認
- アクション:メールが正常に送信されたことを確認する
ルール
基本スキルのワークフローに従ってください:~/.claude/skills/refly/SKILL.md
コメント
Markdown 対応