Events in the Alexa Conversations Description Language


In the Alexa Conversations Description Language (ACDL), you describe conversational experiences by providing samples of events and actions. An event represents a trigger external to the skill, such as something the user says.

Declare an event

You declare events by using an utterances<T>() action. The utterances you provide to the utterances<T>() action represent variations of the utterances that trigger the event.

The following example shows an event declaration for a weather skill.

getWeatherEvent = utterances<GetWeatherForCityAndDate>([
  "What's the weather {date} in {cityName}",
  "what is the weather {date}",
  "How is the weather {date}",
  "How is the weather in {cityName} {date}",
  "how is the weather",
  "Can you please give me the weather report for {date}",
  "What's the weather"
])

For details about using events, see Use Events in ACDL.


Was this page helpful?

Last updated: Nov 27, 2023