Skip to content
Notis

Auto-Create Payment Intent From Invoice Files

Create an invoice file and Notis creates a payment intent in Stripe instantly. Send the payment link to your client right away.

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

Create payment intent

Creates a stripe paymentintent to initiate and process a customer's payment; using `application fee amount` for a connected account requires the `stripe-account` header.

Why this helps

You create a new invoice file with a standard naming convention, but have to manually create a payment intent in Stripe before sending the payment request to the client.

  • Payment intents are ready as soon as you create invoice files
  • Speed up the time from invoicing to payment request
  • Reduce manual steps in payment collection
  • Keep invoicing and payment processes in sync

Setup

Build it in a few focused steps.

  • 1Connect Google Drive and Stripe integrations.
  • 2Create an automation: 'When a new file matching my invoice naming pattern is created, create a payment intent in Stripe.'
  • 3Define your pattern (e.g., files named 'Invoice_*' or 'INV_*').
  • 4Select the trigger 'New File Matching Query' and set your notification channel.
  • 5Test by creating an invoice file and confirming the payment intent appears in Stripe.

Questions about this workflow

How does Notis extract the amount for the payment intent?

Notis can read the invoice amount from the filename (e.g., 'Invoice_John_500.pdf') or from the file contents if it's a structured format like Sheets or PDF.

Can it pre-fill customer information?

Yes. If your filename includes customer name or ID, Notis uses that to link the payment intent to the right customer in Stripe.

What if the amount changes after the intent is created?

Payment intents can be updated before confirmation. Notis can be configured to monitor for file updates and adjust amounts if needed.

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

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

Google Drive triggers

Stripe actions

Comment Added (Docs/Sheets/Slides)

Triggers when a new comment is added to Google Docs, Sheets, or Slides.

TriggerPolling

Cancel subscription

Cancels a customer's active stripe subscription at the end of the current billing period, with options to invoice immediately for metered usage and prorate charges for unused time.

ActionInstant

File Created

Triggers when a new file is created in Google Drive.

TriggerPolling

Confirm payment intent

Confirms a stripe paymentintent to finalize a payment; a `return url` is necessary if the payment method requires customer redirection.

ActionInstant

File Deleted or Trashed

Triggers when a file is moved to trash or permanently deleted in Drive.

TriggerPolling

Create Customer

Creates a new customer in stripe, required for creating charges or subscriptions; an email is highly recommended for customer communications.

ActionInstant

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.

TriggerPolling

Create an invoice

Creates a new draft stripe invoice for a customer; use to revise an existing invoice, bill for a specific subscription (which must belong to the customer), or apply detailed customizations.

ActionInstant

File Updated

Triggers when a file's metadata or content changes in Google Drive.

TriggerPolling

Create payment intent

Creates a stripe paymentintent to initiate and process a customer's payment; using `application fee amount` for a connected account requires the `stripe-account` header.

ActionInstant

Google Drive Changes

Triggers when changes are detected in a Google Drive.

TriggerPolling

Create a price

Creates a new stripe price for a product, defining its charges (one-time or recurring) and billing scheme; requires either an existing `product` id or `product data`.

ActionInstant

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``.

TriggerPolling

Create product

Creates a new product in stripe, encoding the request as `application/x-www-form-urlencoded` by flattening nested structures.

ActionInstant

Create Refund

Creates a full or partial refund in stripe, targeting either a specific charge id or a payment intent id.

ActionInstant

Connect any two apps with Notis in the middle.

Not just Google Drive and Stripe. Any combination from 1,000+ 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 Stripe.