question

WolfgangW avatar image
WolfgangW asked

Call alexa-intent from lambda function (without request from the device)

Hi everybody,


I have the following problem with my Alexa Skill (used for APL devices). Once my skill is invoked, I want to display APL-content on the device according to different event-triggers from the lambda function.


So is there a possibility to call a new intent from a lambda function (and display APL on the device) without a certan request from the device?


Thanks in advance!

alexalambdaintentsaplrequest
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Rokas avatar image
Rokas answered

No, it is impossible to do anything with device without interacting with it.

If you want this as a feature though, you can submit it in uservoice-alexa webspace: here.

2 comments
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

WolfgangW avatar image WolfgangW commented ·

Thank you for your answer!


Maybe do you also know if the device is able to send sheduled requests to the lambda function directly after a skill is invoced (without human interaction again)?

0 Likes 0 ·
Alexander Martin avatar image Alexander Martin WolfgangW commented ·
{
    "type": "APL",
    "version": "1.2",
    "settings": {},
    "theme": "dark",
    "import": [],
    "resources": [],
    "styles": {},
    "onMount": [],
    "graphics": {},
    "commands": {},
    "layouts": {},
    "mainTemplate": {
        "parameters": [
            "payload"
        ],
        "items": [{
            "type": "Container",
            "width": "100vw",
            "items": [{
                "type": "Text",
                "text": "Hi"
            }],
            "onMount": [{
                "type": "Idle",
                "delay": 1000
            }, {
                "type": "SendEvent",
                "arguments": ["paramter 1", "parameter2", "parameter 3"]
            }]
        }]
    }
}

This would send an event to the skill backend one second after the layout was rendered

0 Likes 0 ·