refly-ai

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."

refly-ai 201 25 Updated 7mo ago

Resources

1
GitHub

Install

npx skillscat add refly-ai/refly-skills/outlook

Install via the SkillsCat registry.

About this skill

This skill integrates with Microsoft Outlook to send emails, manage calendar events, and automate email workflows. It solves the problem of needing programmatic access to Outlook's email and scheduling features without manual interaction. Developers or agents should use it when building applications that require sending emails, creating calendar appointments, or automating communication sequences through Outlook.

SKILL.md

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

  • Type: API Response
  • Format: JSON email confirmation
  • Action: Confirm email sent successfully

Rules

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