Integrations

SharePoint and OneDrive

Search your company’s SharePoint, list a folder, read a page or a text file, download a file, and create folders and text files.

Where it works

Your organisation’s SharePoint sites on sharepoint.com, and OneDrive for work or school, which is SharePoint underneath. Microsoft’s own marketing site is not matched.

Open the site in XataWorks Browser and the tools below appear in the page-tools list in the browser’s toolbar, ready for the agent in any chat that has the tab. There is nothing to install or switch on.

How it works

The tools call SharePoint’s REST API from the page, with the session you are already signed in with: no app registration, no admin consent, no token and no separate sign-in.

Tools

Each tool with the name XataWorks shows you, the name the agent uses, and the first sentence of the description the agent reads. You do not call them yourself: ask for what you want in your own words, and the agent picks the tool. Before one runs, XataWorks asks you, according to its class; Approvals and permissions explains the question and each answer.

Reads Read only

These only look things up.

  • Search SharePoint sharepoint_searchSearch the SharePoint sites and OneDrive files the signed-in person can see (Microsoft Search, KQL).
  • List a SharePoint folder sharepoint_list_folderList a SharePoint folder or document library (e.g.
  • Get a SharePoint file’s details sharepoint_get_fileA SharePoint or OneDrive file’s details: name, size in bytes, last modified, modified by, server-relative path and web address.
  • Read a SharePoint page or text file sharepoint_read_textRead the text of a SharePoint page (a site page, or the site’s home page) or of a text-like file (.txt .md .csv .tsv .json .html .htm .xml .log), capped at max_chars (default and max 200000).
  • List followed SharePoint sites sharepoint_followed_sitesThe SharePoint sites the signed-in person follows: each site’s name and address.

Adds and changes Mutating

These change something, and the adapter declares the change additive: a create, an append, a status set.

  • Download a SharePoint file sharepoint_download_fileDownload a SharePoint or OneDrive file through the browser, as the person’s own click would: it goes to their Downloads folder and is kept in this chat (see the call result’s "downloads").
  • Create a SharePoint folder sharepoint_create_folderCreate a new folder in a SharePoint document library or folder.
  • Upload a text file to SharePoint sharepoint_upload_text_fileUpload a new text file (.txt .md .csv .tsv .json) to a SharePoint folder or library.

See Page tools in the user guide for how to see what a tab offers, or every integration.