n8n.vn docs
Buy n8n.vnn8n.io Docs
  • 📖Lark Base
  • 📖Lark Messenger
  • 📖Lark Custom Bot
  • 📖Create Custom App
  • 📖Clone file Base and grant permissions
  • 📖Haravan
  • 📖Haravan Trigger
  • 📖NhanhVN
  • 📖NhanhVN Trigger
  • 📖KiotViet
  • 📖Text To Json
  • 📖Lark AI
  • 📖Sapo
  • 📖Sapo Trigger
  • 📖KiotViet To LarkBase
  • ⚙️n8n.vn Change Logs
Powered by GitBook
On this page
  • Basic Operations
  • Example Usage

Lark Messenger

PreviousLark BaseNextLark Custom Bot

Last updated 1 year ago

The Lark Messenger node allows you to automate work in Lark Messenger, and integrate Lark Messenger with other applications. N8N has built-in support for a wide range of Lark Messenger features, including such as:

  • Send different types of messages via Lark, such as text, rich text, images, files, interactive , videos, audios, and emojis.

  • Manage Lark groups, such as creating a group and adding a user or a bot to a group.

On this page, you'll find a list of operations the Lark Messenger node supports and links to more resources.

Credentials: Refer to for guidance on setting up authentication.

Basic Operations

  • Message management

    • Send message

    • Reply message

    • Edit Message

    • Recall message

    • Forward a message

    • Merge forward messages

    • Query the read status of message

    • Get chat history

    • Obtain resource files in messages

    • Obtain the content of the specified message

  • Buzz message

    • Send buzz messages in apps

  • Batch message

    • Send messages in batches

    • Recall messages in batches

    • Query the number of pushers and readers of batch messages

    • Query the overall progress of a batch message

  • Message reaction

    • Add a reaction for a message

    • Delete a reaction for a message

    • List message reactions

  • Pin

    • Pin a message

    • Unpin a message

    • Get pins in group

Example Usage

1. Start node

The start node exists by default when you create a new workflow.

2. Lark Authentication node

We will use the Lark Authentication node to get the values of the tenant access token.

  • Click on the Add node or drag to connect button and enter Lark Authentication in the search nodes box.

  • Select Create New Credential from the dropdown list.

  • Enter your app ID in the App ID field.

  • Enter your app secret in the App Secret field.

  • Click on Save to save credentials.

  • Turn off the popup and click on Execute Node to run a node.

  1. Lark Messenger node (Append)

We will use the send message and card action in the Lark Messenger node to set the values for needed fields.

  • Click on the Add node or drag to connect button and enter Lark Messenger in the search nodes box.

  • Search send message and card in search Lark Messenger Actions box.

  • Enter your tenant access token in the Tenant Access Token field.

  • Enter your app token in the App Token field.

  • Enter your Receive ID Type in the Receive ID Type field.

  • Enter your Receive ID in the Receive ID field.

  • Select the type of message(text or interactive) from the Message Type dropdown list.

    • Select text type

  • Select interactive type

This workflow enables you to send a message to a designated recipient. This example usage workflow would use the following nodes. - – Lark Authentication – Lark Messenger.

📖
message cards
Lark credentials
Start
In this screenshot, you will notice that the node sets the value for create new credential.
In this screenshot, you will notice that the node sets the value for App ID and App Secret.
After executing Lark Authentication node
In this screenshot, you will notice that the node sets the value for needed fields.
In this screenshot, you will notice that the result of execute node.
In this screenshot, you will notice that the node sets the value for needed fields. The value of the message card field is the content copied in the step above.
In this screenshot, you see result after run node.
In the screenshot below, you will notice the template of the card builder(link: ). You will copy the highlight part.
Card Builder - Lark Developer (larksuite.com)