Sifuim icon

Sifuim

Custom operations

Overview

This custom node provides various text transformation and utility operations, including converting regular text into Malaysian shortform style messages. The "Shortform Messages" operation specifically takes an input text and converts it into a shortened, informal Malaysian style of writing commonly used in casual messaging. This can be useful for social media posts, SMS marketing, chatbots, or any application where concise, colloquial Malaysian text is preferred.

For example, given the input text:

Saya suka awak, nanti kita jumpa ya..

The node will output a shortened version that mimics typical Malaysian texting slang.

Properties

Name Meaning
CJ Token Your API token from sifuim.com required to authenticate and authorize the request.
Text The text string to convert into Malaysian shortform style. Example: "Saya suka awak..."

Output

The node outputs a JSON object with the following structure:

{
  "originalText": "string",    // The original input text provided by the user.
  "shortformText": "string"    // The converted text in Malaysian shortform style.
}

No binary data is produced by this operation.

Dependencies

  • Requires a valid API token ("CJ Token") from the external service sifuim.com.
  • The node internally calls helper functions that validate the API token and deduct credits per usage.
  • No additional environment variables or n8n credentials are explicitly required beyond providing the API token as an input property.

Troubleshooting

  • Invalid or missing API token: The node requires a valid CJ Token to function. Ensure you have entered your API token correctly.
  • API credit deduction failure: If the node fails to deduct credits after processing, it may still return results but could indicate issues with your account balance or token validity.
  • Unsupported operation error: If you select an operation other than those implemented (including "shortformMessages"), the node will throw an error indicating the operation is not implemented.
  • Resource unknown error: Selecting a resource other than "custom" will cause an error.
  • Empty or invalid text input: Providing empty or non-string text may result in unexpected output or errors.

To resolve these issues, verify your API token, ensure correct input values, and confirm that the selected resource and operation are supported.

Links and References

  • sifuim.com — Official site for obtaining the CJ Token and documentation on the API.
  • n8n Documentation — For general guidance on using custom nodes and handling credentials.

Discussion