Skip to content
Notis

Extract Invoice Data Automatically

Stop retyping invoices into accounting software. Automatically extract amounts, dates, vendor names, and line items when invoices arrive in Notion.

Trigger

New Page

Triggers when a new page is added to a Notion database.

Action

Create Document

Tool to upload a new document for parsing. use when you have the document file or a public url and need to extract structured data immediately.

Why this helps

Invoices are scattered across email, Slack, and PDFs. Retyping invoice data into accounting systems is tedious, error-prone, and requires constant context-switching. Missing invoices means missed payments and damaged vendor relationships.

  • Extract invoice amounts and dates in seconds
  • Eliminate manual accounting data entry
  • Catch duplicate invoices automatically
  • Build an auditable vendor invoice history

Setup

Build it in a few focused steps.

  • 1Connect Notion and Affinda to Notis in the portal (done once for all automations).
  • 2In the Notis portal, create a new automation called 'Invoice Auto-Ingestion'.
  • 3Set the trigger to 'New Page' in your Notion Invoices database to fire each time an invoice is added.
  • 4Write the automation prompt: 'When an invoice page is created, extract the invoice PDF or image and parse it with Affinda. Get invoice number, vendor name, amount due, due date, and line items. Store in a structured format.'
  • 5Select your notification channel and test with a real invoice from one of your regular vendors.

Questions about this workflow

Will this work for handwritten or old-style invoices?

Yes. Affinda handles scanned invoices, images, and handwritten documents. OCR processing captures data even from faded or poorly scanned files.

What if invoices use different formats or currencies?

Affinda recognizes multiple invoice layouts and currency formats. Notis extracts the data consistently regardless of vendor format variations.

Can I automatically push extracted invoice data to my accounting software?

Yes. You can create a follow-up automation that takes Affinda's structured data and syncs it to QuickBooks, Xero, or FreshBooks via their APIs.

How does this handle invoices with multiple payment terms or conditions?

Affinda extracts payment terms, discount codes, and conditions. Include in your prompt: 'Also capture discount opportunities and payment term details for negotiation tracking.'

When this happens · Trigger

Do this · Action

Supported Triggers and Actions

Notis builds workflows that link Notion to Affinda. A trigger fires from one place; an action lands in another.

Notion triggers

Affinda actions

Recurring trigger

Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.

TriggerScheduled

Batch Update Annotations

Tool to update multiple annotations in one request. use when you need to modify parsed values or other fields across many annotations at once.

ActionInstant

Webhook trigger

Notis starts this workflow when an external tool or custom backend sends an HTTP request.

TriggerInstant

Create Collection

Tool to create a new collection. use after you have a valid workspace id and want to group documents by a specific extractor within that workspace.

ActionInstant

All Page Events

Triggers when any Notion page is created or updated across the workspace.

TriggerPolling

Create Document

Tool to upload a new document for parsing. use when you have the document file or a public url and need to extract structured data immediately.

ActionInstant

Comment Created

Triggers when a new comment is created in Notion. Optional `page_id` filter scopes to comments on a specific page. When omitted, fires for any new comment in the workspace the integration has access to. Requires the 'Read comments' capability on the Notion integration. If a connection was authorized before that capability was enabled, the user must re-authorize the connection for comment events to flow.

TriggerInstant

Create Organization

Tool to create a new organization. use when you have a unique organization name and want to group resources under it.

ActionInstant

New Comment

Triggers when a new comment is added to a specified Notion block or page.

TriggerPolling

Create RESTHook Subscription

Tool to create a new resthook subscription. use after confirming your webhook endpoint is ready to receive document event notifications.

ActionInstant

Database Created

Triggers when a new Notion database (the container) is created. A database is the post-2025-09-03 container that holds one or more data sources. This trigger fires for the container's creation event (`database.created`), distinct from `NOTION_DATASOURCE_CREATED` which fires when a new data source is added to an existing database. Most customers calling Notion's `POST /v1/databases` (the legacy API) or creating a database via the Notion UI will see this event. Adding a new data source to an existing database fires `data_source.created` instead — use `NOTION_DATASOURCE_CREATED` for that. Notion's payload puts `entity.type: "block"` (the container is a `child_database` block in the content tree) and `entity.id` is the database id.

TriggerInstant

Create Tag

Tool to create a new tag. use when you need to label documents in a specific workspace.

ActionInstant

Data Source Created

Triggers when a new Notion data source is created. Fires workspace-wide. The payload's `data.parent` carries the data source's tree parent (typically the teamspace) for downstream filtering. A single template-based database creation can fire multiple `data_source.created` events at once — one per data source the template instantiates.

TriggerInstant

Create Validation Result

Tool to create a validation result. use when recording validation outcomes for a document after parsing.

ActionInstant

Data Source Schema Updated

Triggers when a Notion data source's schema is updated. Fires on column add / remove / rename. Payload includes `data.updated_properties: [{id, name, action}]` so consumers can discriminate the kind of change downstream. Optional `data_source_id` filter scopes to schema changes on a single data source. When omitted, fires for any schema change in the workspace the integration has access to. Note: adding a column also fires `page.properties_updated` once per existing row in the data source. Customers wanting a single structural-change signal should use this trigger.

TriggerInstant

Create Workspace

Tool to create a new workspace. use when you need to programmatically create a workspace container within an organization.

ActionInstant

Connect any two apps with Notis in the middle.

Notion and Affinda, 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 Affinda.