Share Google Drive Files from Telegram Approvals via Webhook

Approval granted? Notis instantly shares the Google Drive file with the right people, no manual permission juggling.

Trigger

Webhook received

Notis starts this workflow when an external tool or custom backend sends an HTTP request.

Google Drive logo

Action

Add file sharing preference

Modifies sharing permissions for an existing google drive file, granting a specified role to a user, group, domain, or 'anyone'.

Why this helps

Approvals happen in various systems, but file sharing in Drive is manual; people wait for access or you forget to grant it.

  • File access is granted automatically on approval
  • No delays waiting for manual permission grants
  • Audit trail of who got access when
  • Scales for high-volume approvals

Setup

Build it in a few focused steps.

  • 1Connect Google Drive to Notis.
  • 2Create an automation named 'Auto-Share on Approval'.
  • 3Tell Notis: 'When you receive a webhook from our approval system containing user_id and file_id, share that Google Drive file with the approved user with Viewer permissions.'
  • 4Set the trigger to Notis Webhook and configure the webhook URL.
  • 5Test by sending a sample approval webhook and verifying the file is shared in Drive.

Questions about this workflow

How do I send the webhook from my approval system?

Notis provides a webhook URL. Configure your system to POST to that URL with user_id, file_id, and any other context you want. Notis will parse it and share the file.

Can I grant different permission levels (Viewer vs. Editor)?

Yes. Specify the role in your webhook payload, and Notis applies it.

What if the file doesn't exist?

Notis will report an error in your dashboard. You can configure it to skip, retry, or alert you.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

Notis builds workflows that link Telegram to Google Drive. A trigger fires from one place; an action lands in another.

Telegram logo

Telegram triggers

Google Drive logo

Google Drive actions

New Message Received

Triggered when your bot receives a new message in a private chat, group, or supergroup. To receive every message in a group, Privacy Mode must be disabled for the bot in BotFather.

TriggerInstant

Add file sharing preference

Modifies sharing permissions for an existing google drive file, granting a specified role to a user, group, domain, or 'anyone'.

ActionInstant

New Channel Post

Triggered when a new post is published to a channel where your bot is an administrator.

TriggerInstant

Copy file

Duplicates an existing file in google drive, identified by its `file id`.

ActionInstant

Callback Query Received

Triggered when a user taps an inline keyboard button attached to one of your bot's messages.

TriggerInstant

Create Comment

Tool to create a comment on a file. use when you need to add a new comment to a specific file in google drive.

ActionInstant

Message Edited

Triggered when a message in a chat your bot can see is edited by its sender.

TriggerInstant

Create Shared Drive

Tool to create a new shared drive. use when you need to programmatically create a new shared drive for collaboration or storage.

ActionInstant

New Chat Member

Triggered when a new member joins a group or supergroup the bot belongs to, including when the bot itself is added.

TriggerInstant

Create File or Folder

Creates a new file or folder with metadata. use to create empty files or folders, or files with content by providing it in the request body (though this action primarily focuses on metadata creation).

ActionInstant

Create a File from Text

Creates a new file in google drive from provided text content (up to 10mb), supporting various formats including automatic conversion to google workspace types.

ActionInstant

Create a folder

Creates a new folder in google drive, optionally within a parent folder specified by its id or name; if a parent name is provided but not found, the action will fail.

ActionInstant

Create Reply

Tool to create a reply to a comment in google drive. use when you need to respond to an existing comment on a file.

ActionInstant

Connect any two apps with Notis in the middle.

Not just Telegram and Google Drive. Any combination from 985+ integrations.

When this happens · Trigger

Do this · Action

Save your first hour today.

7 days free trial with 20$ free usage included.
No card. Works with personal or business Google Drive.