Matomo icon

Matomo

Use the Matomo API

Actions539

Overview

This node integrates with the Matomo API to perform various operations related to user management, including inviting users. It allows users to specify the resource and operation, along with query parameters and request body data, to interact with the Matomo API endpoints. For the 'Users Manager' resource and 'Invite User' operation, it sends an invitation to a new user via the Matomo API. This node is useful for automating user management tasks in Matomo, such as inviting users, setting access levels, and managing user roles.

Use Case Examples

  1. Invite a new user by providing their email and desired access level to the Matomo instance.
  2. Automate user invitations as part of a workflow to onboard new team members to Matomo analytics.

Properties

Name Meaning
Query Parameters Collection of optional parameters to customize the API request for inviting a user, such as email, access level, and other user-related settings.

Output

JSON

  • json - The JSON response from the Matomo API after inviting a user, which may include success status or error details.

Dependencies

  • Matomo API with an API token for authentication

Troubleshooting

  • Ensure that the Matomo domain and authentication token are correctly configured in the node credentials; missing these will cause errors.
  • Verify that the query parameters include all required fields for inviting a user, such as a valid email address.
  • Check the API response for error messages indicating issues like insufficient permissions or invalid parameters.
  • If the API returns a 204 No Content status, it means the request was successful but no data was returned.

Discussion