In this tutorial, you will learn:

  • What is an ISP?
  • Types of ISPs
  • How to use ISPs
  • How to use the Payment Block on Voiceflow
  • How to cancel payments of an ISP

Note: ISPs can be referred to as both purchases and products. It means the same thing - the user is purchasing a product.

Video Tutorial

A note about the above video: you must ensure a cancel payment block is utilized. This can be done in an individual flow or in the home flow, by using the cancel payment block. 

What is an In-Skill Purchase (ISP)?

An ISP allows you to sell premium content where users can opt for one-time purchases, subscriptions or consumables. Skills can still be free to use, but ISPs are useful when you want to offer premium content (e.g. upgraded versions of a game skill). Currently, the ISP feature is only available in the US.

How to Use an ISP in a Voiceflow Project

1. Select English (US)

Since ISPs are currently available only in the US, you must select English (US) as your region/location.

2. Create a product
Create a product by heading over to the header of your project. Select 'tools', 'products' and then 'create a product' to begin.

3. Fill out the prompts

Under the pricing prompt, there are three different product types: one-time purchases, subscriptions, and consumables. One-time purchases can be bought one time by the user for the entirety of the skill (e.g. a permanent membership). Subscriptions are used for weekly or monthly purchases and consumables are products that can be purchased multiple times. 

We've chosen cheese as our product and categorized it as a consumable. For a consumable, you must include the number of units the user will receiving per purchase. After, fill out the price you are charging for your product.

In the third prompt, insert the invocation that the user must say in order to trigger the payment. The phrases are used so Alexa recognizes the user payment, once in the payment block.

Upload the icons of your product.

Fill in the blanks relating to your product and hit submit to create your product. The purchase prompt and bought description and important when creating a product as the user must be asked if they wish to purchase your product. After purchasing, the bought description is launched so it confirms the purchase of the product.

You'll see the product and its price once you click into 'products' in the 'tools' tab in the header.

4. Create a User Info Block

The user info block checks whether or not the user has already purchased the product. In our cheese example, our product is a consumable; the user info block tells us if we've already purchased the product and if so, how many units.

5. Create a variable for your product

If you're unfamiliar with variables, you can check out our article here. In our cheese example, we'll create a 'cheeses' variable.

6. Give the user the option to purchase

In order for the user to be prompted for a purchase, let's add a choice block. 

We've prompted the user and asked them if they wanted to purchase more cheese. Once we give them that option, we can link the 'yes' answer to our payment block.

We put a speak block at the end of our flow to conclude our skill.

From step 3, we filled out the 'bought description' prompt so the user's purchase is validated.

7. Create a cancel payment option and a confirmation prompt

For subscription product types, create a cancel payment option if the user decides to end their payment. 

Did this answer your question?