0CodeKit icon

0CodeKit

A toolbox of no-code utilities

Actions132

AI → Detect Mood

AI-generated

Overview

The node "0CodeKit" provides a collection of no-code utility tools grouped under various resources, including Artificial Intelligence (AI). Specifically, the AI resource includes an operation to detect the mood and sentiment from a given text input. This operation analyzes textual content to determine the emotional tone or mood conveyed by the text.

This node is beneficial in scenarios such as:

  • Customer feedback analysis to gauge customer satisfaction.
  • Social media monitoring to understand public sentiment.
  • Chatbot interactions to adapt responses based on user mood.
  • Content moderation or marketing to tailor messages according to detected emotions.

For example, you can input a sentence like "I am feeling great today! The weather is wonderful." and the node will analyze this text to detect the underlying mood or sentiment.

Properties

Name Meaning
Text Content The text content to analyze for mood and sentiment detection. Example: "I am feeling great today! The weather is wonderful."

Output

The node outputs a JSON object containing the results of the mood detection analysis. This typically includes the detected mood or sentiment classification derived from the input text. The exact structure depends on the external API response but generally contains fields indicating the mood category and possibly confidence scores.

No binary data output is involved in this operation.

Dependencies

  • Requires an API key credential for authentication with the 0CodeKit service.
  • The node sends a POST request to the endpoint /ai/mooddetection on the base URL https://prod.0codekit.com.
  • Proper configuration of the API key credential within n8n is necessary for successful requests.

Troubleshooting

  • Common issues:

    • Missing or invalid API key credential will cause authentication failures.
    • Providing empty or invalid text content may result in errors or empty responses.
    • Network connectivity problems can prevent reaching the external API.
  • Error messages:

    • Authentication errors typically indicate issues with the API key; verify that the credential is correctly set up.
    • Validation errors may occur if the "Text Content" property is empty or too short; ensure meaningful text is provided.
    • Timeout or network errors suggest connectivity issues; check your internet connection and firewall settings.

Links and References

Discussion