Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various operations on different Matomo resources. Specifically, for the Scheduled Report resource with the Update Report operation, it updates an existing scheduled email report in Matomo. The node constructs the appropriate API request URL and method based on the selected resource and operation, sends the request with provided query parameters and request body, and returns the API response. This node is useful for automating Matomo report management, such as updating scheduled reports with new settings or parameters.

Use Case Examples

  1. Updating a scheduled report to change its email recipients or report format.
  2. Modifying the schedule or content of an existing Matomo scheduled report via API.

Properties

Name Meaning
Query Parameters Key-value pairs of query parameters to include in the API request, allowing fine control over the API call.
Request Body JSON object representing the request body to send with the API call, used for POST, PUT, PATCH operations.

Output

JSON

  • response - The JSON response returned from the Matomo API call, containing data or confirmation of the requested operation.

Dependencies

  • Matomo API credentials (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 selected resource and operation are supported by the Matomo API and that the query parameters and request body are correctly formatted.
  • Check network connectivity and Matomo server availability to avoid request failures.
  • If the API returns an error, review the error message and stack trace provided by the node for debugging.

Discussion