Find prospect phone details when a file is shared
Make newly shared prospect research more complete with a phone lookup.
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
Search Phone Numbers
Find mobile phone numbers using email address and/or LinkedIn profile URL. Returns list of phone numbers with confidence scores and optional WhatsApp verification. Best results when both email and LinkedIn URL are provided.
Why this helps
A shared prospect brief can reach a teammate without the contact channel they need for follow-up.
- Use file sharing as a cue to complete contact research.
- Search with email or LinkedIn profile URL when available.
- Return confidence scores for phone results.
Setup
Build it in a few focused steps.
- 1Connect Google Drive and Datagma once in the Notis portal.
- 2Create an automation in Automations, New Automation, and give it a name.
- 3Tell Notis to identify the prospect in a newly shared file and search for phone numbers using available email or LinkedIn details.
- 4Pick the File Shared trigger and choose where run reports go.
- 5Test with one real prospect file sharing change.
Questions about this workflow
What starts the workflow?
A newly granted sharing permission on a file or folder starts the File Shared event.
What does Datagma return?
It can return phone numbers with confidence scores and optional WhatsApp verification when available.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Google Drive to Datagma. A trigger fires from one place; an action lands in another.
Google Drive triggers
Datagma actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Detect Job Change
Tool to detect if a contact changed jobs. Use when verifying a contact’s current employment details by email.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Enrich Person or Company
Enrich person or company data using LinkedIn URLs, emails, domains, or names. Returns enriched data including: contact information, LinkedIn profiles, company details, work experience, education, phone numbers (with phoneFull), and company metrics. Input types: LinkedIn profile URL (~100% success), email (~60% success), name+company (~90% success), company domain/name, or SIREN number (French companies).
Comment Added (Docs/Sheets/Slides)
Triggers when a new comment is added to Google Docs, Sheets, or Slides.
Find Work Email
Find verified work email address for a person using their name and company. Returns a professionally verified email address with validation metadata including SMTP checks and MX records. Requires either fullName or firstName+lastName, plus company domain or LinkedIn company slug.
File Created
Triggers when a new file is created in Google Drive.
Get Credits
Get the current credit balance for the authenticated Datagma API account. Use this to check how many API credits remain before making enrichment calls.
File Deleted or Trashed
Triggers when a file is moved to trash or permanently deleted in Drive.
Get Twitter Profile By Email
Retrieve Twitter account information associated with an email address. This action looks up Twitter username and display name for a given email address using Datagma's enrichment database. Returns Twitter username, display name, and the queried email if a match is found, or status 'NOT_FOUND' if no Twitter account is associated with the email. Use this when you need to: - Find someone's Twitter handle from their email address - Verify if an email has an associated Twitter account - Enrich contact data with social media information
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.
Get Twitter Profile by Username
Enrich Twitter profile data using Datagma's database. Returns contact information (email), social media profiles (LinkedIn, Facebook, GitHub), and professional details (skills, interests, industry) associated with a Twitter username. Note: Not all usernames are in Datagma's database. A 'not found' response (code 5) indicates the username hasn't been indexed yet.
File Updated
Triggers when a file's metadata or content changes in Google Drive.
Reverse Phone Lookup
Tool to reverse-lookup information associated with a phone number. Use when you have a phone number and need associated details (e.g., carrier, location).
Google Drive Changes
Triggers when changes are detected in a Google Drive.
Search Phone Numbers
Find mobile phone numbers using email address and/or LinkedIn profile URL. Returns list of phone numbers with confidence scores and optional WhatsApp verification. Best results when both email and LinkedIn URL are provided.
Connect any two apps with Notis in the middle.
Google Drive and Datagma, 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 Datagma.