Notificações Inteligentes icon

Notificações Inteligentes

NI Integration

Overview

This custom node is designed to create a new variable group in an external system via an API call. It is useful in scenarios where users want to organize variables into groups for better management and categorization within their workflows. For example, a user might create a variable group named "Marketing Campaign" to hold all variables related to a specific campaign, enabling easier reuse and maintenance.

Properties

Name Meaning
Name The name of the variable group to be created. This is a required string input that specifies how the new group will be identified.

Output

The node outputs JSON data representing the response from the API after creating the variable group. This typically includes details about the newly created group such as its ID, name, and possibly other metadata returned by the external service. The exact structure depends on the API's response but generally confirms successful creation and provides reference information for further use.

No binary data output is indicated in the source code.

Dependencies

  • Requires access to an external API at https://api.notificacoesinteligentes.com.
  • Needs an API authentication token or key configured within n8n to authorize HTTP requests.
  • Uses the helper method httpRequestWithAuthentication to perform authenticated API calls.
  • Timeout for API requests is set to 5 seconds.

Troubleshooting

  • Common issues:

    • Authentication failures if the API key/token is missing or invalid.
    • Network timeouts or connectivity problems with the external API.
    • Invalid or missing "Name" property causing the API to reject the request.
  • Error messages:

    • Errors related to HTTP request failures may occur if the API endpoint is unreachable or returns an error status.
    • If the "Name" property is empty or not provided, the API might respond with a validation error indicating that the group name is required.
  • Resolutions:

    • Ensure the API credentials are correctly set up in n8n.
    • Verify network connectivity and API availability.
    • Provide a valid, non-empty name for the variable group.

Links and References

Discussion