# Outlook integration

> Build workflow automations with 5 public Outlook actions.

Source: [https://genhealth.ai/docs/workflows/integrations/outlook](https://genhealth.ai/docs/workflows/integrations/outlook)

## Available actions

5 actions. Connection types: microsoft_outlook.

### [Fetch Outlook PDF Attachments](https://genhealth.ai/docs/workflows/integrations/outlook/outlook_fetch_pdf_attachments.md)

- Handler: `outlook_fetch_pdf_attachments`
- Connection type: `microsoft_outlook`
- External effect: `write`
- Inputs: `message_id`, `document_type`, `source`, `show_documents_in_inbox`, `deduplicate_by_content`, `content_hash_mode`, `preserve_existing_stored_pdf`, `document_status`, `workflow_id_override`, `reuse_existing_document`, `body_field_label`, `body_field_labels`, `max_pdf_attachments`, `max_pdf_attachment_bytes`
- Outputs: `success`, `message_id`, `document_ids`, `new_document_ids`, `existing_document_ids`, `duplicate_count`, `all_attachments_existing`, `attachments`, `attachment_results`, `attachment_count`, `failed_count`, `max_pdf_attachments`, `max_pdf_attachment_bytes`, `email_body_field`, `email_body_fields`, `email_body_field_statuses`, `count`, `skipped`, `skip_reason`, `error`, `error_message`, `error_code`, `skipped_attachments`

Perform Fetch Outlook PDF Attachments through Outlook.

### [Get Outlook Message Body](https://genhealth.ai/docs/workflows/integrations/outlook/outlook_get_message_body.md)

- Handler: `outlook_get_message_body`
- Connection type: `microsoft_outlook`
- External effect: `read`
- Inputs: `message_id`
- Outputs: `success`, `message_id`, `email_body`, `error`, `error_message`, `error_code`

Perform Get Outlook Message Body through Outlook.

### [List Folder Messages](https://genhealth.ai/docs/workflows/integrations/outlook/outlook_list_folder_messages.md)

- Handler: `outlook_list_folder_messages`
- Connection type: `microsoft_outlook`
- External effect: `read`
- Inputs: `folder`, `unread_only`, `since`, `since_days`, `limit`, `oldest_first`
- Outputs: `success`, `messages`, `message_ids`, `count`, `folder_id`, `more_available`, `error`, `error_message`, `error_code`

Perform List Folder Messages through Outlook.

### [Move Outlook Message](https://genhealth.ai/docs/workflows/integrations/outlook/outlook_move_message.md)

- Handler: `outlook_move_message`
- Connection type: `microsoft_outlook`
- External effect: `write`
- Inputs: `message_id`, `destination_folder`, `create_if_missing`, `mark_as_read`
- Outputs: `success`, `message_id`, `moved`, `destination_folder_id`, `new_message_id`, `created_folder`, `marked_read`, `error`, `error_message`, `error_code`

Perform Move Outlook Message through Outlook.

### [Reply To Outlook Message](https://genhealth.ai/docs/workflows/integrations/outlook/outlook_reply_to_message.md)

- Handler: `outlook_reply_to_message`
- Connection type: `microsoft_outlook`
- External effect: `write`
- Inputs: `message_id`, `body`, `html`, `trust_reply_to`, `reject_automated_sender`
- Outputs: `success`, `message_id`, `recipients`, `error`, `error_message`, `error_code`

Perform Reply To Outlook Message through Outlook.
