Flowtly Get Work Time
AI-generatedOverview
This node retrieves work time entries from the Flowtly API for a specified organization. It supports filtering by employee ID, project ID, and date ranges, and can use input data from previous nodes for employee and project IDs. It is useful for scenarios where you need to analyze or report on work time data, such as tracking employee hours or project time allocation.
Use Case Examples
- Get all work time entries for an organization within a specific date range.
- Filter work time entries for a particular employee or project.
- Use employee or project IDs obtained from previous nodes to dynamically fetch related work time data.
Properties
| Name | Meaning |
|---|---|
| Organization ID | The Flowtly organization ID to query work time entries for. |
| Items Per Page | Number of work time entries to return per page from the API. |
| Employee ID | Filter work time entries by a specific employee ID (optional). Used if 'Use Employee from Input' is false. |
| Use Employee from Input | Boolean flag to determine if employee ID should be taken from previous node input. |
| Employee from Input | Employee ID taken from previous node input, used if 'Use Employee from Input' is true. |
| Project ID | Filter work time entries by a specific project ID (optional). Used if 'Use Project from Input' is false. |
| Use Project from Input | Boolean flag to determine if project ID should be taken from previous node input. |
| Project from Input | Project ID taken from previous node input, used if 'Use Project from Input' is true. |
| Date After | Filter work time entries to only include those after this date (optional). |
| Date Before | Filter work time entries to only include those before this date (optional). |
Output
JSON
success- Indicates if the API call was successful.token- Authentication token received from Flowtly API.organization- The organization ID used in the query.count- Number of work time entries returned.workTimes- Array of work time entries, each containing id, employee, project, date, seconds, description, and calculated hours.message- Summary message about the number of work time entries found.
Dependencies
- Flowtly API credentials (username and password)
Troubleshooting
- Common issues include authentication failures due to incorrect credentials, resulting in errors when logging in to the Flowtly API.
- API request timeouts or network issues may cause failures in fetching data.
- Invalid or missing required parameters like organization ID can cause the node to fail.
- Error messages typically indicate the failure reason, such as 'Failed to get work times' followed by the specific error message from the API.