Lark icon

Lark

Consume Lark API

Actions118

消息 → 发送消息

AI-generated

Summary

Send a Lark message to a selected recipient, with the message type and content supplied by the workflow. The operation calls Lark’s message creation API and returns the API response for each input item.

Inputs

  • authentication — Choose Tenant Access Token (default) or User Access Token credentials.
  • receive_id_type (required) — Select how to interpret the recipient ID: Chat ID, Email, Open ID (default), Union ID, or User ID.
  • receive_id (required) — Recipient identifier. Enter an ID directly or select a user from the list by searching with a phone number or email; list search requires base-role read permission.
  • msg_type (required) — Message type, such as text (default), image, file, audio, video, card, rich text, or a user/chat share. Supply content in the format expected for the selected type.
  • content (required) — JSON object containing the message content. Defaults to an empty object.
  • options.request_id — Optional unique request ID used by Lark to ensure idempotency.

Output shape

A single API response object per input item, containing the result of creating the message.

The request uses the selected recipient ID type and ID, message type, content, and optional request ID. Lark API errors are surfaced as node errors unless Continue On Fail is enabled.

Links

Discussion