# 将 SmartHR 接入 Open Flow

Source: https://openflow.run/zh-cn/integrations/smarthr/

[全部集成](https://openflow.run/zh-cn/integrations/)

![](https://static.oomol.com/logo/third-party/smarthr.svg)

准备新员工入职资料、维护员工信息，并及时更新部门、职务与雇用类型。

*   [54 个工具](https://openflow.run/zh-cn/integrations/smarthr/#integration-actions)
*   API 密钥
*   效率工具

[连接 SmartHR](https://console.openflow.run/connections/smarthr)

每月 20,000 次免费应用调用（付费服务另计）

## 可以做什么

查询、创建、更新、邀请和删除员工，通过文件链接提交附件；管理部门、雇用类型、职务、职级、职种和招聘类别。查询邀请表单、用户、工资支付形式、银行账户配置及自定义字段。

### 员工生命周期

查询、创建、更新、邀请和删除员工，或清空其部门归属。

### 组织与字段信息

读取公司、事业所、部门、雇用类型和自定义字段信息。

### 部门管理

创建、部分更新、完整更新和停用部门。

### 组织主数据

查询和维护职务、职级、职种、招聘类别及雇用类型。

### 入职配置查询

为员工入职查找用户、邀请表单、工资支付形式和银行账户配置。

## 所有工具

54 个工具

### Create Employment Type

创建 SmartHR 雇用类型。系统预设及待生效变更限制由 SmartHR 校验。

`smarthr.create_employment_type`

### Update Employment Type

部分更新 SmartHR 雇用类型，保留未指定的属性。系统预设及待生效变更限制由 SmartHR 校验。

`smarthr.update_employment_type`

### Replace Employment Type

使用完整更新接口修改 SmartHR 雇用类型；如需保留未指定属性，请使用部分更新。系统预设及待生效变更限制由 SmartHR 校验。

`smarthr.replace_employment_type`

### Delete Employment Type

删除 SmartHR 雇用类型。系统预设及待生效变更限制由 SmartHR 校验。

`smarthr.delete_employment_type`

### List Job Titles

分页列出 SmartHR 职务。

`smarthr.list_job_titles`

### Get Job Title

按 ID 获取 SmartHR 职务。

`smarthr.get_job_title`

### Create Job Title

创建 SmartHR 职务。

`smarthr.create_job_title`

### Update Job Title

部分更新 SmartHR 职务，保留未指定的属性。

`smarthr.update_job_title`

### Replace Job Title

使用完整更新接口修改 SmartHR 职务；如需保留未指定属性，请使用部分更新。

`smarthr.replace_job_title`

### Delete Job Title

删除 SmartHR 职务。

`smarthr.delete_job_title`

### List Grades

分页列出 SmartHR 职级。

`smarthr.list_grades`

### Get Grade

按 ID 获取 SmartHR 职级。

`smarthr.get_grade`

### Create Grade

创建 SmartHR 职级。

`smarthr.create_grade`

### Update Grade

部分更新 SmartHR 职级，保留未指定的属性。

`smarthr.update_grade`

### Replace Grade

使用完整更新接口修改 SmartHR 职级；如需保留未指定属性，请使用部分更新。

`smarthr.replace_grade`

### Delete Grade

删除 SmartHR 职级。

`smarthr.delete_grade`

### List Job Categories

分页列出 SmartHR 职种。

`smarthr.list_job_categories`

### Get Job Category

按 ID 获取 SmartHR 职种。

`smarthr.get_job_category`

### Create Job Category

创建 SmartHR 职种。

`smarthr.create_job_category`

### Update Job Category

部分更新 SmartHR 职种，保留未指定的属性。

`smarthr.update_job_category`

### Replace Job Category

使用完整更新接口修改 SmartHR 职种；如需保留未指定属性，请使用部分更新。

`smarthr.replace_job_category`

### Delete Job Category

删除 SmartHR 职种。

`smarthr.delete_job_category`

### List Recruitment Types

分页列出 SmartHR 招聘类别。

`smarthr.list_recruitment_types`

### Get Recruitment Type

按 ID 获取 SmartHR 招聘类别。

`smarthr.get_recruitment_type`

### Create Recruitment Type

创建 SmartHR 招聘类别。

`smarthr.create_recruitment_type`

### Update Recruitment Type

部分更新 SmartHR 招聘类别，保留未指定的属性。

`smarthr.update_recruitment_type`

### Replace Recruitment Type

使用完整更新接口修改 SmartHR 招聘类别；如需保留未指定属性，请使用部分更新。

`smarthr.replace_recruitment_type`

### Delete Recruitment Type

删除 SmartHR 招聘类别。

`smarthr.delete_recruitment_type`

### List Users

分页列出 SmartHR 用户。

`smarthr.list_users`

### Get User

按 ID 获取 SmartHR 用户。

`smarthr.get_user`

### List Employee Input Forms

分页列出 SmartHR 员工信息收集表单。

`smarthr.list_employee_input_forms`

### Get Employee Input Form

按 ID 获取 SmartHR 员工信息收集表单。

`smarthr.get_employee_input_form`

### List Payment Periods

分页列出 SmartHR 工资支付形式。

`smarthr.list_payment_periods`

### Get Payment Period

按 ID 获取 SmartHR 工资支付形式。

`smarthr.get_payment_period`

### List Bank Account Settings

分页列出 SmartHR 银行账户配置。

`smarthr.list_bank_account_settings`

### Create Employee

创建 SmartHR 员工。员工字段无统一必填项，附件通过文件 URL 提交。

`smarthr.create_employee`

### Update Employee

仅更新提供的 SmartHR 员工字段。SmartHR 会阻止清空已填写的关键身份字段，附件通过文件 URL 提交。

`smarthr.update_employee`

### Delete Employee

删除 SmartHR 员工记录。

`smarthr.delete_employee`

### Clear Employee Departments

清空 SmartHR 员工的部门归属，不删除员工或部门记录。

`smarthr.clear_employee_departments`

### Invite Employee

向员工邮箱发送或重发邀请。邀请人必须是管理员，被邀请用户获得成员权限；已接受的邀请不能重发。

`smarthr.invite_employee`

### List Employees

分页列出 SmartHR 员工。

`smarthr.list_employees`

### List Companies

分页列出 SmartHR 公司。

`smarthr.list_companies`

### List Departments

分页列出 SmartHR 部门。

`smarthr.list_departments`

### List Employment Types

分页列出 SmartHR 雇用类型。

`smarthr.list_employment_types`

### List Custom Fields

分页列出 SmartHR 员工自定义字段。

`smarthr.list_custom_fields`

### List Custom Field Groups

分页列出 SmartHR 员工自定义字段组。

`smarthr.list_custom_field_groups`

### List Business Establishments

分页列出 SmartHR 事业所。

`smarthr.list_business_establishments`

### Get Employee

按 ID 获取 SmartHR 员工。

`smarthr.get_employee`

### Get Department

按 ID 获取 SmartHR 部门。

`smarthr.get_department`

### Get Employment Type

按 ID 获取 SmartHR 雇用类型。

`smarthr.get_employment_type`

### Create Department

创建 SmartHR 部门。

`smarthr.create_department`

### Update Department

部分更新 SmartHR 部门，保留未指定的属性；SmartHR 要求填写名称。

`smarthr.update_department`

### Replace Department

完整更新 SmartHR 部门；SmartHR 会清除未指定的属性。

`smarthr.replace_department`

### Discontinue Department

按最后存续日期停用 SmartHR 部门。日期必须为过去日期；已排期的员工变更可能阻止停用。

`smarthr.discontinue_department`

没有符合搜索条件的工具。

## 将 SmartHR 接入 Open Flow

[连接 SmartHR](https://console.openflow.run/connections/smarthr)

每月 20,000 次免费应用调用（付费服务另计）
