Auto-fill PDF forms with AI using Autype, OpenAI, and Google Drive
UnknownWhat this workflow does
This AI workflow has 11 nodes and runs manually, when you click “Execute workflow”. Along the way it connects OpenAI Chat Model, Google Drive and Autype (community). It also calls drive.google.com over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Download PDF Form (HTTP Request): calls drive.google.com
- Upload PDF Form (Autype): work with file
- Get Form Fields (Autype): form fields (document tools)
- Wait: waits 10 seconds
- Get tool job status (Autype): get job status (document tools)
- AI Agent: runs an AI agent, with model: OpenAI Chat Model
- Prepare Fill Data (Code): runs custom JavaScript code
- Fill PDF Form (Autype): fill form (document tools)
- Save Filled PDF to Drive (Google Drive): uses Google Drive
Services it uses
HTTP calls to: drive.google.com
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that n8n-nodes-autype is verified or supports 3.0 (used in Upload PDF Form, Get Form Fields, Fill PDF Form).
Nodes used (8)
- Manual Trigger
n8n-nodes-base.manualTrigger - HTTP Request
n8n-nodes-base.httpRequest - Autype
n8n-nodes-autype.autype - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Code
n8n-nodes-base.code - Google Drive
n8n-nodes-base.googleDrive - Wait
n8n-nodes-base.wait
From the author
Important: This workflow uses the Autype community node and requires a self-hosted n8n instance. This workflow downloads a fillable PDF form from a URL, extracts all form field names and types using Autype, sends the field list to an AI Agent (OpenAI)…