Ivanti icon

Ivanti

Interact with Ivanti API

Overview

The Ivanti node for n8n allows you to interact with the Ivanti API, specifically targeting various business objects such as Events. The Event: Get Count operation retrieves the number of Event records that match specified criteria. This is useful in scenarios where you need to monitor, report, or trigger workflows based on the count of events meeting certain conditions (e.g., how many open events exist).

Practical examples:

  • Triggering alerts if the number of open events exceeds a threshold.
  • Generating reports on event volumes over time.
  • Automating follow-up actions when specific types of events reach a certain count.

Properties

Name Meaning
Query Parameters Additional query parameters to filter results. Includes:
- Result Filter: An OData expression to filter the events (e.g., Status eq 'Open').

Output

The output will be a JSON object containing the count of Event records matching the provided filter. The structure typically looks like:

{
  "count": 42
}
  • count: The number of Event records that satisfy the filter criteria.

Dependencies

  • External Service: Requires access to an Ivanti API endpoint.
  • Credentials: Needs an n8n credential named IvantiApi with at least a baseUrl property configured.
  • n8n Configuration: No special configuration beyond credentials and standard node setup.

Troubleshooting

Common issues:

  • Invalid Credentials: If the IvantiApi credentials are missing or incorrect, authentication errors will occur.
  • Malformed Filter Expressions: Incorrect OData filter syntax in the "Result Filter" may result in API errors.
  • Network/SSL Issues: Since SSL certificate validation is skipped by default, ensure your network environment is secure.

Common error messages:

  • "401 Unauthorized": Check your Ivanti API credentials.
  • "400 Bad Request": Likely due to a malformed filter expression; review your OData syntax.
  • "ENOTFOUND" or "ECONNREFUSED": Indicates connectivity issues to the Ivanti API endpoint.

Links and References

Discussion