AppsPricingBlogTry it
OpenAI (ChatGPT) logo
Sharepoint logo

Connect OpenAI (ChatGPT) to Sharepoint

Use 4 documented OpenAI (ChatGPT) triggers to run 23 documented Sharepoint actions.

4 source triggers
23 target actions
Reverse direction supported

Why Connect OpenAI (ChatGPT) & Sharepoint?

Start with a OpenAI (ChatGPT) event

Choose from 4 documented triggers, including New Batch Completed, New File Created, New Fine Tuning Job Created.

Run a Sharepoint action

Send the event into one of 23 documented actions, such as Create Folder, Create Item, Create Link.

Map and review the workflow

Choose the fields and conditions for the workflow, then test the result before activation.

Available Triggers & Actions

OpenAI (ChatGPT) logo

OpenAI (ChatGPT)

Triggers (4)

New Batch Completed

Emit new event when a new batch is completed in OpenAI. See the documentation

polling
New File Created

Emit new event when a new file is created in OpenAI. See the documentation

polling
New Fine Tuning Job Created

Emit new event when a new fine-tuning job is created in OpenAI. See the documentation

polling
New Run State Changed

Emit new event every time a run changes its status. See the documentation

polling

Actions (24)

Chat

The Chat API, using the gpt-3.5-turbo or gpt-4 model. See the documentation

Chat using Web Search

Chat using the web search tool. See the documentation

Chat using Functions

Chat with your models and allow them to invoke functions. Optionally, you can build and invoke workflows as functions. See the documentation

Chat using File Search

Chat with your files knowledge base (vector stores). See the documentation

Summarize Text

Summarizes text using the Chat API. See the documentation

Classify Items into Categories

Classify items into specific categories using the Chat API. See the documentation

Translate Text (Whisper)

Translate text from one language to another using the Chat API. See the documentation

Create Transcription

Transcribes audio into the input language. See the documentation

Create Image (Dall-E)

Creates an image given a prompt returning a URL to the image. See the documentation

Create Embeddings

Get a vector representation of a given input that can be easily consumed by machine learning models and algorithms. See the documentation

Create Completion (Send Prompt)

OpenAI recommends using the **Chat** action for the latest gpt-3.5-turbo API, since it's faster and 10x cheaper. This action creates a completion for the provided prompt and parameters using the older /completions API. See the documentation

Analyze Image Content

Send a message or question about an image and receive a response. See the documentation

Cancel Run (Assistants)

Cancels a run that is in progress. See the documentation

Chat with Assistant

Sends a message and generates a response, storing the message history for a continuous conversation. See the documentation

Chat With Responses API

Send a chat via the Responses API, mixing built-in tools and MCP server tools. See the documentation.

Convert Text to Speech (TTS)

Generates audio from the input text. See the documentation

Create Assistant

Creates an assistant with a model and instructions. See the documentation

Create Batch

Creates and executes a batch from an uploaded file of requests. See the documentation

Create Fine Tuning Job

Creates a job that fine-tunes a specified model from a given dataset. See the documentation

Create Moderation

Classifies if text is potentially harmful. See the documentation

Create Thread (Assistants)

Creates a thread with optional messages and metadata, and optionally runs the thread using the specified assistant. See the documentation

Create Vector Store

Create a vector store. See the documentation

Create Vector Store File

Create a vector store file. See the documentation

Delete File

Deletes a specified file from OpenAI. See the documentation

Sharepoint logo

Sharepoint

Triggers (5)

File Updated or Deleted (Instant)

Emit a new event when specific files are updated or deleted in a SharePoint document library

webhook
New File Created

Emit new event when a new file is created in Microsoft Sharepoint.

polling
New Folder Created

Emit new event when a new folder is created in Microsoft Sharepoint.

polling
New List Item

Emit new event when a new list item is created in Microsoft Sharepoint.

polling
Updated List Item

Emit new event when a list item is updated in Microsoft Sharepoint.

polling

Actions (23)

Create Folder

Create a new folder in SharePoint. See the documentation

Create Item

Create a new item in Microsoft Sharepoint. See the documentation

Create Link

Create a sharing link for a DriveItem. See the documentation

Create List

Create a new list in Microsoft Sharepoint. See the documentation

Download File

Download a Microsoft Sharepoint file to the /tmp directory. See the documentation

Download Files

Browse and select files from SharePoint and get their metadata along with pre-authenticated download URLs (valid ~1 hour). See the documentation

Find File by Name

Search the site's default drive for files or folders matching a query. Matches are **recursive** across the drive and span **filename, metadata, and file content** — this is **not** an exact filename lookup, and results are relevance-ranked. Backed by the SharePoint Search index and **eventually consistent**, so newly created, renamed, or moved items may not appear until SharePoint reindexes them. **For exact, immediately-consistent lookups, prefer:** - **Get File by ID** when the ID is known - **Search and Filter Files** for OData $filter against a list/document library See the documentation

Find Files in List with Metadata

Search and filter items in a SharePoint list based on metadata and custom columns. See docs here

Get Current User

Returns the authenticated Microsoft user's ID, display name, email, and principal name via Microsoft Graph. Call this first when the user says 'my files', 'my documents', or needs identity context. Use the returned id to identify file ownership in **List Files in Folder** or **Find File by Name** results. See the documentation.

Get Excel Table

Retrieve a table from an Excel spreadsheet stored in Sharepoint See the documentation

Get File by ID

Retrieves a file by ID. See the documentation

Get File Contents

Retrieves a Microsoft SharePoint file and returns its contents as extracted plain text or markdown. Supports plain text formats, HTML, DOCX, PDF, and other Office documents convertible to PDF (xlsx, pptx, etc.). See the documentation

Get Site

Retrieve a site by its identifier. This is a direct path/ID lookup, so it's immediately consistent and returns newly created sites without indexing delay. Use this when you know the site path; for discovery, use **Search Sites** or **List Sites**. See the documentation

List Drives

List the drives available within a Microsoft Sharepoint site. See the documentation

List Files in Folder

Retrieves a list of the files and/or folders directly within a folder. See the documentation

List Sites

List sites across the tenant. Backed by the SharePoint Search index and **eventually consistent** — newly created sites may not appear until indexing catches up. To resolve a known site by path, prefer **Get Site** for an immediate lookup. See the documentation

Retrieve File Metadata

Browse and select files from SharePoint to retrieve their metadata (name, size, dates, etc.) without download URLs. See the documentation

Search and Filter Files

Search and filter SharePoint files based on metadata and custom columns. This action allows you to query files using SharePoint's custom properties, managed metadata, and other column values. See the documentation

Search Files

Search for files across the tenant. Supports KQL via the optional query template. Backed by the Microsoft Search index and **eventually consistent** — newly created or modified files may not appear until indexing catches up. **For immediate, deterministic results, prefer:** - **Get File by ID** when the ID is known - **List Files in Folder** for path-based listing - **Search and Filter Files** for OData $filter against a document library See the documentation

Search Sites

Search for sites across the tenant. This is a free-text search across multiple site properties — *not* an exact slug match. Backed by the SharePoint Search index and **eventually consistent**, so newly created or renamed sites may not appear until indexing catches up. To resolve a known site by path, prefer **Get Site** for an immediate, exact lookup. See the documentation

Select Files

A file picker action that allows browsing and selecting one or more files from SharePoint. Returns the selected files' metadata including pre-authenticated download URLs. See the documentation

Update Item

Updates an existing item in Microsoft Sharepoint. See the documentation

Upload File

Upload a file to OneDrive. See the documentation

Integration Features

4 documented OpenAI (ChatGPT) triggers
23 documented Sharepoint actions
Configurable field mapping
Conditional workflow steps
Execution monitoring
A supported Sharepoint to OpenAI (ChatGPT) direction

Capability Examples

OpenAI (ChatGPT) trigger → Sharepoint action

Catalog example
OpenAI (ChatGPT)OpenAI (ChatGPT)

New Batch Completed

SharepointSharepoint

Create Folder

Sharepoint trigger → OpenAI (ChatGPT) action

Reverse direction
SharepointSharepoint

File Updated or Deleted (Instant)

OpenAI (ChatGPT)OpenAI (ChatGPT)

Chat

How It Works

1

Connect Apps

Authenticate your OpenAI (ChatGPT) and Sharepoint accounts

2

Choose a Trigger

Select a documented OpenAI (ChatGPT) event

3

Choose an Action

Select the documented Sharepoint operation to run

Test and Review

Verify field mapping and provider responses before activation

Frequently Asked Questions

Integration Benefits

Trigger-driven Workflows

Start the supported direction from one of 4 documented OpenAI (ChatGPT) triggers.

Automated Actions

Run one of 23 documented Sharepoint actions after the selected trigger fires.

Provider Authentication

Review the authentication requirements published by each provider before activating the workflow.

Guided Configuration

Select a documented trigger, choose a target action, and map the fields required by the workflow.

Field Mapping

Map the fields exposed by the selected trigger and action, then review the required provider inputs.

Execution Review

Test the workflow and review provider responses before relying on it in production.

Sharepoint logoOpenAI (ChatGPT) logo

Reverse Integration Available

Also connect Sharepoint to OpenAI (ChatGPT) for bidirectional automation

View Integration
OpenAI (ChatGPT) logo

All OpenAI (ChatGPT) Integrations

Explore all available OpenAI (ChatGPT) connections

View All Integrations
Sharepoint logo

All Sharepoint Integrations

Explore all available Sharepoint connections

View All Integrations

Ready to Connect OpenAI (ChatGPT) & Sharepoint?

Build this supported workflow in Mazaal AI and test it with your own provider accounts.

Get Started Free