CoachTrigger Live icon

CoachTrigger Live

Interact with coach trigger action liveelopment server API

Overview

This node interacts with the CoachTrigger API to retrieve or update various user-related data and activities. Specifically, for the Activity resource and the Get User Questions List operation, it fetches a list of questions associated with a particular user, optionally filtered by date. This can be useful in scenarios where you want to analyze or display the questions a user has asked or been assigned within a coaching or training platform.

Practical examples include:

  • Retrieving all questions a user has interacted with on a specific day.
  • Generating reports or dashboards showing user engagement through questions.
  • Integrating user question data into other workflows for personalized coaching follow-ups.

Properties

Name Meaning
Authentication Choose between "Company Api" (using a company-level API key) or "System Api" (using a system-level API key).
User ID The unique identifier of the user whose questions list you want to retrieve.
Date Optional date string to filter the questions list for a specific day.

Output

The node outputs a JSON object containing the response from the CoachTrigger API endpoint /crmApi/user/questions. This JSON typically includes the list of questions related to the specified user and date. The exact structure depends on the API response but generally contains question details such as question text, IDs, timestamps, and possibly status or answers.

No binary data output is involved in this operation.

Dependencies

  • Requires an API key credential configured in n8n, either at the company level or system level, depending on the selected authentication method.
  • Makes HTTP POST requests to the CoachTrigger API endpoints hosted at https://www.coachtriggerapp.com.
  • Proper network access to the CoachTrigger API server is necessary.

Troubleshooting

  • Authentication errors: Ensure that the correct API key is provided and that it has sufficient permissions to access user questions.
  • Missing or invalid User ID: The User ID property is required; missing or incorrect values will cause the API call to fail.
  • Date format issues: If filtering by date, ensure the date string is in the expected format accepted by the API.
  • API response parsing errors: If the API returns unexpected data or errors, verify the API status and credentials.
  • Network connectivity: Confirm that your environment can reach https://www.coachtriggerapp.com.

Links and References

Discussion