企业微信(WeCom)-连接微信 icon

企业微信(WeCom)-连接微信

企业微信连接微信功能 - 微信客服、客户联系、家校应用、政民沟通

Actions172

家校应用 → [家校沟通] 更新学生

AI-generated

Summary

Updates the specified WeCom school student, changing only the fields whose corresponding modification toggles are enabled. The node requires the current student UserID and sends the update to WeCom.

Inputs

  • 学生 UserID (student_userid) (required) — Current student UserID, 1–64 UTF-8 bytes.
  • 修改学生 UserID (update_new_student_userid) — Enable to change the student's UserID.
  • 新学生 UserID (new_student_userid) (required) — Required when changing the UserID. It must not duplicate an existing UserID, and each student can change UserID only once. After a successful change, update workflows that depend on the old UserID.
  • 修改学生姓名 (update_name) — Enable to change the student's name.
  • 学生姓名 (name) (required) — Required when changing the name; 1–32 characters.
  • 修改班级 (update_department) — Enable to replace the student's class assignments.
  • 班级 ID 列表 (department) (required) — Required when changing classes. Provide the full class ID list, up to 20 IDs, separated by commas, Chinese commas, vertical bars, or newlines.
  • 修改手机号 (update_mobile) — Enable to change the student's mobile number.
  • 学生手机号 (mobile) (required) — Required when changing the mobile number.

Output shape

A single WeCom API response record per input item.

The operation updates the student identified by the current UserID. Fields are included for update only when their corresponding modification toggle is enabled; the new UserID, if requested, replaces the old one.

Examples

Example 1: Change a student's name and class assignments

Set the current student UserID, enable 修改学生姓名 and 修改班级, then provide 学生姓名 and the complete 班级 ID 列表. Leave the other modification toggles off.

Example 2: Change a student's UserID

Set 学生 UserID, enable 修改学生 UserID, and provide a unique 新学生 UserID. This change is allowed once per student; update dependent workflows after success.

Links

Discussion