question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Implement Alexa Shopping

See original GitHub issue

I’m submitting a…

  • Bug report
  • Feature request
  • Documentation issue or request
  • Other… Please describe:

Expected Behavior

https://developer.amazon.com/en-US/docs/alexa/alexa-shopping/implement-shopping-actions.html

Alexa Shopping allows you to create skills where you can add products from an official store to your cart.

It uses the add Directive function (which already exists in the Jovo), but it needs a special intent type: SessionResumedRequest At the link above, there are examples.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
aswetlowcommented, Oct 18, 2021

Yes, you have to make the check in the hook:

app.hook('after.platform.init', (error, host, jovo) => {
  if(jovo.$reqeust.request.type === 'XXXXX') {
    jovo.$alexaSkill.$type = {
       type: 'ON_SESSION_RESUMED',
    };
  }
});
1reaction
aswetlowcommented, Oct 14, 2021

Hey @guilhermelirio

Thank you for the feature request. As a workaround you could use hooks:

// app.ts
app.hook('after.platform.init', (error: JovoError, host: Host, jovo: Jovo, next: Function) => {
    alexaSkill.$type = {
        type: 'ON_SESSION_RESUMED',
      };
});

app.setHandler({
    ON_SESSION_RESUMED() {
    }
 });
Read more comments on GitHub >

github_iconTop Results From Across the Web

Steps to Add Alexa Shopping Actions to Your Skill
Implement the shopping flow in your skill code. After the customer confirms interest in a product, your skill starts the Alexa Shopping flow...
Read more >
Alexa Shopping and Voice Purchasing: A Step-by- ... - CNET
Alexa Shopping and Voice Purchasing: A Step-by-Step Guide · 9. Use Alexa to track your packages · 8. Get gift ideas with Alexa...
Read more >
How to use Alexa Voice Shopping to shop on Amazon
Amazon makes ordering necessities simple, but with Alexa Voice Shopping you can place an order without picking up your phone.
Read more >
Amazon offers embedded Alexa shopping experiences
In addition to providing customers with the ability to purchase products, developers can also use the Alexa Shopping Kit to drive product ...
Read more >
What Is Alexa Voice Shopping, and How Do You Use It?
So, if you have an Alexa-enabled product, like an Amazon Echo or even the Amazon app for Android and iOS, all you have...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found