List of sort fields (e.g., [{ 'key': 0, 'ascending': true }]).
item_idstring
Required
The ID of the Excel file (drive item) containing the worksheet.
site_idstring
Optional SharePoint site ID. Required for application-level authentication (s2s_oauth). Format: 'hostname,spSiteId,spWebId'.
drive_idstring
Optional drive ID. Required for application-level permissions (s2s_oauth) with OneDrive files. If not provided, falls back to site_id or /me/drive endpoint. Use EXCEL_LIST_FILES or ONE_DRIVE_GET_DRIVE_ROOT to get the drive ID.
worksheetstring
Required
The name or ID of the worksheet (must be URL-encoded if using ID).
range_typestring
Required
The type of range to sort (e.g., 'usedRange').
session_idstring
Optional session ID for the workbook. If provided, will be sent in the headers.
Observable output
data
Required
Data from the action execution
errorstring
Error if any occurred during the execution of the action
successfulboolean
Required
Whether or not the action execution was successful or not