Sifuim icon

Sifuim

Custom operations

Overview

The node provides a set of custom text and data processing operations under a single "Custom" resource. Specifically, the Messages Check operation compares two pieces of text content to determine if there are additional messages or differences between them. This can be useful in scenarios such as:

  • Detecting new messages or updates in chat logs.
  • Comparing versions of text content for changes.
  • Monitoring content updates in messaging or notification systems.

For example, you might input an original message and a newer message to check if the latter contains any additional information or changes.

Properties

Name Meaning
CJ Token Your API token from sifuim.com required to authenticate requests to the external service.
Content 1 The original content to compare against. Example: "hello world!"
Content 2 The new content to check for additional messages. Example: "hello world! my life very nice.."

Output

The output JSON object contains the following fields:

  • content1: The original content string provided as input.
  • content2: The new content string provided as input.
  • status: A status indicator returned by the comparison function, likely representing whether new messages were detected or if contents match.
  • text: Additional textual information or result details about the comparison.

This output allows downstream nodes or workflows to programmatically assess differences or updates between two text inputs.

Dependencies

  • Requires a valid API token ("CJ Token") from the external service at sifuim.com.
  • The node calls an external API or service to validate the token and deduct credits per operation.
  • No other explicit environment variables or configurations are needed beyond providing the API token.

Troubleshooting

  • Invalid or missing API token: The node requires a valid CJ Token. If omitted or incorrect, the node will fail authentication. Ensure the token is correctly entered.
  • API credit deduction failure: The node attempts to deduct credits after each operation. If this fails, it may indicate insufficient credits or connectivity issues with the external service.
  • Unsupported operation or resource errors: If the node is configured with an unknown resource or operation, it throws an error indicating the unsupported action.
  • Content format issues: Providing empty or malformed content strings may lead to unexpected results or errors in comparison.

To resolve these issues, verify the API token validity, ensure sufficient credits on the external service, and provide properly formatted input content.

Links and References

  • sifuim.com — Official site for obtaining the CJ Token and related API documentation (assumed based on token description).

Discussion