This document describes how to authorize Lark Flow to use custom bots. This will allow Lark Flow to push all relevant messages in Lark.
Custom bots are simplified functions that send and receive chat messages. When you subscribe to events in the system, the system will notify you when such events occur and you can chat with the relevant robots for more information.
There are two types of Lark bots: official app bots and custom app bots.
Official app bots refer to bots created by Lark or officially authorized third-party app vendors. These bots can be used by all Lark members.
Custom app bots refer to bots developed internally by enterprises using the capabilities provided by the Open Platform, then reviewed and approved by Lark. These bots are only used by an enterprise's internal staff. This document describes how to use custom bots to send messages in Lark.
Configuration
- 3.Click Create an App to bring up the App Creation page.
- 4.Enter the App Name and App Subtitle of the app to create. By default, the App Type is set to Custom App.
- 5.Click Create in the lower-right corner.
- 6.Click on the app you just created to view its details.
- 7.View the Credentials area to find the App ID and App Secret in the Credentials & Basic Info tab of the My Apps page.
- 8.Click the Bot tab under Features in the column on the left.
- 9.Click the Using Bot switch to start the app.
- 10.Select the group to add the bot to on the Lark Operations page.
- 11.Click the Add Bot button in the Group Bot configuration page.
- 12.Enter the app name myRobot in the pop-up window, and then click the robot to add it to the group.
- 15.Click Create in the upper-right corner to create a custom bot workflow.
- 16.Select the Lark Messages app, set your desired trigger conditions.
- 17.Click Confirm to go to the Action page.
- 18.Select Lark Messages in the Action page.
- 19.Choose Send message from custom bot, and then go to Options.
- 20.Select Custom Bot and click Add Account in the drop-down list to go to the Lark Flow Authorization page.
- 21.Enter the App ID and App Secret of the custom app and then click Confirm to complete the authorization process.
- 22.Return to the Lark Flow Configuration page, open the Bot drop-down menu, and select myRobot. The Send To field will show a list of the groups you and the robot have joined.
- 23.Select an option, set the remaining Lark Flow options, and then click Confirm. Now, the custom robot will send relevant messages to the selected group.
👏 You have learned how to authorize Lark Flow to use custom bots. Try it now!
💕 If this article does not solve your problem, you can click on your profile photo - Contact Support to find answers.