How to Create Alexa Skills for Business & Employees
In this article
This guide walks you through creating custom Alexa skills for your business or employees, from planning and development to testing and publishing. Whether you want to automate internal FAQs, streamline shift check-ins, or provide hands-free access to company data, you'll learn the essential steps. Before starting, you'll need an Amazon Developer account, a basic understanding of your use case, and familiarity with the Alexa Skills Kit (ASK).
What You'll Need
- An Amazon Developer account (free to create at developer.amazon.com)
- An AWS account (free tier is sufficient for most skills)
- Basic understanding of JSON and either Python or Node.js (or use the Alexa-hosted skill with built-in templates)
- Access to the Alexa Developer Console
- An Alexa-enabled device for testing (like an Echo) or the Alexa simulator in the console
- Clear definition of your business use case and the data or actions the skill will access
Step-by-Step
- Define your skill's purpose. Write down exactly what your employees or customers will ask. For example, "What's the cafeteria menu today?" or "Report a maintenance issue." Keep it to one primary function per skill to start.
- Create an Amazon Developer account. Go to developer.amazon.com, sign in with your Amazon credentials, and complete your developer profile. This is separate from your regular Amazon shopping account.
- Open the Alexa Developer Console. Navigate to the Alexa section and click "Create Skill." Enter a skill name (this is what appears in the Alexa app) and choose a primary language (e.g., English US).
- Choose a model. Select "Custom" for full control, or "Flash Briefing" if your skill just delivers brief updates. For most business skills, "Custom" is the right choice.
- Select a backend. Choose "Alexa-Hosted (Python)" or "Alexa-Hosted (Node.js)" to avoid managing your own server. This includes a code editor and AWS Lambda hosting for free.
- Build the interaction model. In the console, define intents (actions users can take) and sample utterances (phrases users say). For example, an intent called "GetSchedule" with utterances like "what's my shift" and "when do I work today".
- Add slots for dynamic data. If users need to provide info (like a date or location), add slot types. For instance, a "Date" slot for "what's the schedule on {date}".
- Write the backend code. In the code editor, implement handlers for each intent. Use the ASK SDK to respond with text or SSML. For business data, call an API or query a database (e.g., AWS DynamoDB).
- Test in the simulator. Use the "Test" tab in the console. Type or speak utterances to see if the skill responds correctly. Check logs for errors.
- Test on a physical device. Enable the skill on your Echo device (in the Alexa app under "Skills & Games") and try real voice interactions.
- Add account linking (if needed). If your skill accesses personalized employee data, set up account linking via OAuth 2.0 to authenticate users.
- Publish to your team. For internal use, you can submit the skill for private publication (requires a business account) or distribute it as a beta. For public use, submit for certification.
Common Mistakes
- Making the interaction model too complex with too many intents at once. Start simple and iterate.
- Forgetting to include a fallback intent for unrecognized phrases.
- Not testing with real voice, which can differ from typed input.
- Hardcoding data that changes, instead of fetching it from a live source.
- Ignoring error handling in the backend, leading to unhelpful responses.
Tips
- Use the built-in templates (like Q&A or Calendar) as a starting point.
- Keep responses short and clear—Alexa is not a screen, so prioritize spoken clarity.
- Use SSML to add pauses or emphasis for better user experience.
- Implement a "help" intent and a "stop" intent for good user control.
- Use AWS Lambda environment variables for API keys, not in the code.
Troubleshooting
- Skill doesn't respond in simulator: Check the "Invocation" tab to ensure the invocation name is correct and you're using it. Also, check the Lambda logs in CloudWatch for errors.
- Skill works in simulator but not on Echo: Make sure the skill is enabled for your account and the device is connected to the same Amazon account. Also, check if the skill is in "Development" stage—you may need to enable it in the Alexa app.
- Utterances not being recognized: Review the interaction model and add more sample utterances. Use the "Evaluate Model" feature to test.
- Backend errors: Look at the CloudWatch logs for stack traces. Common issues include missing dependencies or incorrect API endpoints.
- Account linking fails: Verify your OAuth endpoints and that the redirect URI matches exactly what's in the Alexa console.
Frequently Asked Questions
- Do I need to pay for AWS to host an Alexa skill? No, the Alexa-Hosted skills come with a free tier that includes 1 million requests per month, which is enough for most small business skills.
- Can I create a private skill for only my employees? Yes, but you need a developer account with a business email and you must submit the skill for private publication. Amazon provides a process for this.
- What programming languages can I use? You can use Python, Node.js, or Java. The Alexa-Hosted option supports Python and Node.js directly.
- How long does it take to create a basic skill? For a simple FAQ skill, a few hours to a day. More complex ones with integrations take longer.
- Can I use an Alexa skill to access my company's internal data? Yes, as long as you have an API or database that the skill's backend can call. You'll need to ensure security through authentication.
- What is the difference between a custom skill and a flash briefing? A flash briefing delivers short audio content that users can browse, while a custom skill handles interactive voice commands.