Get Session

lex_runtime.get_session
ActionAmazon Web Servicesconnection required

Calls the AWS lex_runtime API (SigV4).

Returns session information for a specified bot, alias, and user ID.

Connection

Required
Yes — the node will not save without one
Auth type
API key
Providers
Amazon Lex Runtime Service
Secret shape
{"access_key_id", "secret_access_key"}
Config it needs
region
Resolved by
config.connection_id, else node.connection_id

Configuration

4 fields, 3 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
region
AWS region (overrides the connection).
stringNo———
bot_name
The name of the bot that contains the session data.
stringYes———
bot_alias
The alias in use for the bot that contains the session data.
stringYes———
user_id
The ID of the client application user. Amazon Lex uses this to identify a user's conversat
stringYes———

Output

One shape.

result

FieldTypeExample
recentIntentSummaryView
array—
sessionAttributes
object—
sessionId
string—
dialogAction
object—
{
  "dialogAction": {},
  "recentIntentSummaryView": [],
  "sessionAttributes": {},
  "sessionId": ""
}

Related Amazon Lex Runtime Service nodes

See Get Session run in a workflow.

In a technical demo we add the Amazon Lex Runtime Service connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.