Outlook

From refly-ai/refly-skills · View interactive version

Outlook is an AI agent skill from the GitHub repository refly-ai/refly-skills. 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.

How to use this skill

Skill file

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.

Input

Provide input as 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)"
}

Execution (Pattern C: Action)

Step 1: Run the Skill and Get 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')
# RUN_ID is we-xxx format, use this for workflow commands

Step 2: Open Workflow in Browser and Wait for Completion

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

Step 3: Confirm Action Status

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

Expected Output

Rules

Follow base skill workflow: ~/.claude/skills/refly/SKILL.md

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.