Actions101
- Attendance Actions
- Client Actions
- Department Actions
- Designation Actions
- Employee Actions
- Holiday Actions
- KPI Actions
- KPI Category Actions
- KPI Data Actions
- Lead Actions
- Leave Actions
- OKR Key Result Actions
- OKR Objective Actions
- Performance Cycle Actions
- Project Actions
- Project Category Actions
- Task Actions
- Task Category Actions
- Ticket Actions
- Ticket Agent Actions
- Ticket Channel Actions
- Ticket Type Actions
Overview
The node provides integration with the Flowyteam API to manage employee records, specifically supporting the update operation for employees. It allows updating various details of an existing employee such as name, email, joining date, contact information, status, login permissions, and organizational attributes like department and designation.
This node is beneficial in HR automation workflows where employee data needs to be kept current without manual intervention. For example, when an employee changes their phone number or department, this node can automatically update the record in the Flowyteam system. It can also be used to enable or disable employee login access or update passwords securely.
Properties
| Name | Meaning |
|---|---|
| Name | Full name of the employee (required) |
| Email address of the employee (required) | |
| Joining Date | Date when the employee joined the company, in YYYY-MM-DD format (required) |
| Mobile | Employee mobile phone number |
| Gender | Employee gender; options: Male, Female |
| Status | Employee status; options: Active, Inactive |
| Login | Whether the employee can login to the system; options: Enable, Disable |
| Locale | Employee locale/language preference (e.g., "en") |
| Custom Employee ID | Custom identifier for the employee used by the API |
| Address | Employee address |
| Department ID | Numeric ID representing the employee's department |
| Designation ID | Numeric ID representing the employee's designation |
| Preferred Name | Employee preferred name |
| Username | Employee username for login |
| Timezone | Employee timezone (e.g., "Asia/Jakarta") |
| Password | New password for the employee (optional, used only during update) |
| Employee ID | ID of the employee to update (required) |
Output
The node outputs JSON data representing the updated employee record as returned by the Flowyteam API. This typically includes all employee fields after the update has been applied, confirming the new state of the employee data.
No binary data output is involved.
Dependencies
- Requires a valid API authentication token credential configured in n8n to connect to the Flowyteam API.
- The node depends on the Flowyteam API being accessible and the user having appropriate permissions to update employee records.
Troubleshooting
Common issues:
- Missing required fields such as
Employee ID,Name,Email, orJoining Datewill cause errors. - Invalid date formats for
Joining Datemay result in API rejection. - Insufficient permissions or invalid API credentials will lead to authentication errors.
- Providing invalid numeric IDs for
Department IDorDesignation IDmay cause failures.
- Missing required fields such as
Error messages:
- Errors indicating unsupported operations or resources suggest misconfiguration of resource/operation parameters.
- Authentication errors require checking the API key or token setup.
- Validation errors from the API usually specify which field is incorrect or missing.
To resolve these, ensure all required properties are correctly set, verify API credentials, and confirm that referenced department/designation IDs exist in the system.
Links and References
- Flowyteam API Documentation (generic link, replace with actual if available)
- n8n documentation on Creating Custom Nodes
- Best practices for managing employee data securely and compliantly