# SharePoint integration

> Build workflow automations with 6 public SharePoint actions.

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

## Available actions

6 actions. Connection types: sharepoint.

### [Batch Update Cells](https://genhealth.ai/docs/workflows/integrations/share-point/sharepoint_excel_batch_update_cells.md)

- Handler: `sharepoint_excel_batch_update_cells`
- Connection type: `sharepoint`
- External effect: `write`
- Inputs: `workbook_url`, `worksheet_name`, `header_row`, `headers`, `row_updates`, `fail_on_partial`, `write_enabled`
- Outputs: `success`, `submitted`, `write_skipped`, `skip_reason`, `workbook`, `row_update_count`, `updated_cells`, `failed_cells`, `failure_codes`, `error`, `error_message`

Perform Batch Update Cells through SharePoint.

### [Get Rows](https://genhealth.ai/docs/workflows/integrations/share-point/sharepoint_excel_get_rows.md)

- Handler: `sharepoint_excel_get_rows`
- Connection type: `sharepoint`
- External effect: `write`
- Inputs: `workbook_url`, `worksheet_name`, `header_row`, `read_mode`, `max_rows`, `filter_column`, `filter_value`, `skip_empty_rows`
- Outputs: `success`, `workbook`, `worksheet`, `headers`, `rows`, `preview_rows`, `row_count`, `last_row_number`, `warnings`, `first_column_index`, `truncated`, `error`, `error_message`

Perform Get Rows through SharePoint.

### [Import File](https://genhealth.ai/docs/workflows/integrations/share-point/sharepoint_import_file.md)

- Handler: `sharepoint_import_file`
- Connection type: `sharepoint`
- External effect: `write`
- Inputs: `folder_url`, `item_id`, `file_name`, `document_type`, `show_in_inbox`
- Outputs: `success`, `status`, `document_id`, `s3_path`, `item_id`, `file_name`, `sha256`, `size`, `was_existing`, `error`, `error_message`

Perform Import File through SharePoint.

### [List Folder](https://genhealth.ai/docs/workflows/integrations/share-point/sharepoint_list_folder.md)

- Handler: `sharepoint_list_folder`
- Connection type: `sharepoint`
- External effect: `read`
- Inputs: `folder_url`, `pdf_only`, `max_files`
- Outputs: `success`, `status`, `folder_id`, `drive_id`, `files`, `file_names`, `count`, `truncated`, `error`, `error_message`

Perform List Folder through SharePoint.

### [Move File](https://genhealth.ai/docs/workflows/integrations/share-point/sharepoint_move_file.md)

- Handler: `sharepoint_move_file`
- Connection type: `sharepoint`
- External effect: `write`
- Inputs: `item_id`, `source_folder_url`, `destination_folder_url`, `new_name`
- Outputs: `success`, `status`, `item_id`, `name`, `destination_folder_id`, `web_url`, `error`, `error_message`

Perform Move File through SharePoint.

### [Update Cells](https://genhealth.ai/docs/workflows/integrations/share-point/sharepoint_excel_update_cells.md)

- Handler: `sharepoint_excel_update_cells`
- Connection type: `sharepoint`
- External effect: `write`
- Inputs: `workbook_url`, `worksheet_name`, `header_row`, `headers`, `row_number`, `updates`, `write_enabled`
- Outputs: `success`, `submitted`, `write_skipped`, `skip_reason`, `workbook`, `row_number`, `updated_cells`, `error`, `error_message`

Perform Update Cells through SharePoint.
