AvantGuard - ConnectSecure icon

AvantGuard - ConnectSecure

AvantGuard - ConnectSecure

Actions223

Overview

This node allows users to create a new Event Set by sending a POST request to an external API. It is useful in scenarios where you want to programmatically define or update event sets within a system that supports such entities, for example, managing alert configurations or grouping events for monitoring purposes.

A practical example would be automating the creation of event sets with specific alert rules and default settings as part of a larger workflow that manages security or operational alerts.

Properties

Name Meaning
X USER ID The user identifier required for authentication or tracking purposes in the API request.
Additional Body Fields Optional JSON fields to include in the request body. Currently supports:
- data: A JSON object representing additional data for the event set, e.g., alert rules and default status.

The X USER ID is sent as a header named X-USER-ID. The Additional Body Fields allow customization of the request payload, particularly the data field which can contain complex JSON structures like alert rules arrays and flags indicating if the event set is default.

Output

The node outputs the JSON response from the API after creating the event set. This typically includes details about the newly created event set such as its ID, configuration, and status.

No binary data output is indicated.

Dependencies

  • Requires an API key credential for authenticating requests to the external service.
  • The base URL for the API must be configured in the node credentials.
  • The node uses a third-party OpenAPI client library (@avantguardllc/n8n-openapi-node) to build and send requests based on an OpenAPI specification.

Troubleshooting

  • Missing or invalid X USER ID header: The API may reject requests without a valid user ID header. Ensure this property is set correctly.
  • Malformed JSON in Additional Body Fields: If the JSON provided in the data field is invalid, the request will fail. Validate JSON syntax before execution.
  • API authentication errors: Verify that the API key credential is correctly configured and has necessary permissions.
  • Network or connectivity issues: Check the base URL and network access to the API endpoint.

Links and References

  • OpenAPI Specification — Understanding how the node builds requests.
  • Documentation for the external API (not provided here) should be consulted for detailed information on the Event Set resource and its fields.

Discussion