The Validate input action allows you to effectively replicate the Show buttons action, but for a chat widget which does not support showing buttons. It will check the user's next input for specific keywords and will direct to an intent based on the keywords used.
If you are using the LeadDesk chat widget, or other widget which allows you to show buttons, using the Show buttons action is usually better than Validate input.
When creating a new intent or editing an existing one:
- Complete the normal intent information, including its name, category (if any) and any queries or conditions that will trigger this intent.
- In the then bot replies section, type a prompt that will explain the type of responses the intent will understand. This should be carefully written so the customer understands what they need to do.
- In the and performs action section, click the drop-down list and select Validate input.
In the 1. Input box:
- In the Keywords field, type the word you are checking for and press Enter.
- Click the Next intent drop-down list to select which intent the customer will go to after this. If you have not created the next intent yet, click to select the Create new intent option to create a placeholder.
If there are further keywords you are checking for that got to a different intent:
- Click the add new input link.
- Repeat as necessary.
- When complete, click the Save button.