飞书 icon

飞书

飞书 API 集成,支持多种飞书功能

Actions112

任务 → 添加任务成员

AI-generated

Summary

Adds the specified users as members of a Feishu task. Choose a credential type, provide the task ID and member objects, and optionally set the member ID format, idempotency token, batching, or request timeout.

Inputs

  • 凭证类型 — Select user-level OAuth2 or app-level credentials; app-level credentials are the default.
  • 任务ID (required) — The Feishu task ID to add members to.
  • 用户 ID 类型 — How member user IDs are formatted: Open ID, Union ID, or User ID. Defaults to Open ID.
  • 成员 (required) — JSON member entries to add. Each entry can include an ID, role, and type; the default example uses an assignee user with a blank ID.
  • 幂等 Token — Optional client token for idempotent requests.
  • Options → Batching — Adding this option enables concurrent requests for input items. Items per Batch defaults to 50; Batch Interval defaults to 1000 ms between batches. A batch size of 0 is treated as 1.
  • Options → Timeout — Maximum time in milliseconds to wait for the server response before aborting. Defaults to 0, meaning no timeout.

Output shape

A list of n8n items containing the Feishu API response for each input item.

If Continue On Fail is enabled, failed item requests produce items with an error field. Adding members requires the selected credentials to have access to the task.

Examples

Example 1: Add an assignee to a task

Select app-level or user-level credentials, set the task ID, choose the ID type matching the supplied member ID, then provide the member JSON with the desired role and type.

Links

Discussion