Apex
CloudFiles Client
Create SharePoint Drive
this method action allows users to create a new sharepoint drive directly from salesforce before we dive in, we assume you have reviewed the respective flow action global static list\<drive> createdrive( list\<types createdriveinput> inputs, string runas ) parameters inputs list of types createdriveinput docid\ woixo89zxhvwfucrfgpbb runas runas, usually this would be a static value integrationuser return type list of drive docid\ zr35rimvjirhevmqtsusx example list\<cldfs types createdriveinput> inputs = new list\<cldfs types createdriveinput>{ new cldfs types createdriveinput( 'test sharepoint drive', 'xyz sharepoint siteid 123' ) }; list\<cldfs drive> drives = cldfs client createdrive(inputs, 'integrationuser');