Gmail integration template

Automatically Save Gmail Attachments to Google Drive

Fetch new Gmail messages with attachments, prepare the available attachment content, and upload it into a Drive folder.

Gmail trigger
Gmail get message
Code
Drive upload

Workflow blueprint

Trigger
Ready
Idle

Gmail

@tensorify/gmail-trigger

Watch messages that contain attachments.

queryhas:attachment
Action
Ready
Idle

Gmail

@tensorify/gmail-get-message

Fetch the full Gmail message resource.

message_idmessage.id
Logic
Ready
Idle

Code

@tensorify/code

Prepare filename and available content.

languagePython
Action
Ready
Idle

Drive

@tensorify/google-drive-upload-file

Upload into the selected Drive folder.

folderfolder ID

1. Connect Gmail

Authorize the Google account that should watch messages or send the final email.

2. Map the event

Start from email with an attachment and map only the fields your next node needs.

3. Test and deploy

Test with a representative message, inspect every node, then deploy to your preferred runner.

Best for

Collect invoice, resume, contract, and document attachments in one Drive folder.

  • Use Python where custom rules are clearer than a visual map.
  • Inspect inputs and outputs at each node before production.
  • Keep credentials in your Tensorify connection, not in workflow code.
  • Adapt the downstream step for your own stack.
Current limitation: Gmail Get Message currently returns attachment metadata and inline data, but Tensorify does not yet expose a dedicated Gmail Download Attachment node. Large attachment bytes require that native action before this template can provide complete binary backup.

Gmail on Tensorify

Supported triggers and actions

A trigger starts a workflow. An action is a step Tensorify runs after it. Combine Gmail's native nodes with Code, webhooks, Sheets, Slack, and the rest of your canvas.

1 trigger4 Gmail actions

Trigger

New Gmail message

Start a workflow when a new message arrives.

Action

Get message

Fetch the complete Gmail message by ID.

Action

List messages

Find Gmail messages with a Gmail search query.

Action

Modify labels

Add or remove labels on a Gmail message.

Action

Send email

Send an email from the connected Gmail account.

Use cases

Practical ways to use Gmail with Tensorify

01
Sales

Route qualified inquiries

Send matching prospects to your CRM, a webhook, or an account-owner alert.

Try this template
02
Support

Turn email into work

Create a task or log a labelled support message without copying details by hand.

Try this template
03
Operations

Escalate the important stuff

Summarize high-priority messages and deliver them to Gmail or Slack.

Try this template

Ready to make it yours?

Start with the working graph, then customize every node.

One click creates this workflow in your Tensorify workspace. Connect your account, update the marked settings, and test with your own data.

Use this template