n8n-nodes-diro
v0.1.10
Published
n8n community node for Diro - Document automation API
Maintainers
Readme
n8n-nodes-diro
This is an n8n community node for Diro - a document automation platform that generates PDF/PNG documents from templates.
n8n is a fair-code licensed workflow automation platform.
Features
- Generate Documents: Create PDF or PNG documents from templates with dynamic data
- Manage Documents: List, retrieve, and delete generated documents
- Manage Templates: List and retrieve your document templates
Installation
Follow the installation guide in the n8n community nodes documentation.
npm install n8n-nodes-diroCredentials
To use this node, you need a Diro API key:
- Sign up at www.getdiro.com
- Go to Dashboard > API Keys
- Create a new API key (requires Pro or Enterprise plan)
- Copy the API key (starts with
diro_)
Operations
Document
| Operation | Description | |-----------|-------------| | Generate | Generate a new document from a template | | Get | Get a document by ID | | Get Many | List all documents | | Delete | Delete a document |
Template
| Operation | Description | |-----------|-------------| | Get | Get a template by ID (includes field definitions) | | Get Many | List all templates |
Usage
Generate a Document
- Add the Diro node to your workflow
- Select Document as the resource
- Select Generate as the operation
- Enter the Template ID (from your Diro dashboard)
- Enter the Data as JSON:
{
"name": "John Doe",
"score": 85,
"date": "2024-01-15"
}- (Optional) Set format to PDF or PNG
- Execute the node
The response includes the document ID and download URL (pdfUrl).
Example Workflow
[Webhook] -> [Diro: Generate Document] -> [Send Email with PDF link]Resources
Support
- For Diro-related issues: [email protected]
- For node bugs: GitHub Issues
