Package Information
Documentation
TailURL n8n### š TailURL Node (Operations)
- URL Shortening: Create shortened URLs with custom slugs and titles
- List URLs: Get all URLs for a team with pagination support
- QR Code Generation: Generate QR codes with customizable sizes
- Analytics: Retrieve comprehensive analytics data
- Webhook Management: Create, list, and delete webhooks
- Team Support: Full team-based organization supportty Nodes
Complete n8n integration for TailURL API - URL shortening, QR codes, webhooks, and analytics automation
šÆ Overview
This package provides comprehensive n8n nodes for integrating with TailURL's powerful API. Built specifically for the TailURL n8n.io Integration Guide, it enables real-time event-driven automation for URL management, analytics tracking, and QR code operations.
š Features
ļæ½ TailURL Node (Operations)
- URL Shortening: Create shortened URLs with custom slugs and titles
- Bulk Operations: Create and update multiple URLs efficiently
- QR Code Generation: Generate QR codes with customizable sizes
- Analytics: Retrieve comprehensive analytics data
- Webhook Management: Create, list, and delete webhooks
- URL Templates: Create and use templates for bulk URL generation
- Team Support: Full team-based organization support
ļæ½ TailURL Trigger Node (Webhooks)
- Real-time Events: Listen for URL clicks, creation, updates, and deletions
- QR Code Events: Track QR code generation and scanning
- Analytics Alerts: Respond to analytics thresholds
- Team Events: Monitor team member changes
- Security: HMAC signature verification for webhook authenticity
- Filtering: Advanced URL and event filtering options
- API Key Authentication: Secure credential management
- Error Handling: Comprehensive error handling with detailed messages
- Retry Logic: Automatic retry for failed operations
- Input Validation: Robust validation for all parameters
Installation
NPM Installation
npm install n8n-nodes-tailurl
Manual Installation
- Download the latest release
- Extract to your N8N custom nodes directory
- Restart your N8N instance
Quick Start
1. Configure Credentials
- In N8N, go to Settings > Credentials
- Create new TailURL API credential
- Enter your API key and base URL
- Test the connection
2. Use the TailURL Node
- Add TailURL node to your workflow
- Select desired operation
- Configure parameters
- Execute the workflow
3. Set Up Webhooks (Optional)
- Add TailURL Trigger node
- Configure events to monitor
- Set up webhook URL in TailURL dashboard
- Create automation workflows
Operations
URL Shortening
{
"operation": "shortenUrl",
"originalUrl": "https://example.com/very/long/url",
"folderId": "folder_123",
"options": {
"customSlug": "my-link",
"title": "My Important Link",
"generateQr": true
}
}
QR Code Generation
{
"operation": "generateQr",
"qrUrl": "https://short.ly/abc123",
"qrOptions": {
"size": 400,
"format": "png",
"errorCorrection": "M"
}
}
List URLs
{
"operation": "listUrls",
"teamId": "team_123",
"limit": 50,
"offset": 0
}
Analytics Retrieval
{
"operation": "getAnalytics",
"analyticsUrl": "url_123",
"analyticsOptions": {
"dateRange": {
"startDate": "2025-01-01",
"endDate": "2025-01-31"
},
"groupBy": ["date", "country"],
"includeDetails": true
}
}
Webhook Events
The TailURL Trigger node supports the following events:
url.created- New URL createdurl.updated- URL updatedurl.deleted- URL deletedurl.clicked- URL clicked by userqr.generated- QR code generatedqr.scanned- QR code scannedanalytics.threshold- Analytics threshold reachedteam.member.added- Team member addedteam.member.removed- Team member removed
Example Workflows
Social Media Automation
Trigger: TailURL Trigger (url.created)
ā
Process: Format social media post
ā
Action: Post to Twitter, LinkedIn, Facebook
Marketing Campaign Tracking
Trigger: TailURL Trigger (url.clicked)
ā
Process: Update lead score in CRM
ā
Condition: If high-value lead
ā
Action: Notify sales team
Content Distribution
Trigger: Schedule (Daily)
ā
Process: Fetch new blog posts
ā
Action: Create short URLs with TailURL
ā
Action: Generate QR codes
ā
Action: Update content calendar
Advanced Configuration
Resource Locators
The node uses dynamic resource locators for:
- Folders: Browse and select folders with autocomplete
- URLs: Search and select existing URLs
- Teams: Choose from available teams
Error Handling
// Automatic retry on network errors
// Detailed error messages with context
// Graceful fallback for partial failures
Rate Limiting
// Built-in rate limiting respect API limits
// Request batching for bulk operations
// Connection pooling for optimal performance
API Reference
Authentication
All requests require a valid TailURL API key:
Authorization: Bearer your-api-key-here
Base URL
Configure your TailURL instance base URL:
https://your-domain.tailurl.com
Request Format
{
"originalUrl": "https://example.com",
"folderId": "folder_123",
"customSlug": "my-link"
}
Response Format
{
"success": true,
"data": {
"id": "url_123",
"slug": "my-link",
"destination": "https://example.com",
"shortUrl": "https://short.ly/my-link",
"qrCode": {
"id": "qr_456",
"downloadUrl": "https://short.ly/qr/qr_456.png"
}
}
}
Troubleshooting
Common Issues
Authentication Errors
- Verify API key is correct and active
- Check base URL format (include https://)
- Ensure API key has required permissions
Webhook Issues
- Verify webhook URL is accessible from internet
- Check webhook signature if using secret
- Review N8N logs for detailed error messages
Rate Limiting
- Monitor API usage in TailURL dashboard
- Use bulk operations for multiple items
- Implement delays between requests if needed
Debug Mode
Enable debug logging by setting:
export N8N_LOG_LEVEL=debug
Support
Documentation
Community
Commercial Support
For enterprise support and custom development:
- Email: support@tailurl.com
- Website: https://tailurl.com/enterprise
Contributing
We welcome contributions! Please see our Contributing Guide for details.
Development Setup
# Clone repository
git clone https://github.com/tailurl/n8n-nodes-tailurl.git
cd n8n-nodes-tailurl
# Install dependencies
npm install
# Build for development
npm run dev
# Run tests
npm test
# Build for production
npm run build
Code Style
- TypeScript with strict mode
- ESLint with N8N node rules
- Prettier for formatting
- Jest for testing
License
MIT License - see LICENSE file for details.
Changelog
v1.0.0
- Initial release
- URL shortening operations
- QR code generation
- Analytics retrieval
- Webhook trigger node
- Comprehensive error handling
Made with ā¤ļø for the N8N community