Skip to content

Lark group bot

A Lark group bot (a custom bot) posts every new report as a card message into one group chat. No Lark app and no admin approval are needed: you create the bot inside the group, copy its webhook URL, and paste it into BugCapturer.

  1. Open Lark and go to the target group
  2. Group settings → Bots → Add bot → Custom bot
  3. Set an avatar and a name, then click Add
  4. Copy the generated webhook URL — it looks like https://open.larksuite.com/open-apis/bot/v2/hook/…

Step 2: Add the integration in BugCapturer

Section titled “Step 2: Add the integration in BugCapturer”
  1. Sign in at app.bugcapturer.com and open the “Integrations” page
  2. Pick Lark group bot in the platform list → click “Add integration”
  3. Paste the webhook URL
  4. Signature secret (optional): only if you enabled signature verification in the bot settings
  5. Pick the card language, then click “Verify & save”

On save we post a test card into the group. Once you see it there, you are all set.

Lark offers three settings and they can be combined, but one is enough:

SettingWhat it doesRecommendation
Signature verificationEvery request carries a timestamp + sign; Lark rejects anything it cannot verifyRecommended — we store the secret and sign every delivery for you
IP allowlistOnly requests from the listed IPs are acceptedFine if your policy requires it — remember to add our egress IP
Custom keywordsThe message must contain at least one keywordNot recommended — the card copy would have to keep matching your keywords
PartContent
Title🐞 [bug] <first line of the report>
BodyPage, environment (browser · OS · screen) and diagnostic counts (Console 3 · Network 2)
ButtonView full report — opens the BugCapturer share page

Group chat is a public surface, so the card only carries diagnostic counts — never the error text itself.

A successful delivery means Lark accepted the request (code == 0) — not that someone read it. To confirm:

  1. Open the integration → Delivery log
  2. Green rows show code 0 plus the raw response from Lark
  3. Rejected deliveries are red and carry Lark’s own error code (19021 signature, 19022 IP allowlist, 19024 keywords)

Failed deliveries are retried twice (after 5s and 15s); after 20 consecutive failures the integration is disabled and we email you. See Delivery logs and Auto-disable.

SymptomCauseFix
19021 sign match failThe secret does not match, or the server clock drifted by more than an hourRe-copy the secret from the bot settings, or leave the secret empty
19022 Ip Not AllowedThe bot’s IP allowlist does not contain our egress IPAdd 47.236.11.198
19024 Key Words Not FoundCustom keywords are enabled and the card did not match any of themSwitch to signature verification instead
No card, but the delivery log is greenDelivery succeeded on our side — check whether you are looking at the right groupOpen the delivery log and read the raw response
No card and the log is red (invalid or deleted)The bot was removed from the group, or the URL was regeneratedCopy a fresh URL from the group settings and save the integration again
Lark group bot (this page)Lark Bitable
TypeNotification (card into a chat)Record (a row in a table)
Stored in LarkNoYes — filter, sort, assign, revisit
Best forTeams that want to know immediatelyTeams that need a ledger

One bot is bound to one group. To notify several groups, add one integration per group.