# Integrate OpManager with Lark Lark is an online platform designed for team collaboration, providing a variety of free tools such as chat, document collaboration, video conferencing, workflow automation, and AI features, all within a single application. It allows communication across teams, departments, and entire organizations with its integrated messaging system, which includes voice and video conferencing capabilities. By integrating OpManager with Lark, alerts can be efficiently sent to the Groups in Lark, ensuring instant notifications and facilitating effective communication within teams. OpManager can be integrated with Lark using the custom integration option. 1. **Steps to perform in Lark** 1. [Create a Group and Select a Bot](https://www.manageengine.com/network-monitoring/help/configure-opm-lark.html#Create-a-Group-and-Select-a-Bot) 2. **Steps to perform in OpManager** 1. [Configure Custom Integration](https://www.manageengine.com/network-monitoring/help/configure-opm-lark.html#Configure-Custom-Integration) 2. [Associate a Notification Profile](https://www.manageengine.com/network-monitoring/help/configure-opm-lark.html#Associate-a-Notification-Profile) ## Steps to follow in Lark ### Create a Group and Select a Bot 1. Login to [Lark](https://www.larksuite.com/en_sg) 2. Click on **'+'** icon and then click on **New Group**. ![lark-login](https://www.manageengine.com/network-monitoring/how-to/images/opm-lark-1.png) 3. Select group type as Chat and click on **Create** ![lark-login](https://www.manageengine.com/network-monitoring/how-to/images/opm-lark-4.png) 4. Navigate through settings in the Group and click on **Bots** within your group ![lark-custom-bots](https://www.manageengine.com/network-monitoring/how-to/images/opm-lark-2.png) 5. Click on **Custom Bot** ![lark-login](https://www.manageengine.com/network-monitoring/how-to/images/opm-lark-5.png) 6. Within Custom Bot page, specify the name and description for the bot and click on **add**. 7. Copy the **Webhook URL** and click **Finish**. ![lark-webhook-url](https://www.manageengine.com/network-monitoring/how-to/images/opm-lark-3.png) ## Steps to follow in OpManager ### Configure Custom Integration 1. Go to **Settings -> General Settings -> Integrations -> New Custom Integration.** 2. Enter the following: 1. Integration Type: **Chat** 2. Method Type: **POST** 3. URL: **(Paste the copied Webhook URL)** 4. Data Type: **Raw** 5. Payload Type: **JSON** 6. Timeout: **10s** 7. Body Content: ```json { "content": { "text": "$DeviceField(ipAddress),$message", }, "msg_type": "text ", } ``` ![custom-integration](https://manageengine.com/network-monitoring/how-to/images/opm-notificationprofile-1.png) 3. Save your Custom Integration and click on **Configure Now** to add Notification profile for Lark. ![configure-notification-profile](https://www.manageengine.com/network-monitoring/how-to/images/opm-notificationprofile-2.png) ### Associate a Notification Profile 1. By clicking 'Configure Now' you will be directed to the Notification profile page. 2. Click **Custom Integration** ![Associate-notification-profile](https://www.manageengine.com/network-monitoring/how-to/images/opm-notificationprofile-3.png) 3. Select Lark and follow the below steps to configure the notification profile ![lark-custom-integration](https://www.manageengine.com/network-monitoring/how-to/images/opm-1lark.png) 4. Learn more about configuring [criteria](https://www.manageengine.com/network-monitoring/help/configuring-notifications.html#criteria-notifications), [devices](https://www.manageengine.com/network-monitoring/help/configuring-notifications.html#select-devices), and [time window](https://www.manageengine.com/network-monitoring/help/configuring-notifications.html#applying-time-window) in Notification Profiles [here](https://www.manageengine.com/network-monitoring/help/configuring-notifications.html?custom_integration_lark). 5. Click **Save**. ## Verifying the Integration Trigger a real-time alert in OpManager, then log in to your Lark interface to verify that the triggered alert has been posted in your Lark group. ![lark-alerts](https://www.manageengine.com/network-monitoring/how-to/images/opm-2lark.png) [Know more about the integrations offered by OpManager](https://www.manageengine.com/network-monitoring/integration.html?custom_integration_lark) [Know more about dynamic variables used in request body](https://www.manageengine.com/network-monitoring/faq/what-are-dynamic-variables.html?custom_integration_lark)