Check a shared Drive roster against 2chat contacts
When a roster is shared, Notis can retrieve your 2chat contacts and summarize any clear matches or gaps it can establish from the available data.
Trigger
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.
Action
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.
Why this helps
A shared roster can prompt follow-up work, but checking it against a separate contact list means opening multiple apps and comparing names by hand.
- Start a roster review from a real Drive permission change
- Get the current 2chat contact list for comparison
- Receive a report that identifies only differences supported by the available file and contact data
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 contacts after a file is shared and compare them with a contact roster in that file when available; report only supported matches and gaps.
- 4Pick the Google Drive File Shared (Permissions Added) trigger and choose where run reports go.
- 5Test by sharing one real file containing a roster and review the comparison report.
Questions about this workflow
Does this workflow change the 2chat contact list?
No. Its selected action retrieves the contact list. The workflow can report comparison results but does not add or edit contacts.
What if the shared file has no contact roster?
Tell Notis to report that the file did not provide a roster for comparison.
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.