Package Information
Available Nodes
Documentation
N8N Tools - Snapchat Enhanced
⚠️ Note: This package is not yet published to npm and is in development.
Complete Snapchat platform integration with 50+ operations covering the full Snapchat ecosystem. This N8N community node provides comprehensive access to Ads, Creative Studio, Insights, Audience, and Campaign management APIs specifically designed for Snapchat's unique advertising and content creation features.
✨ Features
- 🎯 Ads Management: Create, manage, and optimize Snapchat advertising campaigns
- 🎨 Creative Studio: Design and manage ad creatives, lenses, and filters
- 📊 Analytics & Insights: Track campaign performance, audience metrics, and ROI
- 👥 Audience Management: Create custom audiences, lookalikes, and targeting segments
- 💰 Campaign Optimization: Advanced bidding, budget management, and performance optimization
- 📱 Snap Ads: Full-screen vertical video ads optimized for mobile
- 🔍 Story Ads: Native advertising within Snapchat Stories
- 🎭 AR Lenses: Augmented reality advertising experiences
- 📈 Conversion Tracking: Track app installs, purchases, and custom events
- 🎬 Video Management: Upload, manage, and optimize video ad content
- 🔒 Secure API: Powered by N8N Tools platform with usage tracking and validation
🚀 Quick Start
Installation
Install this node in your N8N instance:
Via Community Nodes (Recommended)
- Go to Settings > Community Nodes in your N8N interface
- Click Install a community node
- Enter
n8n-nodes-n8ntools-snapchat - Click Install
Via npm
npm install n8n-nodes-n8ntools-snapchat
Setup Credentials
- Sign up at N8N Tools and get your API key
- In N8N, create new N8N Tools API credentials
- Enter your API URL:
https://api.n8ntools.io - Enter your API key
📋 Available Resources
🎯 Ads Management (10 Operations)
Complete advertising campaign management:
| Operation | Description | Features |
|---|---|---|
| Create Campaign | Set up new advertising campaigns | Budget, objectives, targeting |
| Update Campaign | Modify campaign settings | Optimization, scheduling |
| Get Campaign | Retrieve campaign details | Performance metrics, status |
| Delete Campaign | Remove advertising campaigns | Archive, permanent deletion |
| Create Ad Set | Set up ad sets within campaigns | Audience, placement, bidding |
| Update Ad Set | Modify ad set configuration | Targeting, budget allocation |
| Get Ad Set | Retrieve ad set performance | Metrics, optimization insights |
| Create Ad | Create individual ads | Creative assignment, tracking |
| Update Ad | Modify ad settings | Creative rotation, status |
| Get Ad Performance | Detailed ad analytics | CTR, conversion, spend data |
🎨 Creative Studio (8 Operations)
Creative content and asset management:
- Upload Creative: Upload images, videos, and creative assets
- Create Ad Creative: Design ad creatives with templates
- Update Creative: Modify existing creative content
- Get Creative Details: Retrieve creative performance data
- Create Lens: Design AR lenses and filters
- Update Lens: Modify lens properties and targeting
- Get Lens Analytics: Track lens engagement and usage
- Manage Creative Library: Organize and categorize creatives
📊 Analytics & Insights (7 Operations)
Performance tracking and analytics:
- Get Campaign Analytics: Campaign performance metrics
- Get Ad Set Analytics: Ad set performance data
- Get Creative Analytics: Creative performance insights
- Get Audience Insights: Demographic and behavioral data
- Get Conversion Data: Track conversion events and attribution
- Generate Reports: Custom performance reports
- Export Analytics: Download analytics data
👥 Audience Management (6 Operations)
Audience creation and targeting:
- Create Custom Audience: Upload customer lists and data
- Create Lookalike Audience: Find similar users to existing customers
- Update Audience: Modify audience definitions and rules
- Get Audience Size: Estimate audience reach and scale
- Delete Audience: Remove audience segments
- Audience Insights: Demographic and interest analysis
💰 Campaign Optimization (5 Operations)
Advanced campaign optimization tools:
- Set Bid Strategy: Configure bidding optimization
- Update Budget: Modify campaign and ad set budgets
- Optimize Delivery: Adjust delivery optimization settings
- A/B Test Setup: Create and manage split tests
- Performance Recommendations: AI-powered optimization suggestions
📱 Snap Ads (4 Operations)
Full-screen vertical video advertising:
- Create Snap Ad: Set up full-screen video ads
- Update Snap Ad: Modify video ad properties
- Get Snap Ad Performance: Track video ad metrics
- Optimize Video Delivery: Enhance video ad performance
🔍 Story Ads (3 Operations)
Native story advertising:
- Create Story Ad: Design native story advertisements
- Update Story Placement: Modify story ad placement
- Get Story Analytics: Track story ad engagement
🎭 AR Lenses (3 Operations)
Augmented reality advertising:
- Create AR Lens: Design interactive AR experiences
- Update Lens Properties: Modify AR lens settings
- Track Lens Usage: Monitor AR lens engagement
📈 Conversion Tracking (2 Operations)
Event and conversion management:
- Set up Pixel: Configure Snapchat Pixel tracking
- Track Custom Events: Monitor specific conversion actions
🎬 Video Management (2 Operations)
Video content optimization:
- Upload Video: Add video content for ads
- Optimize Video: Enhance video for Snapchat format
💡 Usage Examples
Create Full Snapchat Campaign
// Configuration
Resource: "Ads Management"
Operation: "Create Campaign"
Request Body: {
"name": "Summer Fashion Collection 2024",
"objective": "APP_INSTALLS",
"status": "ACTIVE",
"start_time": "2024-06-01T00:00:00Z",
"end_time": "2024-08-31T23:59:59Z",
"daily_budget_micro": 10000000,
"lifetime_budget_micro": 500000000,
"campaign_type": "REGULAR"
}
// Output
{
"resource": "ads",
"operation": "createCampaign",
"success": true,
"campaign_id": "12345678-1234-1234-1234-123456789012",
"name": "Summer Fashion Collection 2024",
"status": "ACTIVE",
"created_at": "2024-01-15T10:30:00Z",
"creditsUsed": 2,
"creditsRemaining": 98
}
Design AR Lens Campaign
// Configuration
Resource: "AR Lenses"
Operation: "Create AR Lens"
Request Body: {
"name": "Virtual Try-On Sunglasses",
"description": "Interactive AR lens allowing users to try on different sunglasses styles",
"category": "FASHION_BEAUTY",
"lens_type": "FACE_LENS",
"assets": {
"preview_image": "https://example.com/lens-preview.jpg",
"lens_file": "https://example.com/lens-package.zip",
"icon": "https://example.com/lens-icon.png"
},
"targeting": {
"age_groups": ["18-24", "25-34", "35-44"],
"interests": ["Fashion", "Beauty", "Lifestyle"],
"behaviors": ["Fashion Enthusiasts", "Beauty Shoppers"]
},
"scheduling": {
"start_time": "2024-06-01T00:00:00Z",
"end_time": "2024-06-30T23:59:59Z"
}
}
Create Custom Audience
// Configuration
Resource: "Audience Management"
Operation: "Create Custom Audience"
Request Body: {
"name": "High-Value Customers",
"description": "Customers who have made purchases over $200",
"audience_type": "CUSTOMER_LIST",
"retention_days": 180,
"data_source": {
"type": "EMAIL_HASH",
"data": [
"7e240de74fb1ed08fa08d38063f6a6a91462a815",
"8f3e7b2c9a1d4e6f8b0a2c5d7e9f1a3b5c7d9e1f",
"9a4b6c8d0e2f4a6b8c0d2e4f6a8b0c2d4e6f8a0b"
]
},
"match_rate_optimization": true
}
Comprehensive Campaign Analytics
// Configuration
Resource: "Analytics & Insights"
Operation: "Get Campaign Analytics"
Request Body: {
"campaign_ids": ["12345678-1234-1234-1234-123456789012"],
"start_date": "2024-06-01",
"end_date": "2024-06-30",
"granularity": "DAY",
"fields": [
"impressions",
"clicks",
"spend",
"conversions",
"ctr",
"cpc",
"cpm",
"conversion_rate",
"roas"
],
"breakdown": ["age", "gender", "placement"],
"conversion_source_types": ["APP_INSTALL", "PURCHASE", "SIGN_UP"]
}
Video Ad Optimization
// Configuration
Resource: "Video Management"
Operation: "Upload Video"
Request Body: {
"video_url": "https://example.com/summer-collection-video.mp4",
"video_name": "Summer Collection Showcase",
"duration": 15,
"aspect_ratio": "9:16",
"optimization": {
"auto_crop": true,
"enhance_quality": true,
"add_captions": true,
"optimize_for_mobile": true
}
}
// Then create Snap Ad
Resource: "Snap Ads"
Operation: "Create Snap Ad"
Request Body: {
"name": "Summer Collection Video Ad",
"ad_type": "SNAP_AD",
"creative_id": "creative_123456789",
"headline": "Discover Summer Styles",
"call_to_action": "INSTALL_NOW",
"deep_link": "myapp://summer-collection",
"web_view_properties": {
"url": "https://example.com/summer-collection",
"allow_snap_javascript_sdk": true
}
}
A/B Testing Setup
// Configuration
Resource: "Campaign Optimization"
Operation: "A/B Test Setup"
Request Body: {
"test_name": "Creative Performance Test",
"objective": "CONVERSIONS",
"test_type": "CREATIVE",
"variants": [
{
"name": "Video Creative A",
"creative_id": "creative_111111111",
"weight": 50
},
{
"name": "Video Creative B",
"creative_id": "creative_222222222",
"weight": 50
}
],
"test_duration_days": 14,
"confidence_level": 95,
"minimum_sample_size": 1000,
"budget_split": "EVEN"
}
⚙️ Configuration Options
Environment Settings
- Snapchat Ads Account: Connected advertising account
- API Version: Snapchat Marketing API version
- Timezone: Campaign timezone settings
- Currency: Billing currency (USD, EUR, GBP, etc.)
Campaign Options
- Objective: App installs, conversions, brand awareness
- Bid Strategy: Automatic, manual, target cost
- Placement: Snap Ads, Story Ads, Discover
- Optimization: Delivery, conversion, value
Creative Options
- Format: Video, image, collection, carousel
- Aspect Ratio: 9:16 (vertical), 16:9 (horizontal)
- Duration: 3-180 seconds for video content
- File Size: Up to 1GB for video uploads
Advanced Features
- AR Lenses: Interactive augmented reality
- Dynamic Ads: Automated product advertising
- Pixel Tracking: Conversion measurement
- Offline Conversions: Store visit tracking
🛠️ Example Workflows
E-commerce Campaign
[Product Catalog] → [Snapchat Enhanced: Upload Creative] → [Create Dynamic Ads] → [Track Conversions] → [Optimize Performance]
App Install Campaign
[App Store Assets] → [Snapchat Enhanced: Create Campaign] → [Set Up Install Tracking] → [Monitor Performance] → [Scale Successful Ads]
Brand Awareness
[Brand Video] → [Snapchat Enhanced: Create AR Lens] → [Launch Story Ads] → [Track Engagement] → [Analyze Reach]
Performance Marketing
[Audience Research] → [Snapchat Enhanced: Create Custom Audience] → [A/B Test Creatives] → [Optimize Bidding] → [Scale Winners]
📊 Comparison with Official Snapchat Node
| Feature Category | Official Node | Snapchat Enhanced | Improvement |
|---|---|---|---|
| Ads Management | 0 operations | 10 operations | ∞ (new) |
| Creative Studio | 0 operations | 8 operations | ∞ (new) |
| Analytics | 0 operations | 7 operations | ∞ (new) |
| Audience Management | 0 operations | 6 operations | ∞ (new) |
| Campaign Optimization | 0 operations | 5 operations | ∞ (new) |
| Snap Ads | 0 operations | 4 operations | ∞ (new) |
| Story Ads | 0 operations | 3 operations | ∞ (new) |
| AR Lenses | 0 operations | 3 operations | ∞ (new) |
| Conversion Tracking | 0 operations | 2 operations | ∞ (new) |
| Video Management | 0 operations | 2 operations | ∞ (new) |
| Total Operations | 0 operations | 50 operations | ∞ (all new) |
🔧 API Endpoints
All operations are routed through N8N Tools API for consistent authentication and usage tracking:
| Resource | Base Endpoint |
|---|---|
| Ads Management | /api/v1/snapchat/ads/ |
| Creative Studio | /api/v1/snapchat/creatives/ |
| Analytics & Insights | /api/v1/snapchat/analytics/ |
| Audience Management | /api/v1/snapchat/audiences/ |
| Campaign Optimization | /api/v1/snapchat/optimization/ |
| Snap Ads | /api/v1/snapchat/snap-ads/ |
| Story Ads | /api/v1/snapchat/story-ads/ |
| AR Lenses | /api/v1/snapchat/ar-lenses/ |
| Conversion Tracking | /api/v1/snapchat/conversions/ |
| Video Management | /api/v1/snapchat/video/ |
🚨 Error Handling
The node provides comprehensive error handling with detailed messages:
{
"error": "INVALID_CREATIVE_FORMAT",
"success": false,
"resource": "creatives",
"operation": "uploadCreative",
"details": {
"issue": "Video format not supported for Snapchat ads",
"field": "video_format",
"supported_formats": ["MP4", "MOV"],
"code": 400
}
}
💸 Pricing & Limits
- Standard Operations: 1 credit per API call
- Creative Upload Operations: 2 credits (video, AR lenses)
- Analytics Operations: 1 credit per query
- Monthly Quotas: Based on your N8N Tools subscription plan
- Rate Limits: Based on Snapchat Marketing API limits
- Usage Tracking: Real-time credit monitoring
🔧 Troubleshooting
Common Issues
Authentication Errors
- Verify N8N Tools API key is valid and active
- Check API URL is set to
https://api.n8ntools.io - Ensure Snapchat Ads account access permissions
Creative Upload Issues
- Check video format (MP4 recommended)
- Verify aspect ratio (9:16 for vertical)
- Ensure file size under limits (1GB max)
- Use proper video encoding
Campaign Setup Problems
- Verify daily/lifetime budget minimums
- Check targeting audience size
- Ensure proper objective selection
- Validate campaign dates
Performance Tracking
- Set up Snapchat Pixel correctly
- Verify event tracking implementation
- Check attribution windows
- Ensure proper app event setup
📈 Performance Tips
- Creative Optimization: Use vertical 9:16 aspect ratio videos
- Audience Targeting: Start broad, then narrow based on performance
- Budget Strategy: Use automatic bidding for optimal performance
- A/B Testing: Test different creatives and audiences
- Mobile-First: Design for mobile viewing and interaction
🆘 Support
- Documentation: docs.n8ntools.io
- API Reference: api.n8ntools.io/docs
- Community: Discord
- Email: support@n8ntools.io
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
Made with ❤️ by N8N Tools