To start public platform development, we must first understand what the platform can help us do?
Use your public account to log on to Alibaba Cloud.
I. Communication Mechanism
The main content of the public platform is
- Accept messages sent from users to your public account
- Reply to your user
It must be noted that the process of sending messages and removing replies is a coherent process and can only be completed in one conversation. That is to say, if your user does not speak to you, you cannot actively send messages to your customers (Group Sending is another case, with a limit on the number of times. You can also apply for payment to use the CRM platform ). All messages sent and received must be forwarded by the platform.
Ii. Message Type
The following describes the types of messages that a user can send to you, that is, the types of messages currently accepted.
1. Accept Message Type
1.1 Text message:
This is also the most common problem we encounter. We can determine the meaning of a user based on some keywords mentioned in the text and reply to the user.
1.2 image message:
Currently, it is difficult to understand what users want to express through images. Therefore, most public accounts choose to ignore image information or manually process images. Only one sentence can be said: The picture is beautiful, but I cannot understand it.
1.3 geographic location message:
The user sends his location to you, which is an important information for most public accounts. You can provide location-based services, such as public account booking for a hotel. You can recommend the hotels around you.
In addition, location information can be analyzed and used in text messages. For example, if you enter "Nanjing Road Pedestrian Street", you can provide relevant merchants of Nanjing Road Pedestrian Street.
1.4 link message:
Currently, there is no particularly effective method in the development mode. When using a large number of products, you may be clear about the objects you are talking about during shopping or consultation.
1.5 event push messages:
When a user enters the conversation with you, he or she can greet the user first. This message is currently only available in version 4.5 and has not been developed yet. In the future, there will be a lot of space to think about. For example, what will happen when the user enters the session and shakes it?
2. Reply Message Type
2.1 text message
This is the most frequently sent type of message. text messages are available when you only need simple text to answer your messages. A text message can contain a link address.
2.2 text message
Text message, which we often see in the push message format. You can click to view more details about each item (you can also leave the link blank so that it cannot jump)
2.3 music messages
In your reply, you can give a voice message or music to many users.
After learning about the communication mechanism and Message Type of the public platform, let's start preparing the development environment.
Original article, reprinted Please note:Reprinted from http://www.qiyadeng.com/
Link:Public platform development (I)