Lark icon

Lark

Consume Lark API

Actions118

文档 → Markdown/HTML 转换为文档块

AI-generated

Summary

Converts Markdown or HTML content into Lark document blocks by calling the document conversion API. Choose the content format and provide the corresponding text; the operation returns the API response data.

Inputs

  • Authentication (required) — Select Tenant Access Token or User Access Token credentials.
  • 内容类型 (required) — Select Markdown or HTML; this determines how the content is interpreted.
  • Markdown/HTML 内容 (required) — The Markdown or HTML text to convert.
  • 选项 → 用户 ID 类型 — Choose Open ID, Union ID, or User ID. Defaults to Open ID.

Output shape

A single record containing the Lark API response data.

The source routes the operation response through n8n's JSON item conversion. The exact fields depend on the Lark API response.

Examples

Example 1: Convert Markdown into document blocks

Set content type to Markdown and provide the Markdown text; choose an authentication method and optionally set the user ID type.

Links

Discussion