CrunchzApp icon

CrunchzApp

Interact with CrunchzApp API

Overview

This node interacts with the CrunchzApp API to request a One-Time Password (OTP) link for a specified contact. It is useful in scenarios where you need to send an OTP link to a user’s contact for authentication, verification, or secure access purposes. For example, a service might use this node to generate and send an OTP link to a customer’s WhatsApp contact to verify their identity before allowing sensitive operations.

Properties

Name Meaning
Contact Id The Contact ID for which the OTP link is being requested (e.g., 6281357541789@c.us).
Expires The expiration time for the OTP link in seconds.
Message A JSON object representing the message content to be sent along with the OTP link.
Callback A JSON object defining callback information related to the OTP link request.
Name The name of the company or service requesting the OTP link.

Output

The node outputs JSON data containing the response from the CrunchzApp API after requesting the OTP link. This typically includes details about the OTP link creation status, any identifiers, and metadata returned by the API. There is no indication that binary data is output by this node.

Dependencies

  • Requires an active API key credential for CrunchzApp API authentication.
  • The node sends HTTP requests to https://api.crunchz.app/api.
  • Proper configuration of the API key credential within n8n is necessary for successful operation.

Troubleshooting

  • Common Issues:

    • Invalid or missing Contact Id can cause the API to reject the request.
    • Incorrectly formatted JSON in the Message or Callback fields may lead to parsing errors.
    • Expiration time set to zero or negative values might result in immediate expiry or rejection.
    • Network connectivity issues or invalid API credentials will prevent successful communication with the CrunchzApp API.
  • Error Messages:

    • Authentication errors usually indicate invalid or missing API credentials; ensure the API key is correctly configured.
    • Validation errors from the API often point to missing required properties or malformed JSON inputs; verify all required fields are provided and properly formatted.
    • Timeout or network errors suggest connectivity problems; check your internet connection and API endpoint accessibility.

Links and References

Discussion