Bring direct matchup history into matching files
When a new file matches your Drive query, Notis can compare the two teams it names and summarize their available head-to-head fixtures.
Trigger
New File Matching Query
Triggers when a new Google Drive file matches a provided query. This is the legacy query-centric trigger: it preserves Drive API query config such as ``corpora`` / ``driveId`` aliases and emits the historical ``file_matching_query`` event type. ``FileCreatedTrigger`` covers the broader "new file" case and emits ``file_created``.
Action
Get Head-to-Head Fixtures
Tool to get head-to-head fixtures between two teams. use after determining team ids to compare their direct match history.
Why this helps
Matchup history is easy to overlook when a new report appears among many Drive files and requires a separate search.
- Responds to the legacy new file matching query trigger.
- Uses both teams identified in the file for a direct matchup lookup.
- Keeps results in the run report tied to the matching document.
Setup
Build it in a few focused steps.
- 1Connect Google Drive and API-Sports once in the Notis portal.
- 2Create an automation and give it a name.
- 3In one instruction, ask Notis to inspect newly matching files, identify two teams, retrieve their API-Sports head-to-head fixtures, and summarize the returned history.
- 4Choose New File Matching Query as the trigger and select where run reports should go.
- 5Test with one real file that matches the existing Drive query and names both teams.
Questions about this workflow
What if the matching file only identifies one team?
The head-to-head action needs two team ids. The report should identify which team detail is missing.
Does this change the Drive query?
No. This workflow uses the existing New File Matching Query trigger and responds when a new file matches it.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Google Drive to Api sports. A trigger fires from one place; an action lands in another.
Google Drive triggers
Api sports actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Get Coaches
Tool to fetch coaches and their career history. use when you need coach info by id, team filter, or name search.
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Get Countries
Tool to fetch available countries for league queries. use when filtering by name, code, or search string before retrieving leagues.
Comment Added (Docs/Sheets/Slides)
Triggers when a new comment is added to Google Docs, Sheets, or Slides.
Get Fixtures
Tool to retrieve football fixtures/matches. use when filtering fixtures by id, date, league, season, team, or date ranges to get upcoming or past matches.
File Created
Triggers when a new file is created in Google Drive.
Get fixtures events
Tool to get events (goals, cards, substitutions, var, etc.) from a fixture. use when you need detailed event data after confirming the fixture id.
File Deleted or Trashed
Triggers when a file is moved to trash or permanently deleted in Drive.
Get Head-to-Head Fixtures
Tool to get head-to-head fixtures between two teams. use after determining team ids to compare their direct match history.
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 Fixture Lineups
Tool to retrieve starting xi and substitutes for a fixture. use after confirming fixture id; optionally filter by team, player, or section (startxi/substitutes). lineups appear ~20-40 minutes before kickoff for supported competitions.
File Updated
Triggers when a file's metadata or content changes in Google Drive.
Get fixtures players
Tool to get player statistics from a fixture. use when you need detailed per-player stats for a specific match. optionally filter by team.
Google Drive Changes
Triggers when changes are detected in a Google Drive.
Get Fixtures Rounds
Tool to get the rounds for a league or cup. use after confirming league and season to retrieve available round identifiers (optionally with dates) for filtering fixtures.
Connect any two apps with Notis in the middle.
Google Drive and Api sports, 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 Api sports.