Resources: Template Messages for Service Channel
WeChat provides templates messages for Official Accounts to send important service notifications to users
Templates must be configured as additional service in Official Account.
At first, service category must be set up by channel's administrator
Each template should be connected and configured individually per publisher. For the Mini-programs it's possible to apply for message template verification with needed field names, max 5 fields per template. In case of channel template messages will need to connect the existing templates from the WeChat library, each approach is discussed directly with the customer.
When template is configured in Official Channel it must be configured in Gateway
Each field in template must be matched to proper field in JSON that sent by third-party system
JSON example:
{
"wechat_id": "oRU876EBQVmCvw_70H-06dNGI",
"message_alias": "status-change",
"body" : {
"id": "13840",
"title" : "Test Submission Char",
"status" : "Accepted",
"date": "2023-11-30 13:37:14"
}
}
Example message in channel: