Lark icon

Lark

Consume Lark API

Actions118

多维表格 → 列出自定义角色

AI-generated

Summary

Lists the custom roles configured for a Lark Base app. Choose the app token and authentication method; the operation follows the API’s pagination internally and returns the collected role records.

Inputs

  • Authentication — Choose Tenant Access Token (default) or User Access Token.
  • 多维表格 (required) — Select a Base app or enter its app token. The credentials must have permission to view all files in the space.
  • 是否分页 — Optional UI toggle, default false. The implementation always follows API pagination until there are no more roles; this toggle does not change the request behavior.
  • 分页标记 — Optional UI field, shown when pagination is enabled. The implementation does not read this value; it starts from the first page and follows returned page tokens automatically.
  • 分页大小 — Optional UI field, shown when pagination is enabled, default 20. The implementation instead requests 100 roles per page.

Output shape

A list of role records, one n8n item per role.

Each role record is returned as supplied by the Lark API. The implementation aggregates all pages before returning the list; API failures are reported as node errors.

Links

Discussion