lark-node-sdk

Configure @larksuiteoapi/node-sdk clients for messaging, cards, and WebSocket events.

7|2|Updated Feb 25, 2026
One-click install
npx skills add https://github.com/wenerme/ai --skill lark-node-sdk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lark-node-sdk
Source: https://github.com/wenerme/ai/tree/main/skills/lark-node-sdk
Command: npx skills add https://github.com/wenerme/ai --skill lark-node-sdk

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It removes the friction of integrating with Lark/Feishu Open Platform by providing a practical, developer-focused guide for making API calls, handling events, and building message cards using the official Node SDK.

Core Features & Use Cases

  • API Client Setup: Configure appId, appSecret, domain selection (Feishu/Lark/custom URL), app type (SelfBuild/ISV), and token caching behavior for reliable authentication.
  • Message & Card Development: Send text and interactive messages, generate cards via built-in helpers, and update messages using card templates.
  • Event Handling for Bots: Implement WebSocket-based event dispatching for immediate local development workflows and webhook handlers for production event delivery.
  • Operational Needs: Support common domains like im, contact, calendar, drive, sheets, bitable, approval, and attendance for typical enterprise bot and automation scenarios.

Quick Start

Use the lark-node-sdk skill to help you set up a Node.js client for Lark/Feishu, then implement an event handler that listens for im.message.receive_v1 and replies with a text message.

Frequently Asked Questions about lark-node-sdk

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I send interactive message cards using the Feishu Lark Node SDK?

To send interactive message cards with the Feishu Lark Node SDK, you configure the API client with your appId and appSecret, then use the SDK's built-in card helpers to generate and send messages via domain-based method chaining.

How do I handle Feishu bot events via WebSocket and webhook in Node.js?

Handle Feishu bot events in Node.js by using the SDK's dispatcher adapters to implement WebSocket-based event dispatching for local development and webhook handlers for production event delivery.

What configuration is needed to authenticate Lark API calls in Node.js?

Authenticating Lark API calls requires configuring the client with appId, appSecret, domain selection for Feishu or Lark, app type for SelfBuild or ISV, and token caching behavior.

Can I use this Node SDK to build an enterprise bot for sheets and bitable domains?

Yes, you can build enterprise bots using the Node SDK as it supports common Lark domains including sheets, bitable, calendar, drive, approval, and attendance for typical automation scenarios.

What is the best way to listen for im.message.receive_v1 events in a Lark app?

The best way to listen for im.message.receive_v1 events is by setting up a Node.js client and implementing an event dispatcher that replies with a text message when the event is received.

Why should I use the official Lark Node SDK instead of raw API requests for message workflows?

Using the official Lark Node SDK removes integration friction by providing domain-based method chaining, authenticated API calls, and dispatcher adapters that satisfy complex message and event workflow requirements.