smarthr_invite_employee
WRITE, SENDS AN EMAIL: Invite an employee to SmartHR. SmartHR emails the address stored on the employee (the employee must have one) an invitation to create their login and, with an input form, to fill in their own data. Asking again re-sends it (and updates the invited address if it changed). An employee who already accepted cannot be invited again. Confirm with the user before calling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Employee id (from smarthr_list_employees); the employee needs an email address. | |
| inviter_user_id | Yes | User id of the inviting administrator (from smarthr_list_users, an administrator). | |
| crew_input_form_id | No | Employee information collection form id (from smarthr_list_employee_input_forms); its mail format is used. |