Skip to content
This repository has been archived by the owner on May 1, 2023. It is now read-only.

An Alexa sample skill that demonstrates how to use In-Skill Purchasing (ISP) features by offering a "Greetings Pack” and a “Premium Subscription that greets the customer in a variety of languages in different accents using Amazon Polly.

License

alexa-samples/skill-sample-nodejs-premium-hello-world

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build An Alexa Skill with In-Skill Purchases - Premium Hello World

Adding premium content to your skill is a way for you to monetize your skill. This Alexa sample skill is a template for a basic ISP skill. It takes the hello world skill and adds greetings in a variety of languages as premium content. This premium content is accessed through a one-time purchase of the "Greetings Pack". It also includes a monthly "Premium Subscription", which greets the customer in multiple languages in a variety of voices using Amazon Polly. Finally, the third type of ISP product is also included (Consumables) as a "Goodbyes Pack" so you get goodbyes in different languages a limited number of times (note that the consumables are tracked in DynamoDB and you need to grant DynamoDB access to your skill Lambda role).

What's covered

  1. Module 01: Deployment of an ISP product of type Entitlement via the ASK-CLI
  2. Module 01: Get a list of purchasable ISP products
  3. Module 01: Upsell and Buy directives (both request and response)
  4. Module 02: Deployment of an ISP product of type Subscription via the ASK-CLI
  5. Module 02: Products collected via slots with automatic dialog delegation
  6. Module 02: Refund of ISP products
  7. Module 03: Deployment of an ISP product of type Consumable via the ASK-CLI
  8. Module 03: Ask for purchase history
  9. Module 03: Ask for inventory of consumables (DynamoDB based persistence adapter used for keeping track)

Each module is standalone and can be deployed independently but each builds on top of the previous one. Hence module 3 covers all topics.

About

An Alexa sample skill that demonstrates how to use In-Skill Purchasing (ISP) features by offering a "Greetings Pack” and a “Premium Subscription that greets the customer in a variety of languages in different accents using Amazon Polly.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published