CT Coach Dev icon

CT Coach Dev

Interact with HttpBin API

Activity → Get User Activities List

AI-generated

Overview

This node interacts with the Coach API to retrieve and manage user activity data and related information. Specifically, for the "Activity" resource and the "Get User Activities List" operation, it fetches a list of activities associated with a specified user. This is useful in scenarios where you want to analyze or report on a user's engagement or performance within a coaching or CRM system.

Practical examples include:

  • Retrieving all activities performed by a user to generate performance reports.
  • Monitoring user engagement over time by listing their activities.
  • Integrating user activity data into dashboards or other analytics tools.

Properties

Name Meaning
Authentication Method of authentication to use: "Company Api" (using an API key credential) or "System Api" (using a system key credential).
User ID The unique identifier of the user whose activities you want to retrieve.

Output

The node outputs JSON data representing the list of user activities retrieved from the Coach API. The structure of the JSON depends on the API response but typically includes details about each activity such as activity IDs, timestamps, descriptions, and any relevant KPI values or statuses associated with those activities.

No binary data output is produced by this operation.

Dependencies

  • Requires access to the Coach API endpoints.
  • Needs either a company API key credential or a system API key credential configured in n8n for authentication.
  • Network connectivity to https://coachtriggerapp.com is necessary.

Troubleshooting

  • Authentication errors: If the API key or system key is invalid or missing, the node will fail to authenticate. Ensure that the correct credentials are set up in n8n and selected properly in the node's "Authentication" property.
  • Missing required parameters: The "User ID" property is mandatory. Omitting it will cause the request to fail.
  • API endpoint issues: If the Coach API service is down or unreachable, requests will fail. Check network connectivity and API status.
  • Unexpected response format: If the API returns an error or unexpected data, the node may throw parsing errors. Verify the API response and ensure the user ID is valid.

Links and References

Discussion