Description
n8n-nodes-viral-app
This is an n8n community node that lets you use ViralApp in your n8n workflows.
ViralApp is a comprehensive video analytics platform that provides insights and tracking for content across TikTok, Instagram, and YouTube. It helps creators and businesses monitor their social media performance, track competitors, and discover trending content.
n8n is a fair-code licensed workflow automation platform.
Table of Contents
- Installation
- Operations
- Credentials
- Compatibility
- Resources
- Development
- Publishing
- Version History
Installation
Follow the installation guide in the n8n community nodes documentation.
npm Installation
npm install n8n-nodes-viral-app
GUI Installation
1. Go to Settings > Community Nodes
2. Click Install
3. Enter n8n-nodes-viral-app
4. Click Install
Operations
The ViralApp node supports the following resources and operations:
Notes on dropdown search
Account Data
Video Data
Tracked Accounts
Tracked Individual Videos
Projects
Integrations
General Data
Credentials
To use this node, you need to authenticate with the ViralApp API.
Prerequisites
1. Sign up for a ViralApp account at viral.app
2. Navigate to your account settings
3. Generate an API key
Setting up credentials in n8n
1. In n8n, go to Credentials > New
2. Select ViralApp API from the list
3. Enter your API key
4. Click Save
Compatibility
Resources
Development
To contribute to this node or run it locally for development:
Install dependencies
pnpm installBuild the node
pnpm buildRun n8n with the node loaded
pnpm devRebuild TypeScript on changes without starting n8n
pnpm build:watchRun linter
pnpm lintRun linter and auto-fix
pnpm lint:fix
Publishing
Verified n8n community nodes must be published from GitHub Actions with npm provenance.
1. Configure npm Trusted Publishing for .github/workflows/publish.yml, or add an NPM_TOKEN repository secret.
2. Run the release flow locally:
pnpm release
The release command lints, builds, bumps the version, creates the Git tag, and pushes it. The tag triggers GitHub Actions, which publishes the package to npm with provenance. Direct local npm publish is blocked by prepublishOnly.
License
Version History
0.2.8
0.2.4
pnpm build and pnpm lint0.2.3
Expand Related option to Video Analytics → Get Many, enabling Stripe-style expand=projects responses for richer project dataexpand arrays using standard query encoding0.2.2
devDependencies to keep runtime footprint emptypairedItem for improved workflow debugging0.2.1
* Tracked Accounts refresh: Now uses simple account ID input instead of complex resourceLocator
* Tracked Individual Videos add/refresh: Now uses simple video ID input instead of resourceLocator
* Account ID: “Native platform account id”
* Video ID: “Platform-specific video ID”
* Platform: “Social media platform (tiktok, instagram, youtube)”
0.2.0
* Projects: Add name filter for searching projects
* GeneralAnalytics: Add contentTypes filter to interaction-metrics and KPIs operations
* Integrations: Add provider, search, sortCol, and sortDir parameters for comprehensive filtering
* TrackedIndividualVideos: Add search parameter for finding specific videos
* GeneralAnalytics: All 4 operations now support simplified output
* Projects: getAll operation returns essential fields only when simplified
* Integrations: getApps operation provides streamlined app information
* Properly format dates to YYYY-MM-DD for API compatibility
* Remove conflicting routing configurations
* Ensure consistent date processing across all operations
* Correct field mapping for getKpis (videoCount, viewCount, etc.)
* Fix getInteractionMetrics to properly access nested dailyMetrics array
* Remove non-existent fields and add missing ones (bookmarks)