• Features

    Product Capabilities

    • Connectors Connect your apps so Leina can work with your data.
    • Knowledge Base Provide documents and references for your tasks.
    • Browser Use Read pages, fill forms, and complete browser tasks.
    • Skills Give Leina methods for completing tasks.
    • My App Build web apps with a database and backend.
    • Agent Collaboration Let department agents report to your assistant.
    • Workflows Run recurring tasks on a schedule or when something happens.
    • Infinite Canvas An AI image and video workspace for design and creative production teams.

    Connect Leina

    View Setup Guide →
    • Slack
    • Teams
    • Discord
    • Telegram
  • Integrations
    Communication & Collaboration
    • Slack
    • Gmail
    • Zoom
    Documents & Knowledge
    • Notion
    • Google Drive
    • Dropbox
    Product & Development
    • GitHub
    • Linear
    • Figma
    CRM & Sales
    • HubSpot
    • Attio
    • Pipedrive
    Data & Analytics
    • Airtable
    • Google Sheets
    • Google Analytics
    Ads & Marketing
    • Mailchimp
    • Google Ads
    • Brevo
    Browse 1,600+ Integrations
  • Solutions

    Market & Customers

    • Market & Competitor Research Compare products, prices and demand signals with sources.
    • Overseas Lead Research Find relevant companies and prepare the context for outreach.

    Content & Sales

    • Inquiry & Customer Follow-Up Organize requirements, draft replies and update follow-up records.
    • Website Content & SEO Prepare content improvements around products and search demand.
    • Product Content & Creative Assets Turn product facts into localized copy and creative plans.

    Sourcing & Delivery

    • Sourcing, Orders & Delivery Reconcile supplier replies, order status and delivery questions.
    All Solutions
  • Docs
  • Pricing
  • Blog
Start for Free
Start for Free
Open navigation menu Close
  • Product Capabilities
  • Connectors
  • Knowledge Base
  • Browser Use
  • Skills
  • My App
  • Agent Collaboration
  • Workflows
  • Infinite Canvas

Connect Leina

  • Slack
  • Teams
  • Discord
  • Telegram
View Setup Guide →
  • Integrations
  • Solutions

    Market & Customers

    • Market & Competitor Research
    • Overseas Lead Research

    Content & Sales

    • Inquiry & Customer Follow-Up
    • Website Content & SEO
    • Product Content & Creative Assets

    Sourcing & Delivery

    • Sourcing, Orders & Delivery
    All Solutions
  • Docs
  • Pricing
  • Blog

Contents

  1. Before you start
  2. Create the smart bot in WeCom
  3. Connect it to Leina
  4. Confirm the bot receives messages
  5. Authorize business data and verify one task
  6. Personal-account sign-in and external groups
  7. If setup or a task fails
Contents
  1. Before you start
  2. Create the smart bot in WeCom
  3. Connect it to Leina
  4. Confirm the bot receives messages
  5. Authorize business data and verify one task
  6. Personal-account sign-in and external groups
  7. If setup or a task fails
Documentation Read Markdown By OOMOL Updated 2026-10-07

Connect a WeCom Smart Bot to Leina

This guide covers an API-mode smart bot using a long connection, configured with Bot ID and Secret. Personal WeCom account sign-in is a separate option. Before setup, compare the two connection methods.

Before you start

  • Access to WeCom’s smart-bot creation flow and the permissions required by your organization.
  • Access to the intended team and bot in Leina Console.
  • An active Leina subscription or trial.
  • Business-account authorization for any CRM, ERP, or document task you plan to run.

If creation or a required capability is unavailable, ask the person who administers WeCom for your organization. The steps below preserve the Chinese UI labels.

Create the smart bot in WeCom

  1. Open 工作台 (Workbench), then 智能机器人 (Smart Bot).
  2. Select 创建机器人 (Create Bot), then 手动创建 (Manual Creation).
  3. Under 更多设置 (More Settings), select API 模式创建 (API Mode Creation).
  4. Choose 使用长连接 (Use a Long Connection).

Select API mode and a long connection in the smart-bot creation screen

  1. Choose 仅个人使用 (Personal Use) or 多人使用 (Multi-user Use), then authorize the WeCom capabilities your task needs.
  2. Copy Bot ID, obtain Secret, and save the bot.

Personal or multi-user use controls the scope of this API bot. It does not sign in to a personal WeCom account or activate the separate personal-account option.

The Get Secret entry and Save button in the long-connection settings

Use credentials from the bot you created; do not copy the Bot ID in the image.

Connect it to Leina

  1. Open Bots in Leina Console and select the intended bot.
  2. Open 企业微信机器人 (WeCom Bot).
  3. Enter the Bot ID and Secret from WeCom.
  4. Select 连接企业微信 (Connect WeCom). If an error appears, check the credentials and connection mode. Submitting the form alone does not establish a successful connection.

The connection form states that Secret is stored encrypted and its full value is not shown after connection. Enter it only in the connection form; do not paste it into task messages, shared documents, or support screenshots.

Confirm the bot receives messages

Send the configured bot a WeCom message that needs no external data, such as “Hello, introduce yourself in one sentence.” Once it replies, test a business task.

If it does not reply, check the bot’s active status in Leina, that the connection uses the intended Bot ID, and its WeCom usage scope. See “If setup or a task fails” below.

Authorize business data and verify one task

Connecting the bot establishes the chat entry point. To work with business records, use Connections to authorize the relevant App and check its supported actions.

Start with non-sensitive records whose expected result is known. Verify the task using the intended member and conversation, not only an administrator account. For example:

Read the authorized project notes for the specified week. Return the completed work, open questions, and source links. Do not change the source records.

Check the returned sources and the conversation’s participants before adding real workloads.

Personal-account sign-in and external groups

Leina Console lists 个人账号接入 (Personal Account Access) separately from the smart-bot connections. Its personal WeCom option is described as supporting private/group chats, WeChat contacts, and external WeCom groups.

Personal-account activation has a separate charge; see pricing. Access it through Personal Account Access in Leina Console; the Bot ID/Secret steps above apply only to the API-mode bot. Personal-account external-group support does not establish the same support for the API-mode bot.

If setup or a task fails

What you seeWhat to check
Smart-bot creation or a required capability is unavailableYour organization’s WeCom access and capability policy.
Leina cannot connectYou selected API mode and a long connection, saved the intended bot, and entered its matching Bot ID and Secret.
The bot is connected but pausedIts subscription or renewal status in Leina Console.
Chat works but business records are missingThe separate App connection, source account permissions, supported action, and member/group access.
You need an external customer groupEvaluate the personal-account option separately; do not assume the API-mode route has the same capabilities.

For unresolved issues, send support the connection type, error text, and time of the attempt. Omit credentials and unrelated business data.

Read permissions and data access before sharing a connection or sending results to a group. See billing for the difference between subscriptions and usage charges.

Steps were checked against Leina Console’s existing five-step credential guide and connection form on October 7, 2026.

X Discord YouTube GitHub

Proudly powered by OpenConnector

copyright © 2026 OOMOL

Auto
English
  • English
  • 简体中文

Explore

  • Solutions
  • Workflows
  • Infinite Canvas
  • Build Apps
  • Browser Use
  • Integrations
  • Skills
  • Knowledge Base
  • Pricing

Support

  • User Guide
  • Documentation
  • Agent Resources
  • Support
  • Brand assets

Company

  • About
  • Security & Compliance
  • Open Source
  • Blog
  • Terms of service
  • Privacy policy

Cookie settings

Privacy preferences

Manage which optional storage Leina can use. You can change these choices from the footer at any time.

Copy Manually

Automatic copying is unavailable. Select the text below, then copy it.