# Move File

> Perform Move File through SharePoint.

Source: [https://genhealth.ai/docs/workflows/integrations/share-point/sharepoint_move_file](https://genhealth.ai/docs/workflows/integrations/share-point/sharepoint_move_file)

Integration: [SharePoint](https://genhealth.ai/docs/workflows/integrations/share-point.md)

- Handler: `sharepoint_move_file`

- Connection type: `sharepoint`

## Use in a workflow

Copy this discovered node config, fill params from the input contract, and validate the complete graph. Integration results are available as {{node_id.default.field}}. Check business success before dependent writes; completion alone does not prove business success.

```json

{
  "_group": "SharePoint",
  "params": {},
  "handler": "sharepoint_move_file"
}

```

[Action contracts](https://genhealth.ai/docs/workflows/action-contracts.md) · [Run recovery](https://genhealth.ai/docs/workflows/operations.md)

## Inputs

- `item_id` — Item Id (expression, required)
  Required literal value or workflow expression.
- `source_folder_url` — Source Folder Url (expression)
  Optional literal value or workflow expression.
- `destination_folder_url` — Destination Folder Url (expression, required)
  Required literal value or workflow expression.
- `new_name` — New Name (expression)
  Optional literal value or workflow expression.

## Outputs

- `success` — Success
- `status` — Status
- `item_id` — Item Id
- `name` — Name
- `destination_folder_id` — Destination Folder Id
- `web_url` — Web Url
- `error` — Error
- `error_message` — Error Message

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": [
    "item_id",
    "destination_folder_url"
  ],
  "properties": {
    "item_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "new_name": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "source_folder_url": {
      "description": "Optional literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    },
    "destination_folder_url": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    }
  },
  "additionalProperties": false
}
```

### Output schema

```json
{
  "type": "object",
  "properties": {
    "name": {},
    "error": {},
    "status": {},
    "item_id": {},
    "success": {},
    "web_url": {},
    "error_message": {},
    "destination_folder_id": {}
  },
  "additionalProperties": true
}
```
