# Move Outlook Message

> Perform Move Outlook Message through Outlook.

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

Integration: [Outlook](https://genhealth.ai/docs/workflows/integrations/outlook.md)

- Handler: `outlook_move_message`

- Connection type: `microsoft_outlook`

## Inputs

- `message_id` — Message Id (expression, required)
  Required literal value or workflow expression.
- `destination_folder` — Destination Folder (text, required)
  Required text value.
- `create_if_missing` — Create If Missing (boolean)
  Optional true-or-false value.
  Default: `false`
- `mark_as_read` — Mark As Read (boolean)
  Optional true-or-false value.
  Default: `false`

## Outputs

- `success` — Success
- `message_id` — Message Id
- `moved` — Moved
- `destination_folder_id` — Destination Folder Id
- `new_message_id` — New Message Id
- `created_folder` — Created Folder
- `marked_read` — Marked Read
- `error` — Error
- `error_message` — Error Message
- `error_code` — Error Code

Output schema completeness: `best_effort_declared`

## Safety

- External effect: `write`
- Confirmation recommended: no
- Retry safe: no
- Dry run supported: no

## Schemas

These schemas are first-pass authoring guidance. Runtime validation remains authoritative.

### Input schema

```json
{
  "type": "object",
  "required": [
    "message_id",
    "destination_folder"
  ],
  "properties": {
    "message_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "mark_as_read": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "create_if_missing": {
      "type": "boolean",
      "default": false,
      "description": "Optional true-or-false value.",
      "x-workflow-field-type": "boolean"
    },
    "destination_folder": {
      "type": "string",
      "description": "Required text value.",
      "x-workflow-field-type": "text"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "error": {},
    "moved": {},
    "success": {},
    "error_code": {},
    "message_id": {},
    "marked_read": {},
    "error_message": {},
    "created_folder": {},
    "new_message_id": {},
    "destination_folder_id": {}
  },
  "additionalProperties": true
}
```
