JigsawStack icon

JigsawStack

Use JigsawStack API

Actions20

Overview

This node integrates with the JigsawStack API to perform spam detection on provided text inputs. It is designed to analyze one or multiple pieces of text and determine whether they contain spam content. This functionality is useful in scenarios such as filtering user-generated content, moderating comments, or preventing spam messages in communication platforms.

For example, a user can input several chat messages or email bodies, and the node will return an analysis indicating which texts are likely spam, enabling automated moderation or alerting systems.

Properties

Name Meaning
Text The text(s) to check for spam. Multiple values can be provided, allowing batch processing of several text entries at once.

Output

The node outputs JSON data containing the results of the spam detection analysis for each input text. Each output item corresponds to an input text and includes information about whether the text is considered spam and possibly additional metadata from the API response.

If the node supports binary data output (not indicated here), it would typically relate to any attachments or media processed alongside the text, but this node focuses on textual spam detection only.

Dependencies

  • Requires an API key credential for authenticating requests to the JigsawStack API.
  • The node sends requests to the base URL https://api.jigsawstack.com/v1.
  • Proper configuration of the API key credential within n8n is necessary for successful operation.

Troubleshooting

  • Common issues:

    • Missing or invalid API key: The node will fail to authenticate with the JigsawStack API. Ensure the API key credential is correctly set up.
    • Empty or improperly formatted text input: The node requires at least one string of text to analyze. Providing empty arrays or non-string types may cause errors.
    • Network connectivity problems: Since the node relies on external API calls, network issues can lead to timeouts or failed requests.
  • Error messages:

    • Authentication errors typically indicate issues with the API key; verify the credential.
    • Validation errors may occur if the "Text" property is missing or empty; ensure required fields are populated.
    • API rate limits or quota exceeded errors suggest usage limits have been reached; consult your JigsawStack account.

Links and References

Discussion