Date Extraction interaction analyzes the users’ responses for the presence of
- Click Add new interaction/plugin
- Select Date Extraction
- Specify the interaction name, e.g. ‘Birthday’
- (Optional) Tick Highlight Extracted data in chat for a better user experience
- Click the Add button to add the interaction to the bot’s structure:
After that, specify Bot’s Message along with an Error Response:
If a user's message does not contain a date, then the bot will give the Error response message:
If a user's message contains a date, then the system will trigger the interaction that is set in the Connections tab. Otherwise, by default, the Fallback connection is set to 'do nothing'. In this case, the bot will give the same message again. If you change the Fallback connection then the system will redirect a user to another interaction after a correct date format has been entered.
The same goes for connections: if you add a simple or NLP connection, and if a user's response matches the conditions of one of the connections, then the system will redirect a user to another interaction.
For example, you can connect the Date Extraction interaction to the Bot Statement interaction to thank the user for giving the information or ask something else.
You can highlight the extracted Date in the Test chat. To do so, click the relevant button in the header:
January 02 1970
The list of recognized languages:
English, Spanish, French, Chinese simplified, German.
Updated 12 days ago
Identifies and collects numbers from the input of a user.