Survey App Test on Alexa
Objective
This document will help you use the Survey Skill feature of the VoiceWorx platform to create an Alexa skill app.
Steps
The following shows the general steps/activities that will be carried out in setting up the survey skill. Note: It is advisable to use same email for signup across the 3 channels below. Step 1 -3 below are required.
Ensure you Login with Amazon (LWA) https://developer.amazon.com/alexa/console/ask account is setup by your admin. If you are the account admin, you can follow this instruction to set it up.
Setup Survey Content
Create New Survey Content
Design the Survey Content
Test the Survey Content
Schedule the Survey Content
Setup Survey App
Publish Survey App on Alexa
Test skill on Alexa.
Setup Survey Content
Setup Survey Content
Login to the VoiceWorx portal at https://portal.voiceworx.ai
The first step to create a Survey App is design Survey content. To Configure Survey, on the Content menu, Click on ‘Survey’.
Survey Skill home page will be displayed. Now create a new Survey Skill now. Follow the steps.
Create New Survey Content
Provide following details in the Add Survey dialog box:
Survey name :<Any Name>
Survey logo: Optional
Description: <Any Description>
Restrict Survey Custom Bot: Fill this field only if the Survey has to be restricted to a certain app.
Require Schedule: Enable / Check the box.
Status: Open
Date Open: <No next date>
Date Expire: <No previous date>
Click: Save
The Survey is created and displayed in the Survey list page.
Design the Survey Content
Click “Design” to create a Design Survey for newly created Survey.
Choose the type of question needed from the Survey Designer by drag and drop the control.
Click the Edit icon to change the question and answer and then click “close”.
To create another question of the same type you can also click the Add (+) and to delete a question click the Remove (x) icon. Once the survey designer page is complete, click “Save” and “Exit”.
Test the Survey Content
Click “Test” to run the survey content.
ChatBot opens with a welcome message. To begin the chat, use the command “take survey”. The ChatBot provides the option to start all the available surveys. Invoke the survey as per the provided suggestion in ChatBot. If you are not the creator of the Survey, you might receive following messages.
The message “The survey has been closed by your administrator”, It occurs because the Survey is not live yet. Let us now finish the additional setup so that other users can participate in the survey. Survey has 3 statuses basically:
Open: Survey is created and is under design, so the users cannot access survey yet.
Closed: Survey is now closed. Survey status is changed to Closed after the scheduled time period.
Live: The participants now participate in the Survey.
Schedule the Survey Content
VoiceWorx supports a parameter “Require Schedule” for survey, which determines whether the Survey is available for anyone or requires invitation from the Admin to be able to participate in the Survey.
Require Schedule: Checked, only invited employees, for whom the Survey has been scheduled can participate. Invited employees can participate in the survey over the scheduled time period only.
Require Schedule: Unchecked, anyone in the organization can participate in the Survey.
For this document, we are demonstrating the Require Schedule: True scenario. Enable the “Require Schedule” field and click “Update”.
Click “Schedule” to create Survey Schedule.
Click “Launch Survey”.
The Survey Status would change to “Live”.
Now, we have to invite the employees for participating in Survey. In an organization, we can schedule this survey for every employee. Using the left navigation menu click “Administration” and then click the “Invite Users”.
Complete all the fields with the details of the employees and click “Send Invite”.
The invited user would be listed in “Manage User Invitations”. Repeat the same to invite another user.
Using the left navigation menu click “Content” then and select “Survey”.
Click “Schedule”.
Click “Schedule New Employee”.
Select the name of the employee for the “Employee name” dropdown field, the end date of survey and click “Save”.
Setup Survey App
To create a survey app, use the navigation menu on the left and select “Custom Apps” then select “Manage Apps” then click on “Create New Custom App”.
A popup screen will appear as shown below.
Add Custom Skill by doing the following:
Name: Survey Test
Custom Skill Type: Survey
Category: None
Click: Save.
You should see the screen as shown below:
Publish to Alexa
To publish to Alexa, in the top menu tabs select “Publish” then click “Add Skill Publishing”.
External Skill Name: Survey Skill. (This will be the name of the skill in Alexa. Therefore, make it unique and different from the names of your other skills in Alexa.)
Skill Type: Survey
Channel: Alexa
Skill Invocation Name: Take Survey. (This will be what users say to launch your skill in Alexa. It must be in lower case alphabets cannot contain START, BEGIN, STOP, EXIT, LAUNCH and cannot contain number or special characters.)
Uncheck the following: Require account linking, Auto Publish
Optional: Replace all placeholder values in all “Message”. Uncheck all the settings shown in the second image below.
Click: Publish.
Once in Publish Skill to Amazon Alexa, select and do the following:
Selected Skill: Survey Skill
Select Amazon Account: LWA Config
Select the LWA account setup by your admin or the one you set up in step 4 above.
Click: Publish to Alexa.
On the resulting screen, ensure that a success message shows for the publishing steps before clicking the “Go To Alexa Skill”. If success message not shown, click “Go To Skill Publishing” to fix any issue shown in publishing result.
On the Alexa skill page, ensure “Full Build Successful” message is shown in bottom right corner before starting to test skill.
Go to “test” tab in the top menu, then below “test” tab change the skill test status from “Off” to “Development”.
Invoke skill by typing the invocation name (take survey) inserted in the publishing step in Voiceworx. If the invocation is successful, your configured welcome message will be displayed in the developer console.
Congratulations!
You have successfully completed building a Survey Skill Test on Alexa.
Last updated