n8n-nodes-layerre
v1.0.1
Published
n8n community node for Layerre - create templates and variants from Canva designs
Readme
n8n-nodes-layerre
This is an n8n community node for Layerre - a platform for creating templates and variants from Canva designs.
n8n is a fair-code licensed workflow automation platform.
Installation
Operations
Credentials
Usage
Contributing
License
Installation
Follow the installation guide in the n8n community nodes documentation.
npm install n8n-nodes-layerreOperations
Template
- Create - Create a new template from a Canva design URL
- Get - Get a template by ID with all its layers
- Get Many - List all templates for the current user
- Delete - Delete a template
Variant
- Create - Create a new variant with layer overrides (text, images, colors, positions, etc.)
- Get - Get a variant by ID
- Get Many - List all variants for a template
- Delete - Delete a variant
Credentials
To use this node, you need a Layerre API key:
- Log in to your Layerre account
- Go to API Keys
- Create a new API key
- Copy the key (starts with
lyr_)
In n8n:
- Go to Credentials → Add Credential
- Search for "Layerre API"
- Paste your API key
Usage
Creating a Template from Canva
- Add the Layerre node to your workflow
- Select Template as the resource
- Select Create as the operation
- Paste your Canva share URL (e.g.,
https://www.canva.com/design/...) - Execute the node
The node will return the template with all extracted layers.
Creating a Variant with Overrides
- Add the Layerre node to your workflow
- Select Variant as the resource
- Select Create as the operation
- Choose a template from the dropdown (dynamically loaded from your account)
- (Optional) Set variant dimensions (width/height) to override the template size
- Add layer overrides:
- Select a layer from the dropdown (dynamically loaded from the selected template)
- Configure override options:
- Text layers: text content, color, font name, font size, font weight, italic, underline, text align, letter spacing, line spacing
- Image layers: image URL, opacity, flip horizontal/vertical
- All layers: position (x, y), size (width, height), rotation, color
- Execute the node
The node will render the variant and return the image URL.
Example: Bulk Image Generation
[Spreadsheet] → [Loop Over Items] → [Layerre: Create Variant] → [Download Image]Use data from a spreadsheet to create personalized images at scale by mapping columns to layer overrides.
Contributing
Contributions are welcome! Here's how to get started:
Development Setup
Fork the repository on GitHub
Clone your fork:
git clone https://github.com/YOUR_USERNAME/n8n-nodes-layerre.git cd n8n-nodes-layerreInstall dependencies:
npm installInstall n8n globally:
npm install n8n -gStart development mode (runs n8n with the node loaded):
npm run devMake your changes and test in the n8n UI
Building
npm run buildLinting
npm run lint
npm run lint:fix # Auto-fix issuesSubmitting Changes
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
