Actions 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 Alexa Conversations Description Language (ACDL), an action represents some aspect of a skill's behavior. For example, an action could be a response to a question by saying or displaying some information, a request to fulfill a task by invoking a back-end API, and so on.
You declare action signatures in ACDL, but you implement the actions themselves outside of ACDL, such as in AWS Lambda.
You use your declared actions in dialog samples to represent the invocation of the corresponding skill behavior.
Declare an action
You declare the type signature of an action by using one of the following syntax patterns.
action ReturnType <action_name>()
action ReturnType <action_name>(Type arg)
action ReturnType <action_name>(Type arg1, Type arg2, ...)
action ReturnType <action_name>(Type arg = <default_value>, ...)
For details about using actions, see Use Actions in ACDL.
Related topics
Last updated: Nov 27, 2023