Review 2chat API usage when Drive changes
Use a meaningful Drive update as a reminder to check current 2chat API usage before planning further account requests.
Trigger
File Updated
Triggers when a file's metadata or content changes in Google Drive.
Action
Get API Usage Info
Tool to retrieve current api usage and account information. use when you need to monitor your remaining quotas before sending more requests.
Why this helps
API usage checks are easy to forget when a work item changes in Drive and follow-up depends on knowing current capacity.
- Retrieve current API usage and account information after a Drive change
- Keep a quota review tied to a relevant work update
- Give the run report a clear point of reference
Setup
Build it in a few focused steps.
- 1Connect Google Drive and 2chat once in the Notis portal.
- 2Create an automation from any channel or in Automations, New Automation; give it a name and prompt.
- 3In one instruction, ask Notis to retrieve 2chat API usage and account information and summarize the returned usage in the run report.
- 4Pick the Google Drive File Updated trigger and choose where run reports go.
- 5Test with one real Drive file update and review the usage report.
Questions about this workflow
Does this action send a WhatsApp message?
No. The selected 2chat action retrieves API usage and account information; it does not send messages.
Does the report include a quota limit?
It can summarize the account information returned by 2chat. Any limit not present in that response must be supplied separately.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Google Drive to 2chat. A trigger fires from one place; an action lands in another.
Google Drive triggers
2chat actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Create Contact
Tool to create a new contact in your 2chat account. use after gathering and verifying first name and at least one contact detail (email, phone, or address).
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Get API Usage Info
Tool to retrieve current api usage and account information. use when you need to monitor your remaining quotas before sending more requests.
Comment Added (Docs/Sheets/Slides)
Triggers when a new comment is added to Google Docs, Sheets, or Slides.
List Contacts
Tool to list all contacts in your 2chat account. use when you need to retrieve your contact list after confirming your account connection.
File Created
Triggers when a new file is created in Google Drive.
List Webhook Subscriptions
Tool to list all configured webhook subscriptions. use when you need to audit or review your active whatsapp webhook subscriptions.
File Deleted or Trashed
Triggers when a file is moved to trash or permanently deleted in Drive.
Test API Key
Tool to validate your api key and retrieve account info. use when confirming credentials before performing other operations.
File Shared (Permissions Added)
Triggers when new sharing permissions are granted to a file or folder. Uses Drive's `changes.list` endpoint with inline `permissions` in the `fields` mask so each change carries the file's current permission set provider-atomically. We diff that against `seen_permission_keys` to identify newly added grants. Drive page tokens are the primary cursor; if Drive rejects a stored token, the trigger raises `PollingTriggerError` without clearing state rather than silently re-baselining and dropping events. Limitation: truly ephemeral permissions (added and revoked between two polls without any other file modification in between) are not detected. Drive Activity API would catch those but requires an additional OAuth scope and a different payload contract.
File Updated
Triggers when a file's metadata or content changes in Google Drive.
Google Drive Changes
Triggers when changes are detected in a Google Drive.
Connect any two apps with Notis in the middle.
Google Drive and 2chat, or any other combination from 1,000+ integrations.
When this happens · Trigger
Do this · Action
Save your first hour today.
7-day trial of any paid plan, with 20$ of usage included.
No card. Works with personal or business 2chat.