Digitalsac Izing Pro icon

Digitalsac Izing Pro

Interage com a API do Digitalsac

Overview

This node integrates with the Digitalsac API to perform various operations related to customer service automation and validation tasks. Specifically, for the "Validar Data" (Validate Date) operation, it sends a JSON-formatted date to the API to verify its validity.

Common scenarios where this node is beneficial include:

  • Validating date inputs in workflows before proceeding with scheduling or data processing.
  • Automating customer support processes that require date verification.
  • Integrating with other systems that need confirmation of date formats or correctness.

Practical example:

  • A workflow receives user input containing a date string. Before creating an appointment or booking, the node validates the date using the Digitalsac API to ensure it is correctly formatted and valid.

Properties

Name Meaning
Dados (JSON) JSON object containing the date to be validated. Example: {"data": "2024-01-15"}

Output

The node outputs a JSON object representing the response from the Digitalsac API after validating the date. The exact structure depends on the API's response but typically includes information about whether the date is valid or details about any errors.

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential for authenticating with the Digitalsac API.
  • The node makes HTTP requests to the Digitalsac base URL configured in the credentials.
  • Proper network access to the Digitalsac API endpoint is necessary.

Troubleshooting

  • Invalid JSON Format Error:
    If the "Dados (JSON)" property contains malformed JSON, the node will throw an error:
    "Formato de JSON inválido para Dados (JSON)"
    Resolution: Ensure the JSON syntax is correct and properly formatted.

  • API Authentication Errors:
    If the API key is missing or invalid, requests will fail.
    Resolution: Verify that the API key credential is correctly set up and has proper permissions.

  • Unexpected API Response or Network Issues:
    Errors during the HTTP request will be returned in the output under an error field.
    Resolution: Check network connectivity, API availability, and review the error message for details.

Links and References

Discussion