Add min_score and fallback_to in dialogflow dynamic response json
if min_score is set, then it will check the min_score with confidence score.
if confidence_score < min_score, then it will not process the content. if the fallback_to is set, then it will process fallback_to (similar to goto, can use node_ns, sub_flow_ns, or node name), otherwise, do nothing
Line Channel: use replyToken for the first message sent
This is an update about the Line channel.
Thanks to the suggestion from Winho!!
Before the update, we were using "push" to send all the message. Winho mentioned that this can cost their "push message" quota and suggested we can send message by using the replyToken, which means that, using "reply" instead of "push". This can save a lot consumption of "push message" to their Line account.
Now the system will use the replyToken to send the first message. For example, a user sends "hi". If you have 2 messages to respond to this greeting. The first one will be sent using "reply" and the second one (all the rest) using "push".
This can somehow save your "push" messages amount in your Line account.
Partner Plan: show only selected templates & mini-apps in custom domain
This is an update about Agency Settings for Partner Plan subscribers with credit billing enabled.
Before the update, all templates and mini-apps in the UChat template/app store will show in your custom domain for all your clients. Now you can choose to show or not show each one of the templates and apps.
To manage the settings, go "Agency Settings" on your dashboard, then "Templates" or "Mini-Apps":
Manage One-time Link for Templates (both in workspace & via API)
This is an update about Templates - One-time Link.
Before the update, the one-time link for a template is actually the same as a permanent shared link. The difference is the template turns from "shared" to "private" after one installation.
Now you can manage different one-time links for each sharing and you are able to track the status of the installation. Available status: "Available", "Installed" and "Expired".
You can manage your one-time link either: - manually in your workspace or - automatically via APIs
For manual management, on your dashboard, go "My Contents" - "My Bot Templates", select a template and the drop-down menu will show like this:
Click on 4 in the above screenshot to get the "Template Ns", the id of this template for API usage. Click on 5 in the above screenshot to generate a one-time link for this template:
Edit expiration duration and click "Generate New Link". This link will be added to the list and the status will be "Available" in the beginning. When the link is used and the template is installed, the status changes to "Installed". If the template is not installed within the duration, the status goes to "Expired".
Wherever you need to display a media, a "Select Media" window will show.
Under the "Upload Your File" tag, you can select media from your computer and all those uploaded media go to the "Library" tag. So that from now on you can pick the media in the library instead of uploading it again.
UChat just add a new feature to allow you to delete media in the library. Simply hover over the media and a red delete button will show, click on the button to remove this media from the library.
Switch Bot/Flow Feature available in All channels now!
Yesterday we added a new feature about switching bot/flow between different phone numbers in WhatsApp, SMS and Voice.
The feature is now available for all channels! But there is a difference to mention:
WhatsApp, SMS and Voice channel are using users' phone numbers for user_id (user identification), so there is no conflict when you switch a bunch of users from an old number to another phone number.
However, channels like Facebook are using user_id to identify users and each user_id is unique only under this page, it's not unique in the whole Facebook. If the user is switched from one Facebook page to another Facebook page carrying the old page user_id, conflicts might appear.
Therefore, all bot users will be removed to avoid conflicts.
when you unlink a bot (not in WhatsApp, SMS or Voice), your bot users are kept in the flow.
when you link a bot (not in WhatsApp, SMS or Voice), all bot users in the flow are removed.
Switch Bot/Flow between Phone Numbers (WhatsApp, SMS & Voice)
Before the update, if you need to move a flow from no/one number to another, you will need to publish the old flow to be a template then install it to the new numbers. In that way, bot users in the old flow are not moved to the new number. Only the flow is moved.
Now you can easily switch flow between numbers, all bot users are moved together with the flow and settings.
Simply, click on the unlink button to disconnect the flow with the number and click on link button, then choose a standalone flow to link the flow with the number:
External Request Update: send file as parameter in API calls
This is an update about the External Request in the Action Step.
You can include a file itself in the API calls instead of the URL link of the file.
In the External Request, go Body, multipart/form-data and you will see an Upload Files section. Put a file direct link here to include the file itself in the parameter. You can put the link you get from a Question Step here. (Please note that the file URL link from a Question Step is only valid for 24 hours)
Mini-App V2 - Source - Dynamic Source - Variable Value Supported in Parameters
This is an update about Mini-App Version 2. (not available in Version 1 yet)
In "Source" - "Dynamic Source",
Before the update, the parameters are fixed values, you cannot get different results for different users.
Now you can send a variable value in the parameter and get different dynamic source lists!
1. What fields can be used as parameters?
1) inputs in Auth section - Api Key type 2) client id, secret, access token, refresh token, etc in Auth section - OAuth v2 type 3) inputs of actions in Actions section
2. Dynamic Source invalid in One Time Url - 2. Web Forms - Inputs
When you go setting the inputs of web forms in a one-time URL, dynamic source won't work here.
3. the drop-down list only loaded when first click "edit action"
In the chatbot flow, when you create a new action of the Mini-App, and first click "Edit Action", the system will do an external request and generate the drop-down list based on the current value in the fields. If you change the parameter e.g. the value in Auth inputs, the drop-down list won't be re-fresh, please delete the action and create a new one.
Before the update, you can duplicate only one step at a time. Now you can select multiple steps and duplicate them.
Please note that,
- after copying multiple steps, you can only paste once. copy again for another paste - where can I paste the steps? (1) to the same bot/flow (2) to the different bot/flow but the same channel (associate custom fields will be created automatically) (3) to different channels (unsupported features will be removed)
- subflow template supported (installed subflow goes to a folder) - template configuration added: viewable, editable, version number (only for subflow template) - install template from different channel - interface changed
This is an update about the preview feature in all channels which support preview (Facebook, Telegram, WhatsApp, Line and Viber)
When you click the "Preview" button, there will be a QR code generated, you can click "Open in XX" to talk to the bot in the website/desktop application or scan the code with your camera or according phone application.
We add a new way for you to auto cleanup bot users. You can cleanup bot user when reached bot user limit or time interval.
For example, set up the cleanup to 90 days and the bot will automatically remove users who haven't interacted with your bot over 90 days.
These cleanup conditions are checked once per day, not in real-time.
Alternatively, for more customized cleanup conditions, we suggest you use a datetime based trigger to do a regular check and in the workflow, setup your own condition like only clean guest user or user without contact information, etc.
When you check error log, you can see which step in which subflow went wrong, before the update, you will need to navigate to the step yourself. Now by simply click on the step name, you will jump to the step right away.
When you click on the "Response Headers", a list of hearer information will show. Now the hearer information is all clickable. For example, in the screenshot below, you can click on the "Response-Code: 200" to get its path "$H['Response-Code'] and save the value "200" to a variable for later usage.
Hello guys! An update for u about importing uses in WhatsApp.
From now on, please always add a "+" sign in front of a phone number when you create bot users in the WhatsApp channel. The system will remove the "+" for u automatically when creating user_id. It doesn't matter you are creating via API, the create button or import bulk data(csv file).
Besides, when u create via API, only phone value is needed now.