-
-
Notifications
You must be signed in to change notification settings - Fork 191
Alexa Card node
Guidone edited this page Dec 12, 2018
·
4 revisions
Cards are shown in graphical enabled devices and in the timelines of Alexa app.
In order to add a card to a speech output, just chain the nodes
In order to create a card programmatically in a upstream Function node
:
msg.payload = {
cardType: 'standard',
title: 'Title of the card',
text: 'Some descriptive text here',
smallImage: 'https://placeimg.com/320/240/any',
largeImage: 'https://placeimg.com/640/480/any'
};
Available parameters for the msg.payload
Name | Type | Description |
---|---|---|
cardType | string | Type of card. One of: simple, standard, linkAccount, askForPermissionsConsent |
title | string | The title of the card |
content | string | Text of the card simple |
text | string | Content of the card standard |
smallImage | string | URL of image (small). Only for standard type |
largeImage | string | URL of image (large). Only for standard type |