Low-code Practical Demonstration | How to Quickly Build Qiwei, DingTalk, and Feishu Message Push Services

On August 15th, Hu Jie, director of low-code training at Wanying, brought a live broadcast of low-code practical exercises to everyone. This live broadcast was held simultaneously on the two platforms of Douyin and WeChat video accounts, attracting the participation of many followers.

In order to better help everyone get started quickly, we have sorted out the content of the live broadcast theme. Interested friends can also go directly to the end of the article to watch the video tutorial .

 01 Scene Introduction

The three office collaboration platforms Qiwei, Dingding, and Feishu are believed to be familiar to everyone, and may even be used every day. In addition to chatting with colleagues and customers, we will receive notifications of various application messages (enterprise internal applications, third-party applications), such as approval notifications, project management notifications, meeting notifications, group assistants and intelligent robots. How are app notifications implemented?

First of all, each platform developer center provides a very complete API service (for enterprise internal application development, third-party application development), we can call specific API interfaces according to our own needs, and then we will focus on enterprise WeChat - application message notification to explain .

02 What preparations need to be done

1

Prepare your WeChat/DingTalk/Feishu platform account

This tutorial takes enterprise WeChat as an example.

The addresses of the developer centers of each platform are as follows (understand the basic specifications of the API docking of each development platform)

Enterprise WeChat : https://developer.work.weixin.qq.com/document/path/90235

DingTalk : https://open.dingtalk.com/document/orgapp/api-overview

Feishu : https://open.feishu.cn/document/server-docs/im-v1/message-content-description/create_json

2

Wanying low-code platform account application

Just go to Onein Low Code official website to apply: www.onein.com 

03 Concept explanation

During the construction process and the video tutorial below, some related concepts will be involved. Here, the concept explanation is placed here. If you encounter something you don’t understand, you can go back and read it:

1

Enterprise WeChat

corpid: Each company has a unique corpid. To obtain this information, you can check the "corporate ID" under "My Company" - "Company Information" in the management background (administrator privileges are required)

picture

userid: Each member has a unique userid, the so-called "account". In the management background -> "Contacts" -> click on a member's details page, you can see it.

picture

Department id: Each department has a unique id, which can be seen in the management background -> "Contacts" -> "Organizational Structure" -> click the small dot on the right of a department

picture

tagid: Each tag has a unique tag id, in the management background -> "Contacts" -> "Tags", select a tag, there will be a "Tag Details" button in the upper right corner, click to see

picture

picture

agentid: Each application has a unique agentid. In the management background -> "Applications and applets" -> "Applications", click on an application, you can see the agentid.

picture

secret: The "key" used to ensure data security in enterprise applications. Each application has an independent access key. In order to ensure data security, the secret must not be leaked.

access_token: It is an important ticket when the enterprise background goes to the enterprise WeChat background to obtain information, and is generated by corpid and secret. All interfaces need to carry this information when communicating to verify the access rights of the interface

2

Universal Low Code

Connector (key point, please cooperate with the video to understand the specific usage method): it mainly assists business logic to configure automated data flow, allows application data interoperability in Wanying's low-code ecosystem, and solves the problem of enterprise data islands. Users can introduce customization according to the http protocol The connector calls the third-party service interface in a standard and concise way, fills in a small amount of configuration information, and satisfies complex data interaction without worrying about the implementation details of the interface.

picture

Public variable : It is a variable abstraction commonly used by multiple methods of custom connectors. All methods of the current connector can use public variables to override method request parameters, request headers, and request bodies. At the same time, public variables support defining constant values ​​and associated key-value pairs.

picture

Authentication configuration : creating a custom connector has no authorization by default, and supports the definition of a dynamic authorization interface based on the OAuth2.0 protocol

picture

04 Key steps (please watch with the video)

The overall steps are divided into 4 steps:

1. Create an application in the background of enterprise micro management

2. Configure ip whitelist and trusted domain name

(1) Configure a trusted domain name 

(2) Configure trusted ip whitelist

 3. Obtain the key parameters of the application

(1) Obtain the enterprise id (corpid)

(2) Get the Secret of the application

(3) Get the application id (agentid) 

4. Definition and joint debugging of sending message method

(1) Get access_token

(2) Send a message

(3) Related to business

The specific operation steps can be viewed in the video below:

Low-code practical demonstration: How to quickly build Qiwei, DingTalk, and Feishu message push services

The above is a simple scenario example. Welcome everyone to experience it. If you have any questions, you can also enter our official technical exchange group to discuss the practice and application of low code.

picture

Powered by Onein

picture

Hunan Yunchang Network Technology Co., Ltd. (referred to as "Yunchang Technology") is a national high-tech enterprise with self-developed low-code as its core technology, invested by the state-owned holding platform Hunan Caixin Financial Holding Group. With its leading low-code technology advantages and years of customer service experience in the government and enterprise industries, the company has become one of the leading low-code digital transformation solution providers in China.

Guess you like

Origin blog.csdn.net/weixin_56668174/article/details/132334919