See llms.txt for all machine-readable content.

Back to Templates

Verify ID uploads against form data with PDF Vector, Airtable and Slack

Quick overview

Applicants upload a passport, driver license or ID card through an n8n form. PDF Vector reads it, the workflow checks name, date of birth and expiry against the form, logs the result in Airtable and asks a reviewer in Slack when something is off.

How it works

  1. An n8n Form Trigger asks for full name, date of birth, email and one ID file (PDF, JPG or PNG).
  2. The PDF Vector node runs the identity extractor on the file and returns document type, full name, date of birth, document number, issuing country and expiry date as JSON.
  3. A Code node compares the document with the form. Every word of the typed name must appear in the name on the document (accents and case are ignored), the birth dates must be equal, and the expiry date must be at least minDaysBeforeExpiry days away.
  4. One Airtable row is created per upload with the extracted values, only the last four characters of the document number, a status of Passed checks or Needs review, and the reasons. Each submission adds a new row, so an applicant who uploads again after a failed read or a review gets a second row with the same email.
  5. Uploads that need review are posted to Slack with a link to the Airtable row, where the reviewer sets the status. If PDF Vector cannot read the file or Airtable rejects the row, Slack gets a message with the applicant's email and the error.

Setup

  1. Install the verified community node n8n-nodes-pdfvector (tested with version 2.1.15 on n8n 2.46) and add a PDF Vector credential with an API key from app.pdfvector.com.
  2. Create an Airtable table with these columns: Applicant (text), Email (email), Document type (text), Name on document (text), Date of birth (date), Document number (last 4) (text), Issuing country (text), Expiry date (date), Status (single select with Passed checks, Needs review, Approved and Rejected), Problems (long text), Submitted at (date and time).
  3. Add Airtable and Slack credentials and invite the Slack app to the review channel.
  4. Open Set your configuration and paste the base ID (starts with app) and table ID (starts with tbl) from the table URL, and the Slack channel ID. Activate the workflow and send applicants the production form URL.

Requirements

  • PDF Vector account and API key (each document uses credits)
  • Airtable base for the check log
  • Slack workspace for review requests and failure alerts
  • n8n with the n8n-nodes-pdfvector community node

Customization

  • Change minDaysBeforeExpiry to require a longer validity, for example 180 days for travel or rental checks
  • Add a Gmail or Outlook node on the review branch to ask the applicant for a new upload
  • Add fields to the JSON schema in the PDF Vector node, such as address or nationality, and map them to new Airtable columns

Additional info

This is a first-pass consistency check, not identity verification: it does not detect forged documents or confirm that the person uploading is the holder. Strict name matching sends nicknames, transliterated names and missing middle names to review. n8n stores uploaded files in execution data, so turn off saving successful executions if you must not keep ID copies.