Trend Rating Calculator

Calculate video trend rating using a simple formula

Overview

This node calculates a video trend rating based on user content, competition, and views using a specific formula. It is useful for evaluating the potential success of video content by providing a numerical rating and an interpretation of the video's trend status. Practical applications include content performance analysis, marketing strategy optimization, and identifying viral potential.

Use Case Examples

  1. A content creator inputs their video metrics to get a trend rating and decide whether to invest more in promotion.
  2. A marketing team evaluates multiple videos to prioritize which ones to optimize or push further based on their trend ratings.

Properties

Name Meaning
userContent The amount or level of user-generated content related to the video, used as a factor in the trend rating calculation.
competition The level of competition for the video content, which must be greater than 0 and influences the rating formula.
views The number of views the video has received, which cannot be negative and affects the trend rating.

Output

JSON

  • rating - The calculated trend rating score for the video, rounded to two decimal places.
  • interpretation - A textual interpretation of the rating indicating the video's trend status (e.g., Viral, Great Success, Good Performance).
  • userContent - The input value for user content used in the calculation.
  • competition - The input value for competition used in the calculation.
  • views - The input value for views used in the calculation.
  • timestamp - The ISO timestamp when the rating was calculated.

Troubleshooting

  • Ensure that the 'competition' input is greater than 0; otherwise, the node throws an error 'Competition must be greater than 0'.
  • Ensure that the 'views' input is not negative; otherwise, the node throws an error 'Views cannot be negative'.
  • If the node is set to continue on failure, errors for individual items will be output as error messages in the JSON output instead of stopping execution.

Discussion