AppsPricingBlogTry it
Mailgun logo
Google Drive logo

Connect Mailgun to Google Drive

Use 11 documented Mailgun triggers to run 24 documented Google Drive actions.

11 source triggers
24 target actions
Reverse direction supported

Why Connect Mailgun & Google Drive?

Start with a Mailgun event

Choose from 11 documented triggers, including New Bounce (Instant), New Click (Instant), New Complaint (Instant).

Run a Google Drive action

Send the event into one of 24 documented actions, such as Add Comment, Copy File, Create Folder.

Map and review the workflow

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

Available Triggers & Actions

Mailgun logo

Mailgun

Triggers (11)

New Bounce (Instant)

Emit new event when the email recipient could not be reached.

webhook
New Click (Instant)

Emit new event when the email recipient clicked on a link in the email. Open tracking must be enabled in the Mailgun control panel, and the CNAME record must be pointing to mailgun.org. See more at the Mailgun User's Manual Tracking Messages section

webhook
New Complaint (Instant)

Emit new event when the email recipient clicked on the spam complaint button within their email client. Feedback loops enable the notification to be received by Mailgun.

webhook
New Delivery (Instant)

Emit new event when an email is sent and accepted by the recipient email server.

webhook
New Delivery Failure (Instant)

Emit new event when an email can't be delivered to the recipient email server.

webhook
New Log Data

Emit new event when new data is logged in Mailgun's Control Panel. Occurs for most actions within the associated Mailgun account.

polling
New Mailing List

Emit new event when a new mailing list is added to the associated Mailgun account.

polling
New Open (Instant)

Emit new event when the email recipient opened the email and enabled image viewing. Open tracking must be enabled in the Mailgun control panel, and the CNAME record must be pointing to mailgun.org. See more at the Mailgun User's Manual Tracking Messages section

webhook
New Permanent Failure (Instant)

Emit new event when an email can't be delivered to the recipient email server due to a permanent mailbox error such as non-existent mailbox.

webhook
New Temporary Failure (Instant)

Emit new event when an email can't be delivered to the recipient email server due to a temporary mailbox error such as an ESP block. ESP is the Email Service Provider managing the recipient email server.

webhook
New Unsubscribe (Instant)

Emit new event when the email recipient clicked on the unsubscribe link. Unsubscribe tracking must be enabled in the Mailgun control panel. See more at the Mailgun User's Manual Tracking Messages section

webhook

Actions (11)

Create Mailing List Member

Add to an existing mailing list. See the docs here

Create Route

Create a new route. See the docs here

Delete Mailing List Member

Delete a mailing list member by address. See the docs here

Get Mailing List Member

Retrieve a mailing list member by address. See the docs here

Get Mailing List Members

List all mailing list members. See the docs here

List Domain Name Options

Retrieves available options for the Domain Name field.

List Domains

List domains in Mailgun. See the docs here

List Mailing List Options

Retrieves available options for the Mailing List field.

Send Email

Send email with Mailgun. See the docs here

Suppress Email

Add email to the Mailgun suppression list. See the docs here

Verify Email

Verify email address deliverability with Mailgun. See the docs here

Google Drive logo

Google Drive

Triggers (12)

Changes to Files in Drive

Emit new event when a change is made to one of the specified files. See the documentation

polling
Changes to Specific Files

Watches for changes to specific files, emitting an event when a change is made to one of those files. To watch for changes to shared drive files, use the **Changes to Specific Files (Shared Drive)** source instead.

polling
Changes to Specific Files (Shared Drive)

Watches for changes to specific files in a shared drive, emitting an event when a change is made to one of those files

polling
New Access Proposal

Emit new event when a new access proposal is requested in Google Drive

polling
New Files (Instant)

Emit new event when a new file is added in your linked Google Drive

webhook
New Files (Polling)

Emit new event when a new file is added in your linked Google Drive

polling
New Files (Shared Drive)

Emit new event when a new file is added in your shared Google Drive

polling
New or Modified Comments (Instant)

Emit new event when a comment is created or modified in the selected file

webhook
New or Modified Comments (Polling)

Emit new event when a comment is created or modified in the selected file

polling
New or Modified Files (Instant)

Emit new event when a file in the selected Drive is created, modified or trashed.

webhook
New or Modified Files (Polling)

Emit new event when a file in the selected Drive is created, modified or trashed. See the documentation

polling
New or Modified Folders (Instant)

Emit new event when a folder is created or modified in the selected Drive

webhook

Actions (24)

Add Comment

Add an unanchored comment to a Google Doc (general feedback, no text highlighting). See the documentation

Copy File

Create a copy of the specified file. See the documentation for more information

Create Folder

Create a new empty folder. See the documentation for more information

Create New File From Template

Create a new Google Docs file from a template. Optionally include placeholders in the template document that will get replaced from this action. See documentation

Create New File From Text

Create a new file from plain text. See the documentation for more information

Create Shared Drive

Create a new shared drive. See the documentation for more information

Delete Comment

Delete a specific comment (Requires ownership or permissions). See the documentation

Delete File

Permanently delete a file or folder without moving it to the trash. See the documentation for more information

Delete Reply

Delete a reply on a specific comment. See the documentation for more information

Delete Shared Drive

Delete a shared drive without any content. See the documentation for more information

Download File

Download a file from Google Drive to the /tmp directory or return its contents as a buffer. Use to fetch a file's contents for processing in downstream steps — e.g., parsing a CSV, extracting text from a PDF, or re-uploading to another service. For Google Workspace files (Docs, Sheets, Slides, Drawings, Apps Script), exports to an Office-compatible format by default: Docs → .docx, Sheets → .xlsx, Slides → .pptx, Drawings → PNG, Apps Script → JSON. Pass mimeType to force a specific format. Shortcuts are resolved to their target automatically. Folders, Forms, and My Maps cannot be downloaded via this action. See the documentation

Find File

Search for a specific file by name. The Search Name field uses Google Drive's tokenized full-text matching — pass a distinctive word or short phrase rather than the full title when the name contains special characters like & or '. See the documentation for more information

Find Folder

Search for a specific folder by name. The Search Name field uses Google Drive's tokenized full-text matching — pass a distinctive word or short phrase rather than the full title when the name contains special characters like & or '. See the documentation for more information

Find Forms

List Google Form documents or search for a Form by name. The Search Name field uses Google Drive's tokenized full-text matching — pass a distinctive word or short phrase rather than the full title when the name contains special characters like & or '. See the documentation for more information

Find Spreadsheets

Search for a specific spreadsheet by name. The Search Name field uses Google Drive's tokenized full-text matching — pass a distinctive word or short phrase rather than the full title when the name contains special characters like & or '. See the documentation for more information

Get Comment By ID

Get comment by ID on a specific file. See the documentation for more information

Get Current User

Retrieve Google Drive account metadata for the authenticated user via about.get, including display name, email, permission ID, and storage quota. Useful when flows or agents need to confirm the active Google identity or understand available storage. See the documentation.

Get File By ID

Get info on a specific file. See the documentation for more information

Get Folder ID for a Path

Retrieve a folderId for a path. See the documentation for more information

Get Reply By ID

Get reply by ID on a specific comment. See the documentation for more information

Get Shared Drive

Get metadata for one or all shared drives. See the documentation for more information

Is Folder Ancestor

Check if a specific folder is anywhere in the parent hierarchy of a file or folder. See the documentation

List Access Proposals

List access proposals for a file or folder. See the documentation

List Comments

List all comments on a file. See the documentation

Integration Features

11 documented Mailgun triggers
24 documented Google Drive actions
Configurable field mapping
Conditional workflow steps
Execution monitoring
A supported Google Drive to Mailgun direction

Capability Examples

Mailgun trigger → Google Drive action

Catalog example
MailgunMailgun

New Bounce (Instant)

Google DriveGoogle Drive

Add Comment

Google Drive trigger → Mailgun action

Reverse direction
Google DriveGoogle Drive

Changes to Files in Drive

MailgunMailgun

Create Mailing List Member

How It Works

1

Connect Apps

Authenticate your Mailgun and Google Drive accounts

2

Choose a Trigger

Select a documented Mailgun event

3

Choose an Action

Select the documented Google Drive 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 11 documented Mailgun triggers.

Automated Actions

Run one of 24 documented Google Drive 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.

Google Drive logoMailgun logo

Reverse Integration Available

Also connect Google Drive to Mailgun for bidirectional automation

View Integration
Mailgun logo

All Mailgun Integrations

Explore all available Mailgun connections

View All Integrations
Google Drive logo

All Google Drive Integrations

Explore all available Google Drive connections

View All Integrations

Ready to Connect Mailgun & Google Drive?

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

Get Started Free