Actions13
- User Actions
- Activity Actions
- Message Actions
Activity → Get Daily Report STATUS
AI-generatedOverview
This node interacts with the Coach API to retrieve or update various user and activity-related data. Specifically, for the Activity resource and the Get Daily Report STATUS operation, it fetches the status of a user's daily report for a specified date.
Common scenarios where this node is beneficial include:
- Monitoring daily performance or activity reports of users in a coaching or CRM system.
- Automating workflows that depend on the daily status of user activities.
- Integrating daily report statuses into dashboards or notifications.
For example, you could use this node to automatically check if a user has completed their daily activity report and trigger follow-up actions based on the report's status.
Properties
| Name | Meaning |
|---|---|
| Authentication | Choose between "Company Api" (using a company API key) or "System Api" (using a system API key). |
| User ID | The unique identifier of the user for whom the daily report status is requested. |
| Date | The specific date for which to retrieve the daily report status. |
Output
The node outputs a JSON object containing the daily report status data as returned by the Coach API. The exact structure depends on the API response but typically includes fields indicating the status and possibly metadata about the daily report for the given user and date.
No binary data output is produced by this operation.
Example output snippet (structure may vary):
{
"status": "completed",
"date": "2024-06-01",
"user_id": "12345",
"details": {
// additional report status details
}
}
Dependencies
- Requires an API authentication token, either a company API key or a system API key, configured in n8n credentials.
- Connects to the external Coach API endpoint at
https://coachtriggerapp.com/crmApi/report/daily-status. - Proper credential setup in n8n is necessary to authenticate requests.
Troubleshooting
- Authentication errors: Ensure that the correct API key credential is selected and properly configured. Invalid or missing keys will cause authorization failures.
- Missing required parameters: The
User IDproperty is mandatory. Omitting it will result in errors from the API. - Invalid date format: The
Dateparameter should be in a valid date string format recognized by the API; otherwise, the request might fail or return unexpected results. - API response parsing errors: If the API returns malformed JSON or unexpected data, the node may throw parsing errors. Verify the API's availability and response format.
- Network issues: Connectivity problems can cause request failures. Check network access and proxy settings if applicable.
Links and References
- Coach API Documentation (assumed URL for reference)
- n8n HTTP Request Node documentation: https://docs.n8n.io/nodes/n8n-nodes-base.httpRequest/ (for understanding underlying request mechanics)