AppsPricingBlogTry it
Sharepoint logo
Gmail logo

Connect Sharepoint to Gmail

Build an AI agent that works across Sharepoint and Gmail, on a schedule or when you click Run.

23 source actions
20 target actions
Reverse direction supported

Why Connect Sharepoint & Gmail?

Read what you need from Sharepoint

Your agent uses Sharepoint's documented actions to pull the records it needs, each time it runs.

Run a Gmail action

Then it uses one of 20 documented actions, such as Add Label to Email, Approve Workflow, Archive Email.

Test it, then put it on a schedule

Run it once on your own data and check the result. Then set it to run daily, on weekdays or weekly.

Available Triggers & Actions

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

Gmail logo

Gmail

Triggers (5)

New Attachment Received

Emit new event for each attachment in a message received. This source is capped at 100 max new messages per run.

polling
New Email Matching Search

Emit new event when an email matching the search criteria is received. This source is capped at 100 max new messages per run.

polling
New Email Received

Emit new event when a new email is received.

polling
New Labeled Email

Emit new event when a new email is labeled.

polling
New Sent Email

Emit new event for each new email sent. (Maximum of 100 events emited per execution)

polling

Actions (20)

Add Label to Email

Add label(s) to an email message. See the docs

Approve Workflow

Suspend the workflow until approved by email. See the documentation

Archive Email

Archive an email message. See the documentation

Bulk Archive Emails

Archive multiple emails at once. See the documentation

Create Draft

Create a draft from your Google Workspace email account. See the documentation

Create Label

Create a new label in the connected account. See the documentation

Delete Email

Moves the specified message to the trash. See the documentation

Download Attachment

Download an attachment by attachmentId to the /tmp directory. See the documentation

Find Email

Find an email using Google's Search Engine. See the docs

Get Current User

Returns the authenticated Gmail user's name, email address, and mailbox stats (total messages and threads). Call this first when the user says 'my emails', 'my inbox', or needs identity context. Use the returned emailAddress to identify the user's own messages in **Find Email** results. See the documentation.

Get Send As Alias

Get a send as alias for the authenticated user. See the documentation

List Labels

List all the existing labels in the connected account. See the docs

List Send as a Delegate Options

Retrieves available options for the Send as a Delegate field.

List Send As Aliases

List all send as aliases for the authenticated user. See the documentation

List Signature Options

Retrieves available options for the Signature field.

List Thread Messages

List messages in a thread. See the docs

Remove Label from Email

Remove label(s) from an email message. See the docs

Send Email

Send an email from your Google Workspace email account. See the documentation

Update Signature for Email in Organization

Update the signature for a specific email address in an organization. A Google Cloud service account with delegated domain-wide authority is required for this action. See the documentation

Update Signature for Primary Email Address

Update the signature for the primary email address. See the documentation

Integration Features

23 documented Sharepoint actions
20 documented Gmail actions
Plain-English agent instructions
Daily, weekday or weekly schedule, or run on demand
Execution monitoring
A supported Gmail to Sharepoint direction

Capability Examples

Sharepoint trigger → Gmail action

Catalog example
SharepointSharepoint

File Updated or Deleted (Instant)

GmailGmail

Add Label to Email

Gmail trigger → Sharepoint action

Reverse direction
GmailGmail

New Attachment Received

SharepointSharepoint

Create Folder

How It Works

1

Connect Apps

Authenticate your Sharepoint and Gmail accounts

2

Describe the Job

Say what to read from Sharepoint and what to do in Gmail

3

Choose an Action

Select the documented Gmail operation to run

Test and Review

Verify field mapping and provider responses before activation

Frequently Asked Questions

Integration Benefits

Scheduled or On-demand Runs

Runs daily, on weekdays or weekly at a set time, or when you click Run. It does not fire on live Sharepoint events yet.

Automated Actions

Use 20 documented Gmail actions each time the agent runs.

Provider Authentication

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

Guided Configuration

Describe the job in plain English. The agent picks theSharepoint and Gmail actions it needs.

Your Own Accounts

You connect your own Sharepoint and Gmail accounts. App connections need a paid plan.

Execution Review

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

Gmail logoSharepoint logo

Reverse Integration Available

Also connect Gmail to Sharepoint for bidirectional automation

View Integration
Sharepoint logo

All Sharepoint Integrations

Explore all available Sharepoint connections

View All Integrations
Gmail logo

All Gmail Integrations

Explore all available Gmail connections

View All Integrations

Ready to Connect Sharepoint & Gmail?

Build this agent in Mazaal AI and test it on your ownSharepoint and Gmail data.

Start building

Rather not build it yourself? We set up one Sharepoint to Gmail agent on your accounts for A$490: a 30-minute call, a test on your real data, and 14 days of fixes. Plan billed separately. Email Enod