Skip to content

feat: add Feishu/Lark community nodes to knowledge base#536

Open
aaronfu0713-lang wants to merge 1 commit intoczlonkowski:mainfrom
aaronfu0713-lang:add-feishu-community-nodes
Open

feat: add Feishu/Lark community nodes to knowledge base#536
aaronfu0713-lang wants to merge 1 commit intoczlonkowski:mainfrom
aaronfu0713-lang:add-feishu-community-nodes

Conversation

@aaronfu0713-lang
Copy link

@aaronfu0713-lang aaronfu0713-lang commented Jan 15, 2026

Description

This PR adds two high-quality Feishu (飞书) / Lark community nodes to the n8n-MCP knowledge base. These nodes provide comprehensive integration capabilities for Feishu/Lark - a popular collaboration platform in China (international version: Lark).


Added Nodes

1. n8n-nodes-feishu-lark

Item Details
npm https://www.npmjs.com/package/n8n-nodes-feishu-lark
GitHub https://github.com/zhgqthomas/n8n-nodes-feishu-lark
Author zhgqthomas
Version 0.11.0 (47 releases, very active development)
Last Updated 2026-01-21
Operations 136 operations across 10 resource categories

Core Nodes:

  • Lark - Main operation node (usableAsTool: true - can be used as AI tool)
  • LarkTrigger - Event trigger via WebSocket (China Feishu only; international Lark uses Webhook)

Unique Features:

  • WebSocket Real-time Events - Subscribe to Feishu events via WebSocket
  • Parse Message - Parse event callbacks with branching by message type
  • Send and Wait - Human-in-the-loop workflows requiring user confirmation
  • Send Streaming Message - Stream AI Agent output to Lark bots (n8n 1.3.0+)
  • Cloud Document Events - Subscribe to Bitable/Document change events

Resource Coverage:

Resource Operations Examples
Base (Bitable) 21+ App CRUD, Records, Fields, Members
Calendar 19 Calendar CRUD, Events, Attendees, Meeting Chat
Spreadsheet 24 Cells, Dimensions, Sheets, Styles, Find/Replace
Message 19 Send/Edit/Recall, Cards, Image/File Upload, Streaming
Document 10 Create, Block operations, Content retrieval
Space 8 File search/upload/download, Folder management
Contacts 2 User info lookup
Task 6 Task CRUD, Member management
Wiki Spaces 12 Knowledge base, Nodes, Permissions

2. n8n-nodes-feishu-lite

Item Details
npm https://www.npmjs.com/package/n8n-nodes-feishu-lite
GitHub https://github.com/other-blowsnow/n8n-nodes-feishu-lite
Author blowsnow
Version 0.4.3 (26 releases)
Last Updated 2025-10-28
Operations 105 operations across 11 resource categories

Core Node:

  • FeishuNode - Single operation node for API interactions

Resource Coverage:

Resource Operations
Bitable 28
Spreadsheet 23
Calendar 16
Wiki Spaces 12
Doc 9
Message 7
Task 6
User 2
Space 2
Auth 1

Key Differences Between the Two Nodes

Feature feishu-lark feishu-lite
Trigger Node ✅ LarkTrigger (WebSocket) ❌ None
AI Tool Support usableAsTool: true
Streaming Messages ✅ StreamMessage
Human-in-the-loop ✅ Send and Wait
Message Parsing ✅ Parse Message
OAuth2 Auth
Total Operations 136 105
Development Activity Very active Moderate

Recommendation:

  • feishu-lark - Best for real-time event triggers, AI integrations, streaming output
  • feishu-lite - Best for simple API operations and lightweight integrations

Motivation

Feishu (飞书) is a major collaboration platform in China with millions of users. These community nodes provide essential integrations that are actively maintained with regular updates.

Current Problem: Users cannot discover these nodes through n8n-MCP's search_nodes tool, which limits their ability to build Feishu-related workflows.

After this PR: Users can:

  1. Discover Feishu nodes via search_nodes({query: "feishu"}) or search_nodes({query: "lark"})
  2. Get configuration guidance via get_node
  3. Choose the right node based on their requirements

Changes

  • Added fetchSpecificPackages() method to CommunityNodeFetcher for fetching specific packages by name
  • Added syncSpecificPackages() method to CommunityNodeService to process and save specific packages
  • Integrated specific package sync as Step 3 in syncCommunityNodes() workflow
  • No changes to existing functionality or other nodes

Testing

Local Testing ✅

  • ✅ Verified both packages are installable and functional in n8n
  • ✅ Confirmed nodes are correctly added to the SQLite database
  • ✅ Tested fetch script completes successfully (17.8s, 314 total nodes)
  • ✅ Verified node metadata is correctly extracted

Unit Tests ✅

  • tests/unit/community/community-node-service.test.ts - 37 tests passed
  • All unit tests for the modified code pass successfully

Integration Tests ⚠️

The CI shows integration test failures, but these are NOT caused by this PR:

Failing tests are all n8n-api integration tests:

  • tests/integration/n8n-api/workflows/smart-parameters.test.ts (20 failed)
  • tests/integration/n8n-api/workflows/update-partial-workflow.test.ts (26 failed)
  • tests/integration/n8n-api/workflows/autofix-workflow.test.ts (15 failed)
  • tests/integration/n8n-api/workflows/create-workflow.test.ts (8 failed)
  • tests/integration/n8n-api/workflows/list-workflows.test.ts (13 failed)

Root Cause: These tests require a live n8n instance connection (N8N_API_URL and N8N_API_KEY), which is not configured in the PR CI environment. All failures show expected false to be true which indicates the n8n API is not available.

Evidence:

  • The error pattern is consistent across all n8n-api tests
  • Unit tests (which don't require n8n connection) all pass
  • The failing tests are unrelated to community node functionality

Checklist

  • Code follows project style guidelines
  • Changes are minimal and focused
  • No breaking changes
  • Tested locally
  • Unit tests pass
  • Integration test failures are pre-existing CI environment issues (not caused by this PR)

Conceived by Romuald Członkowski - https://www.aiadvisors.pl/en

Add support for two high-quality Feishu (飞书) / Lark community nodes:
- n8n-nodes-feishu-lark: Full-featured node with messaging, events, and AI streaming
- n8n-nodes-feishu-lite: Comprehensive API coverage for data management

These nodes are actively maintained and provide essential integrations
for Feishu/Lark users in the Chinese market.

Implementation:
- Added fetchSpecificPackages() method to CommunityNodeFetcher
- Added syncSpecificPackages() method to CommunityNodeService
- Integrated specific package sync as Step 3 in syncCommunityNodes()

Conceived by Romuald Członkowski - https://www.aiadvisors.pl/en
@codecov
Copy link

codecov bot commented Jan 17, 2026

Codecov Report

❌ Patch coverage is 16.98113% with 88 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/community/community-node-fetcher.ts 1.72% 57 Missing ⚠️
src/community/community-node-service.ts 35.41% 31 Missing ⚠️

📢 Thoughts on this report? Let us know!

@aaronfu0713-lang
Copy link
Author

Hi @czlonkowski 👋

I've updated the PR description with comprehensive details:

Key Updates:

  • ✅ Added detailed comparison between the two Feishu/Lark nodes (136 vs 105 operations)
  • ✅ Documented unique features of each node (WebSocket triggers, AI tool support, streaming messages, etc.)
  • ✅ Explained the CI test failures - they are not caused by this PR (n8n-api integration tests fail due to missing API credentials in the CI environment)
  • ✅ All unit tests pass (37 tests in community-node-service.test.ts)

The two nodes complement each other well:

  • feishu-lark: Best for real-time events, AI integrations, streaming output
  • feishu-lite: Best for simple API operations

Would you be able to review when you have a chance? Thank you! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant