n8n-nodes-pdf-form-trigger
v0.1.1
Published
Custom Form Trigger nodes with customizable colors, no n8n branding, and AI-powered PDF analysis
Maintainers
Readme
n8n-nodes-pdf-form-trigger
Custom Form Trigger node for n8n with customizable colors, no n8n branding, and AI-powered PDF analysis using Azure Document Intelligence.
🚀 Features
- ✅ Custom Branding: Remove n8n branding and customize colors to match your brand
- ✅ Multiple Form Types:
- Custom Form (text, email, number, textarea)
- Standard Form Trigger
- PDF Form with AI Analysis
- ✅ AI-Powered PDF Analysis: Upload PDFs and extract data using Azure Document Intelligence
- ✅ Flexible Styling: Customize button colors, background colors, and text colors
- ✅ Webhook-Based: Receive form submissions directly in your n8n workflows
📦 Installation
Option 1: Via n8n UI (Recommended)
- Open your n8n instance
- Go to Settings → Community Nodes
- Click Install
- Enter:
n8n-nodes-pdf-form-trigger - Click Install
- Restart n8n
Option 2: Via Environment Variable
Add to your n8n environment variables:
N8N_CUSTOM_EXTENSIONS=n8n-nodes-pdf-form-triggerFor Docker/Docker Compose:
services:
n8n:
image: n8nio/n8n:latest
environment:
- N8N_CUSTOM_EXTENSIONS=n8n-nodes-pdf-form-trigger
ports:
- "5678:5678"For Coolify:
- Go to your n8n service settings
- Add environment variable:
- Key:
N8N_CUSTOM_EXTENSIONS - Value:
n8n-nodes-pdf-form-trigger
- Key:
- Restart the service
Option 3: Manual Installation (Self-Hosted)
cd ~/.n8n
npm install n8n-nodes-pdf-form-triggerThen restart n8n.
🎨 Usage
1. Custom Form
Create a branded form with custom colors:
- Add PDF Form Trigger node to your workflow
- Select Form Type:
Custom Form - Configure fields:
- Text inputs
- Email fields
- Number fields
- Textareas
- Customize colors:
- Primary Color: Button and accent color
- Background Color: Form background
- Text Color: Form text color
- Save and get your form URL
2. PDF Form with AI Analysis
Upload PDFs and extract data automatically:
- Add PDF Form Trigger node
- Select Form Type:
PDF Form - Configure Azure Document Intelligence:
- Endpoint: Your Azure endpoint URL
- API Key: Your Azure API key
- Customize styling (optional)
- Users can upload PDFs via the form
- Extracted data flows into your workflow
Azure Setup:
- Create an Azure Document Intelligence resource
- Get the endpoint and API key from Azure Portal
- Add credentials to the node
3. Standard Form Trigger
Use the default n8n form trigger with custom styling:
- Add PDF Form Trigger node
- Select Form Type:
Form Trigger - Configure fields
- Customize colors (optional)
🔧 Configuration Options
Form Fields
- Field Name: Internal name for the field
- Field Label: Display label shown to users
- Field Type: text, email, number, textarea
- Required: Make field mandatory
Styling
- Primary Color: Hex color for buttons and accents (e.g.,
#007bff) - Background Color: Form background color (e.g.,
#ffffff) - Text Color: Form text color (e.g.,
#333333)
PDF Analysis (PDF Form only)
- Azure Endpoint: Your Azure Document Intelligence endpoint
- Azure API Key: Your API key (stored securely)
📊 Output Data
Custom Form / Form Trigger
{
"fieldName1": "value1",
"fieldName2": "value2",
"email": "[email protected]"
}PDF Form
{
"pdfData": {
"content": "Extracted text...",
"fields": {
"field1": "value1",
"field2": "value2"
},
"tables": [...],
"keyValuePairs": {...}
},
"fileName": "document.pdf",
"fileSize": 12345
}🛠️ Development
Prerequisites
- Node.js >= 18
- npm >= 9
- n8n >= 1.0.0
Build
npm install
npm run buildDevelopment Mode
npm run dev🐛 Troubleshooting
Node Not Showing Up
- Check n8n logs for installation errors
- Ensure package name is correct:
n8n-nodes-pdf-form-trigger - Restart n8n after installation
- Clear browser cache
PDF Analysis Not Working
- Verify Azure credentials are correct
- Check Azure endpoint URL (should end with
/formrecognizer/) - Ensure API key has proper permissions
- Check Azure subscription quota
Custom Colors Not Applied
- Ensure hex colors are valid (e.g.,
#007bff) - Clear browser cache
- Try different color values
📝 License
MIT © Subhan Qamar
🔗 Links
🤝 Contributing
Contributions, issues, and feature requests are welcome!
⭐ Support
If you find this node helpful, please give it a star on GitHub!
