SnatchBot Support

Welcome to the SnatchBot Support. You'll find comprehensive guides and documentation to help you start working with SnatchBot as quickly as possible, as well as support if you get stuck. Let's jump right in!

The community forum is not a helpdesk
Let’s put this in the front - the vast majority of people here do not work for SnatchBot.

Get Started    SNATCHBOT API

Date Extraction

Analyzes user’s input and applies a timestamp.

Date Extraction interaction can help you to analyze the users’ responses for the presence of dates and for their quick fetching.
To create this interaction, click Add new interaction/plugin link from the bottom left of the screen, and then select ‘Date Extraction’ interaction type. After that, specify the interaction name, e.g. ‘Birthday’. Click the 'Add' button to add the item to the bot’s structure:

For a better user experience, select ‘Highlight Extracted data in chat’ checkbox:

After that, you should specify Bot’s message along with an error response:

Here is a list of the valid date formats that bot will recognize

📘

Dates can be entered in the following numerical formats:

"1970.01.02"
"1970-01-02"
"1970/01/02"
"02.01.1970"
"02-01-1970"
"01-02-1970"
"02/01/1970"
"01/02/1970"
"Jan 02 1970"
"02 Jan 1970"

📘

Dates can also be entered in the written form. The languages recognized are English, Spanish, French, Chinese simplified and German.

"January 02 1970"
"02 January 1970"
"Jan 2 1970"
"2 Jan 1970"
"January 2 1970"
"2 January 1970"

When testing your bot, you can see that a valid date will be highlighted or an error response will be sent to a user if the bot receives an invalid format of the date:

If needed, you can connect Date Extraction interaction to the other types of the interactions. For example, to the Bot Statement to thank the user for giving the information. Additionally, if no conditions are met, bot can go to another interaction:

Watch this video tutorial "Obtaining a date from the user's input with a chatbot''

Updated 8 months ago


Next Steps

Identifies and collects numbers from the input of a user.

Number Extraction

Date Extraction


Analyzes user’s input and applies a timestamp.

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.