Apex
CloudFiles Client
Create SharePoint Site
this method action allows users to create a new sharepoint sites directly from salesforce before we dive in, we assume you have reviewed the create sharepoint site docid\ u7sf1ejyidhj5shvv0agh flow action global static list\<sharepointsite> createsharepointsite( list\<types createsharepointsiteinput> inputs, string runas ) parameters inputs list of types createsharepointsiteinput docid\ qzxmqmwixtsu9ajlj57n4 runas email id of the user on whom behalf the function should run if you want to run the action as automation user, supply integrationuser return type list of sharepointsite docid\ dspuda9urvoyfbwpeann0 objects example list\<cldfs types createsharepointsiteinput> payloads = new list\<cldfs types createsharepointsiteinput>(); cldfs types createsharepointsiteinput payload = new cldfs types createsharepointsiteinput( 'test sharepoint site', 'https //cloudfileswork sharepoint com/sites/test sharepoint site' ); payloads add(payload); list\<cldfs sharepointsite> sites = cldfs client createsharepointsite(payloads, 'integrationuser');