The Ask: Custom entity node is helpful when you need a specific type of information that is not covered by one of the other Ask variants (Ask: Phone, Ask: Email, Ask: Number, etc). For example, when asking a user for a city in the Netherlands, using Ask: Choice or Ask: Selection would simply require too many options to be configured in the Flow.
Ask: Custom entity will try to capture the answer to a question as well as possible. It uses ChatGPT in the background to complete the task. Since ChatGPT knows how city names are used in a sentence (like "I live in Amsterdam"), and because ChatGPT knows quite a number of cities due to its training, it is able to extract a city name from a sentence.
Here are two examples: one to extract cities and the other to extract car brands.
Example of how to extract the name of a city using Ask: Custom entity
For this to work the only thing that needs to be configured in the Ask: Custom entity node is the following:
Ask: Custom entity for asking cities
The next example shows a similar use case, this time eliciting a car brand from the user.
Example of how to extract the name of a car brand using Ask: Custom entity
For this example, the Ask: Custom entity node is configured as follows:
Ask: Custom entity for asking car brands
Since ChatGPT is used under the hood, the extraction works best for commonly used entities that rely on data that is commonly available in the dataset ChatGPT was trained on. For example, asking for an internal company specific entity like part names and numbers of products that are not publicly available to the outside world will be less likely to be extracted in a good way.
Node properties
Property
Description
Explanation
Question
The original question
Try again (1)
The repeat question when wrong input is provided
optional
Try again (2)
The repeat question when wrong input is provided
optional
Assign to
To assign the result to a variable in the conversation
Remember
To also store the variable in the user object
Record audio ☎
On phone channels there is an option to record the audio of the answer
Assign audio URL to
If record audio is toggled, the URL to the audio file will be stored in this variable
Only displayed and mandatory when Record audio is toggled.
Expecting
Describe what entity you are expecting
Like: Cities in the Netherlands, Car brands or Prices.
Examples
Give some examples of the entities you would like to get captured.
In the case of cities: "Amsterdam", "Rotterdam", etc.