Professional Documents
Culture Documents
Auto Responder
Auto Responder
Auto Responder
ACCOUNT SET UP
WeChatify Account must have the below info accurate as per Official WeChat Account,
1. Original ID
2. App ID
3. App Secret
For the WeChatify Account, under Module Management Auto Responder module must be marked
(checked) and Customer Support module can also be marked(checked) OR unmarked (unchecked). This
depends on client and Botcode.
Based on the permission certain logic changes are made to Auto Responder to connect Auto
Responder to Customer Support and Vice-Versa.
Refer the screenshot below,
Issue: In case, if Original ID | App ID | App Secret is wrong. When a WeChat user sends a message to the
WeChat user, the response wont be delivered to the user since the Access Token generation to that
account will get failed in the Access Token web job. To know about Access Token web job, please check
with Aarthi.
Issue: In case, if URL | Token is updated wrongly, WeChat user request / response wont be processed
and will be getting Official Account Unavailable
Issue: In case, if its working fine in one mobile and not in another and its really not an issues in our end.
INITIAL SET UP
When a new WeChatify Account is created, by default we create below Bots with Dialogs, refer below
1. Welcome
2. StartBot
3. Global Fallback
Refer the screenshot below when you click on the Auto Responder
5. This refers to another bot or to the same bot, for e.g.: if you refer the initial screenshot you have
3 bots, so we can map to one of those bots.
6. This refers to another dialog in another bot or to the same bot.
7. Edit option more details follows on this. Read the doc to know about it.
8. One more option called Delete I dont have that in the image I pasted, but will show you in the
below
CREATE AUTO RESPONDER To create a new Bot for e.g. if you want to create a new section like
StartBot, click on the Create Auto Responder button. You will be redirected to a new page. Refer the
screen shot,
If you want to edit it, clicking on the pencil icon next to the Bot Name ThankYou, you will be able to
make the changes and save it.
DIALOG
CREATING NEW DIALOG
Kindly refer the screenshot below, when you click on the
and you will get 2 options.
1. Dialog State Name This represents a new dialog name. Refer General Info On Bots point 2,
so you can understand of what I am referring to.
2. Send to User Here we have 2 options,
a. Text Message The content what we enter here will be sent as it is to the user based
on logic (Logic sections in detail below.)
b. Richtext Message This is an Article response, when you select this option. A pop up
will be opened up listing out the list of Card that was available in our system from the
Library and Schedule section. You can select any one card and map to the dialog. This
article will be sent to the user when the user come to this State.
Note: This option will be get increased when we add more features Yet to be implementation
are Audio / Video / Image
3. Add Keyword Once you have point 1 and point 2 filled up, you will be able to click the button.
You can create n number of keywords. Please refer the screenshot below,
a. Keyword This is where we enter a text to a single word. So when a user enters
anything we will look up the text from the user and here and based on mapping we
update there.
b. Enter Auto Reponder Refer the section Create Bot, we need to enter the name of the
Bot that you have created so specific keyword look up will map to that Bot. You can
also map to the same bot. Link in the above screenshot ThankYou is out Bot.
c. GoTo Here we enter the Dialog state where it has to go to. Note the Dialog what you
are entering must be available in the Bot that you specify in point b.
Refer the screenshot that shows the combinations,
Note: Add Keyword option is not mandatory, you can create a dialog without any keyword and it will be
marked us not mapped and logic is captured in the logic section.
EDIT / DELETE
Same way as we did for bot, click on the Edit, you will be able to edit the Dialog and the keyword
mapped over the there. And also you can delete the keyword that you dont like using the
option
will be available against each keyword mapping in the Edit Dialog state. This option will also be
available in Create state to.
Note: Global Fallback Bot wont have edit/delete option and the Dialog under the Global Fallback
wont have the delete option and same goes to the StartBot and only to the StartBot Dialog named
as StartBot. Since those are global ones to our WeChatify System.
STARTBOT
This is the actual entry point of the WeChat user, if the user sends a text message from the WeChat
App. And the User will get the response as How can I help you today. as you see the initial screenshot.
We are maintaining state of each transaction, so that we know in which state the user is in. State I am
referring the state of the response of what the user has received. Here the user is in StartBot Dialog
State.
Note: State whenever I refer the state, please note that I am referring the Dialog State. In the
screenshot you can see the Column Name Dialog State Text.
GLOBAL FALLBACK
Consider a user types something but the keyword mapping is not available in our system. We send back
the user the response that was mapped in this dialog. This is going to act as a global response if the
system is not able to understand the request.
Note: Only one Dialog and it must not be mapped to any.
SCENARIOS
WELCOME RESPONSE
Screenshot of what user received on following the Account.
STARTBOT RESPONSE
StartBot response is based on 2 scenarios,
As you refer the screenshot, when users enter any text that is
not available in the StartBot will get the StartBot response.
Since its the entry point of the user.
Note: From this point of entry the state of maintained of each
user.
Note: Now user is in StartBot dialog state
If the user enters, a text that was mapped in the Keyword Look
Up Text, user will receive a response as mapped. For reference,
refer the screenshot of the mapping in the screenshots Detailed
Logic info.
Note: Now the user state is NeapolitanPizza dialog state.
Note: At this point user will be moved to the StartBot state since the ThankYou dialog has not
keyword mapped. At this point we reset to the entry point. Now when the user enters anything
it will start from the StartBot.
Above represents the normal basic flow, if the user enters exactly as per the mapping. And there are 3
more scenarios that needs to be known. Below points I have referred in the Default Bot Info.
1. Global Fallback When a user sends a text, wechatify system will look up the list of Look For
Keyword mapping based on the user state. If the keyword is not there and if the keyword
mapping named as none is not there, we will send the response that was in sendtouser as in
None dialog under GlobalFallback bot.
2. None - If you refer the DeliveryType Bot, we have a keyword None mapped to the same bot.
Here, for e.g. when the user enters a keyword that was not there apart from
PickUp/Cash/Delivery/Credit, user will get the response as How you would like to order? 1.
Credir, 2. Cash, 3. Delivery, 4. PickUp. Since we have mapped the keyword none to the same
dialog. If you want, you can map to any bot / dialog and response will be based on the mapping.
3. Not Mapped If you refer the ThankYou Bot, under which we have Thankyou Dialog and we
have not mapped any keyword relationship to other bot/dialog or self. At this point when the
user gets the ThankYou Response the user transaction state is reset back to StartBot.
Note: In the above point 2 and 3 can come in any bot/dialog/Keyword mapping. Its a combination and it
will work as informed above. I really know that it will be bit confusing at the first time. Please post your
questions with scenarios so I can provide more clarification.
In the Auto Responder Header section, we have a CUSTOMERSUPPORT SETTING button to map
keyword and response text both for English and Chinese. On clicking, we will get a pop up to update the
.
The system basically target only English and Chinese Language users.
Note: To know about Customer Support of how it works, pleae refer the posted Customer Support V2
doc.
SETTING LOGIC
When the user is communicating via Autoresponder, when the user in any point enters Help! the
response is sent to the user as in Response Text(EN) and if the user enters ! the response is
sent to the user as in Response Text(CN).
Note: The response is based on the language of what user enters. Above content is just an example,
data is updated as per client requirement.
Note: This section is optional.
TRANSFER LOGIC TO CUSTOMER SUPPORT
Note: Logic below, will only work if the CustomerSupport Setting is updated. If the setting is not
update, the user wont be transferred to Customer Support.
Scenario 1: When the user enters a text which is not mapped in Look Up Keyword column based on the
state of the user, as we know it will send the Global Fallback Response text. Now same will happen, it
will send both Global Fallback and the Customer Support Response Text(EN) based on users language.
Scenario 2: If the user enters exact keyword as updated in Customer Support setting, user will be
redirected to the Customer Support.
Now state of the user will be moved to Customer Support. From this point, whatever user sends will be
redirected to customer support.
**Note: This document will change based on the change request. Also each time when the doc is
updated. Kindly read the doc from the beginning to the end**