Events in the Alexa Conversations Description Language
Note: Sign in to the developer console to build or publish your skill.
Note: Alexa Conversations Description Language (ACDL) is offered as a beta and may change as we receive feedback and iterate on the feature.
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.
Related topics
Last updated: Nov 27, 2023