Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various operations related to the 'Custom Alert' resource, specifically the 'Get Alerts' operation among many others. It allows users to retrieve, add, edit, delete, and manage custom alerts within Matomo, a web analytics platform. This node is useful for automating the monitoring and management of custom alerts in Matomo, enabling workflows that respond to specific analytics conditions or thresholds.

Use Case Examples

  1. Automatically fetch all custom alerts for a given site to monitor key metrics.
  2. Add a new custom alert with specific parameters to track unusual activity.
  3. Edit an existing alert to update its conditions or notification settings.
  4. Delete an alert that is no longer needed to keep the alert list clean.

Properties

Name Meaning
Query Parameters A collection of optional parameters to filter or specify details for the API request, such as alert ID, site ID, limit, filter conditions, and other Matomo-specific query options.

Output

JSON

  • json - The JSON response from the Matomo API containing alert data or operation results.

Dependencies

  • Requires Matomo API credentials including domain URL and authentication token.

Troubleshooting

  • Ensure that the Matomo domain URL and authentication token are correctly configured in the node credentials; missing these will cause errors.
  • Verify that the query parameters are correctly formatted and valid for the selected operation to avoid API errors.
  • Check the operation and resource names to ensure they match supported Matomo API methods.
  • If the API response is empty or unexpected, confirm that the Matomo instance is accessible and the API endpoint is correct.

Links

Discussion