Actions54
- 通讯录 - 成员 Actions
- 通讯录 - 部门 Actions
- 通讯录 - 角色 Actions
- 通讯录 - 管理员 Actions
- 通讯录 - 子管理员 Actions
- 轻流应用接口 - 应用管理 Actions
- 数据内容 - 应用数据 Actions
- 数据流程接口 - 流程操作 Actions
- 其他 Actions
- 任务委托 Actions
- 高级设置 Actions
通讯录 - 成员 → 通过邮箱或手机号获取成员userId
AI-generatedSummary
Query the userId of a member from the Qingflow OA address book using either their email or phone number.
Inputs
- 查询方式 (required) — Choose whether to search by email or phone.
- 邮箱 (required) — The email address of the user to query (used if 查询方式 is "email" or if both email and phone are provided).
- 手机号 (required) — The phone number of the user to query (used if 查询方式 is "phone" and email not provided).
- Options — Additional optional settings including batching controls and request timeout.
Output shape
a single JSON object containing the userId of the member if found, or an error object if not.
Supports batch processing of multiple input items either serially or in parallel according to batching options. If multiple or no matches occur, the output corresponds accordingly. Errors can be returned per item when 'Continue On Fail' is enabled.
Examples
Example 1: Retrieve a userId by email
Set 查询方式 to '邮箱' and specify the 邮箱 field with the user's email address.
Example 2: Retrieve a userId by phone
Set 查询方式 to '手机号' and specify the 手机号 field with the user's phone number.