Overview
RecordEngine can receive documents directly from a Lark (international) or Feishu (China domestic) group chat. When a user drops a PDF or image into the designated intake group, RecordEngine automatically downloads it, runs AI extraction, and files it under the configured contact and folder — no manual upload required.Prerequisites
- A RecordEngine instance with a public HTTPS URL
- Server URL configured in Settings → General → 🔗 Server URL
- A Lark or Feishu developer account at open.larksuite.com or open.feishu.cn
- At least one Contact and Folder already created in RecordEngine
How It Works
Step 1 — Create a Lark / Feishu App
- Go to your developer console:
- Lark: open.larksuite.com/app
- Feishu: open.feishu.cn/app
- Click Create App → Custom App
- Give it a name (e.g.
RecordEngine Intake) and save - Go to Credentials & Basic Info and note your:
- App ID — looks like
cli_xxxxxxxxxxxxxxxx - App Secret
- App ID — looks like
Step 2 — Grant App Permissions
In your app’s developer console, go to Permissions & Scopes and enable:
Save and publish a new app version after adding permissions.
Step 3 — Configure the Webhook URL
- In your developer console, go to Events & Callbacks → Event Configuration
- Enable events and set the Request URL to:
Your exact webhook URL is shown in RecordEngine under Settings → General → 🐦 Lark / Feishu Integration → Webhook URL. Copy it directly from there.
- Subscribe to the event:
im.message.receive_v1 - Save. Lark/Feishu will send a challenge request to verify your URL — RecordEngine handles this automatically.
Step 4 — Configure RecordEngine Settings
In RecordEngine, go to Settings → General and scroll to 🐦 Lark / Feishu Integration.
Click 💾 Save Lark Settings when done.
Step 5 — Add RecordEngine Bot to Your Intake Group
- In Lark/Feishu, open the group you want to use as the intake channel
- Go to group Settings → Bots → Add Bot
- Search for your app name (e.g.
RecordEngine Intake) and add it
Step 6 — Publish Your App
In the developer console, go to App Release → Version Management and publish your app. RecordEngine will not receive events until the app is in Published status.Testing the Integration
- Send a PDF or image to your intake group in Lark/Feishu
- Within a few seconds, the document should appear in RecordEngine under the configured contact and folder with status Processing
- Once AI extraction completes, status changes to Ready (or Needs Review depending on confidence score)
Lark vs Feishu
Lark and Feishu are the same platform — Lark is the international version, Feishu is the China domestic version. The only difference is the API base URL:
All API paths are identical. RecordEngine switches automatically based on your Platform setting.
Supported Message Types
Troubleshooting
Document not appearing in RecordEngine after sending a file- Confirm your app is Published (not in Draft) in the developer console
- Confirm the Request URL in Events & Callbacks matches your RecordEngine webhook URL exactly, including
https:// - Confirm App ID and App Secret are saved correctly in RecordEngine Settings
- Check that the RecordEngine bot has been added to the intake group
- Confirm your RecordEngine instance is publicly accessible over HTTPS
- Confirm the Server URL is set in Settings → General → 🔗 Server URL
- The challenge verification is handled automatically — no additional configuration is needed
- Check whether any Make.com scenario is also forwarding Lark events to RecordEngine. If so, deactivate it — RecordEngine handles the full intake flow internally without Make.com involvement.
- Go to Settings → General → 🐦 Lark / Feishu Integration and update the Intake Profile
- For mixed document types, consider using the Universal Invoices and Receipts profile, or enable auto-profile detection