Text Form

Use the text form node to identify intents from a captured user utterance. The text form node is accessible to voice and digital channels.

Prerequisites

Create an open form type if not already done. The open form type connects to a natural language processing (NLP) engine and matches JSON name-value pairs of interest. See Open Forms.

Name

Give the node a name.

Open Form

Select the open form type.

Language

Select the language.

NLP Engine

Description

Google Cloud Dialogflow Refer to the languages supported by Google.
Amazon Lex V2 Select the language the bot supports
IBM Watson Select from the languages supported by the Watson Agent.
Note:

To support multiple languages from a single text form node, assign a language variable on the NLP Settings tab. The language set in the variable overrides this static language setting.

Return Values

Select the variables to store the return values.

Setting

Description

Value

The name given to the return value in the open form.

See Open Forms.

Assign the value to variable

Select a variable to assign to the return value.

Default value

Assign a default value to the variable.

NLP Settings

Setting

Description

Query Parameters

Applicable to Google Cloud Dialogflow.

Pass parameters, webhook headers, and payload to Google Cloud Dialogflow. Use to analyze query sentiment, contacts, and session entities.

Example:
"timeZone": "America/New_York",
"geoLocation": {"latitude": 12, "longitude": 85},
"contexts": [{"name":"outage", "lifespanCount":5}],
"resetContexts": true,
"sessionEntityTypes": [{"name":"snack", "entityOverrideMode":"ENTITY_OVERRIDE_MODE_OVERRIDE", "entities":{"value": "Tea", "synonyms": ["tea", "Tea"]}}],
}
Note:

Studio does not validate the JSON.

Optionally, enter a variable in the Query Parameters field, where the variable contains the JSON.

Learn more about query parameters with Dialogflow ES and query parameters with Dialogflow CX.

Language Variable

Applicable to Google Cloud Dialogflow and Amazon Lex V2.

To support multiple languages from this text form node, select a language variable. This language variable setting overrides the static Language setting.

See Supported Language Codes.