SlideShare a Scribd company logo
Learnings fromLearnings from
Building Alexa Skills with PHPBuilding Alexa Skills with PHP
Ralf EggertRalf Eggert
CEO Travello GmbH, Programming since 29 years,CEO Travello GmbH, Programming since 29 years,
Trainer, Author, Coach DeveloperTrainer, Author, Coach Developer
Ralf EggertRalf Eggert 33 fromfrom 2525
AgendaAgenda
My First Alexa Skill
My LearningsMy Second Alexa SkillMy Second Alexa Skill
My Tech Stack
My Tech StackMy Tech Stack
Ralf EggertRalf Eggert 55 fromfrom 2525
Basic Technology SetupBasic Technology Setup
Ralf EggertRalf Eggert 66 fromfrom 2525
PHP on AWS Lambda?PHP on AWS Lambda?
https://goo.gl/N9VVvb
Ralf EggertRalf Eggert 77 fromfrom 2525
Why use own end-point server?Why use own end-point server?
No native PHP support
on AWS Lambda functions
Need to compile PHP and
use a Node.js wrapper
More complicated than
a plain old LAMP server
Ralf EggertRalf Eggert 88 fromfrom 2525
My open-source PHP libraryMy open-source PHP library
https://github.com/travello-gmbh/
My First Alexa SkillMy First Alexa Skill
Ralf EggertRalf Eggert 1010 fromfrom 2525
The ideaThe idea
Ralf EggertRalf Eggert 1111 fromfrom 2525
How it worksHow it works
Alexa! Start
GUEST reception!
I am very pleased
That guests are here!
Say hello to Ella
Nice to see you Ella.
Your hair colour really
fits together with our
Pillow cases.
Please welcome
Martha
Where on earth have you
Been such a long time
Martha?
Thanks Alexa I was delighted to meet
you Ella And Martha!
Ralf EggertRalf Eggert 1212 fromfrom 2525
Early successEarly success
Top 10 of activated Skills
from March till today
60 customer reviews so far
July 2017:
- 22.000 customers
- 54.000 Sessions
- 460.000 Utterances
My Second Alexa SkillMy Second Alexa Skill
Ralf EggertRalf Eggert 1414 fromfrom 2525
The ideaThe idea
Ralf EggertRalf Eggert 1515 fromfrom 2525
How it worksHow it works
Alexa! Start
boredom killer
I am very pleased
to fight your boredom!
Answering the
Questions.
How many are you?
How old are you?
Creativity, entertainment,
gaming, movement, home
or whatever?
Next one please!
First suggestion:
Make Photo-Shooting!
Thanks I will do that.
Second suggestion:
Make a forest Olympiad!
My LearningsMy Learnings
Ralf EggertRalf Eggert 1717 fromfrom 2525
Biggest ChallengesBiggest Challenges
Custom slot type for category
needed too many synonyms
VUI was much more complex
While updating one skil a
Small risk to break other skills
Slot type for German
first names incomplete
Signature Validation
(no problem on AWS Lambda)
Setup second end-point
server (for testing)
Ralf EggertRalf Eggert 1818 fromfrom 2525
Some numbersSome numbers
15 custom intents
3 custom slot types
185 defined Utterances
100 suggestions
4 custom intents
1 extended slot type
34 defined utterances
100 greeting phrases
Ralf EggertRalf Eggert 1919 fromfrom 2525
Certification processCertification process
16 hours to go live
(July 2017)
0 Issues
17 hours to go live
after re-submitting
7 days for first feedback
(February 2017)
3 Issues:
- Signature validation
- Single-word invocation
- No response on »abbrechen«
23 hours to go live
after re-submit
Ralf EggertRalf Eggert 2020 fromfrom 2525
DevelopmentDevelopment
15 working days total
10% time spent
on infrastructure code
90% time spent
on skill code
10 working days total
80% time spent
on infrastructure code
20% time spent
on skill code
Ralf EggertRalf Eggert 2121 fromfrom 2525
LearningsLearnings
1) Start with a very simple skill
2) Write a solid code base for infrastructure code or use an OS one
3) Test thoroughly (use Postman, unit tests and ASK beta test)
4) Do not trust the built-in slot types blindly (extend them)
5) Design a sophisticated voice user interface (VUI)
6) Build more than one skill
7) Have fun
Questions?Questions?
Thanks!Thanks!
Contact ralf@travello.audioContact ralf@travello.audio
Web www.travello.audioWeb www.travello.audio
Coming soon?Coming soon?
Ralf EggertRalf Eggert 2525 fromfrom 2525
Photo creditsPhoto credits
Entertainment Nation
Wandering Wings
Acoustic Folk Band
Flickr CC BY 2.0
Jules Minus
Bored
Flickr CC BY 2.0

More Related Content

PDF
Voice is the New Keyboard - Voice Interfaces in 2018 and Beyond
KEY
Le PERL est mort
PPT
WordPress Development: Tracking Your Code With Version Control
PPTX
Episode 2 conditional flows & loops
PDF
Cryental
PPTX
Episode 19 - Asynchronous Apex - Batch apex & schedulers
ODP
Things I Learned From Having Users
PDF
Whoops! 404 Error!
Voice is the New Keyboard - Voice Interfaces in 2018 and Beyond
Le PERL est mort
WordPress Development: Tracking Your Code With Version Control
Episode 2 conditional flows & loops
Cryental
Episode 19 - Asynchronous Apex - Batch apex & schedulers
Things I Learned From Having Users
Whoops! 404 Error!

What's hot (17)

PDF
Debugging Tips and Tricks
PDF
Whoops! 404 Error!
PDF
Whoops! 404 Error!
PDF
Whoops! 404 Error!
PDF
Whoops! 404 Error!
PDF
Whoops! 404 Error!
PDF
Whoops! 404 Error!
PDF
Whoops! 404 Error!
PDF
Whoops! 404 Error!
PDF
Whoops! 404 Error!
PDF
Whoops! 404 Error!
PDF
Whoops! 404 Error!
PDF
Whoops! 404 Error!
PDF
Whoops! 404 Error!
PDF
Whoops! 404 Error!
PDF
Whoops! 404 Error!
PDF
Whoops! 404 Error!
Debugging Tips and Tricks
Whoops! 404 Error!
Whoops! 404 Error!
Whoops! 404 Error!
Whoops! 404 Error!
Whoops! 404 Error!
Whoops! 404 Error!
Whoops! 404 Error!
Whoops! 404 Error!
Whoops! 404 Error!
Whoops! 404 Error!
Whoops! 404 Error!
Whoops! 404 Error!
Whoops! 404 Error!
Whoops! 404 Error!
Whoops! 404 Error!
Whoops! 404 Error!
Ad

Similar to Learnings Building Alexa Skills with PHP (20)

PDF
Learnings Building Alexa Skills with PHP
PDF
Develop Alexa Skills for Amazon Echo with PHP
PPTX
Voice enable all the things with Alexa
PPTX
Building Amazon Alexa custom Skill step by step
PDF
Introduction to building alexa skills and putting your amazon echo to work
PDF
Google vs Alexa: Battle of the Bots
PDF
Marcel Pociot "Alexa, let's build a voice-powered app"
PDF
How to build voice interfaces in a professional way
PDF
introductiontoalexaskillskit-160426090427.pdf
PDF
Get Started Developing with Alexa and Drupal
PDF
Amazon alexa skill
PDF
Design and Develop Alexa Skills - Codemotion Rome 2019
PPTX
introductiontoalexaskillskit-160426090427.pptx
PPTX
Amazon Alexa workshop
PDF
Building Alexa Skills
PDF
Alexa Skills Kit with Web API on Azure
PDF
Case-Study für Alexa Skill Empfangsdame
PDF
Case-Study für Alexa Skill Empfangsdame
PPTX
IT Camp 2019: How to build your first Alexa skill in under one hour
PPTX
Start building for voice with alexa
Learnings Building Alexa Skills with PHP
Develop Alexa Skills for Amazon Echo with PHP
Voice enable all the things with Alexa
Building Amazon Alexa custom Skill step by step
Introduction to building alexa skills and putting your amazon echo to work
Google vs Alexa: Battle of the Bots
Marcel Pociot "Alexa, let's build a voice-powered app"
How to build voice interfaces in a professional way
introductiontoalexaskillskit-160426090427.pdf
Get Started Developing with Alexa and Drupal
Amazon alexa skill
Design and Develop Alexa Skills - Codemotion Rome 2019
introductiontoalexaskillskit-160426090427.pptx
Amazon Alexa workshop
Building Alexa Skills
Alexa Skills Kit with Web API on Azure
Case-Study für Alexa Skill Empfangsdame
Case-Study für Alexa Skill Empfangsdame
IT Camp 2019: How to build your first Alexa skill in under one hour
Start building for voice with alexa
Ad

More from Ralf Eggert (20)

PDF
PHP Frameworks: I want to break free (IPC Berlin 2024)
PDF
PHP Rewrite: Do the right thing (IPC Berlin 2024)
PDF
ChatGPT: unser täglich' Bot gib uns heute
PDF
Der ultimative PHP Framework Vergleich 2023 Edition
PDF
PHP Module als Rundum-Sorglos-Pakete entwickeln
PDF
Alexa, what's next?
PDF
Alexa, wohin geht die Reise
PDF
8. Hamburg Voice Interface Meetup
PDF
Welcome Bixby
PDF
Alexa Skill Maintenance
PDF
Vom Zend Framework zu Laminas
PDF
Alexa Skills und PHP? Passt das zusammen?
PDF
Mit Jovo von 0 auf 100
PDF
Vom Zend Framework zu Laminas
PDF
Alexa for Hospitality
PDF
Alexa, lass uns Geld verdienen – fünf Geschäftsmodelle, die wirklich funktion...
PDF
Fortgeschrittene Techniken für erfolgreiche Sprachanwendungen
PDF
Die sieben Projektphasen für Voice Projekte
PDF
Künstliche Intelligenz – Traum und Wirklichkeit
PDF
Multi-Modal Voice Development with Amazon Alexa
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Rewrite: Do the right thing (IPC Berlin 2024)
ChatGPT: unser täglich' Bot gib uns heute
Der ultimative PHP Framework Vergleich 2023 Edition
PHP Module als Rundum-Sorglos-Pakete entwickeln
Alexa, what's next?
Alexa, wohin geht die Reise
8. Hamburg Voice Interface Meetup
Welcome Bixby
Alexa Skill Maintenance
Vom Zend Framework zu Laminas
Alexa Skills und PHP? Passt das zusammen?
Mit Jovo von 0 auf 100
Vom Zend Framework zu Laminas
Alexa for Hospitality
Alexa, lass uns Geld verdienen – fünf Geschäftsmodelle, die wirklich funktion...
Fortgeschrittene Techniken für erfolgreiche Sprachanwendungen
Die sieben Projektphasen für Voice Projekte
Künstliche Intelligenz – Traum und Wirklichkeit
Multi-Modal Voice Development with Amazon Alexa

Recently uploaded (20)

PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
cuic standard and advanced reporting.pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPT
Teaching material agriculture food technology
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
sap open course for s4hana steps from ECC to s4
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Encapsulation_ Review paper, used for researhc scholars
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
MYSQL Presentation for SQL database connectivity
Review of recent advances in non-invasive hemoglobin estimation
NewMind AI Weekly Chronicles - August'25 Week I
Dropbox Q2 2025 Financial Results & Investor Presentation
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
The AUB Centre for AI in Media Proposal.docx
Per capita expenditure prediction using model stacking based on satellite ima...
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
cuic standard and advanced reporting.pdf
Chapter 3 Spatial Domain Image Processing.pdf
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Teaching material agriculture food technology
MIND Revenue Release Quarter 2 2025 Press Release
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
sap open course for s4hana steps from ECC to s4
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Encapsulation_ Review paper, used for researhc scholars

Learnings Building Alexa Skills with PHP

  • 1. Learnings fromLearnings from Building Alexa Skills with PHPBuilding Alexa Skills with PHP
  • 2. Ralf EggertRalf Eggert CEO Travello GmbH, Programming since 29 years,CEO Travello GmbH, Programming since 29 years, Trainer, Author, Coach DeveloperTrainer, Author, Coach Developer
  • 3. Ralf EggertRalf Eggert 33 fromfrom 2525 AgendaAgenda My First Alexa Skill My LearningsMy Second Alexa SkillMy Second Alexa Skill My Tech Stack
  • 4. My Tech StackMy Tech Stack
  • 5. Ralf EggertRalf Eggert 55 fromfrom 2525 Basic Technology SetupBasic Technology Setup
  • 6. Ralf EggertRalf Eggert 66 fromfrom 2525 PHP on AWS Lambda?PHP on AWS Lambda? https://goo.gl/N9VVvb
  • 7. Ralf EggertRalf Eggert 77 fromfrom 2525 Why use own end-point server?Why use own end-point server? No native PHP support on AWS Lambda functions Need to compile PHP and use a Node.js wrapper More complicated than a plain old LAMP server
  • 8. Ralf EggertRalf Eggert 88 fromfrom 2525 My open-source PHP libraryMy open-source PHP library https://github.com/travello-gmbh/
  • 9. My First Alexa SkillMy First Alexa Skill
  • 10. Ralf EggertRalf Eggert 1010 fromfrom 2525 The ideaThe idea
  • 11. Ralf EggertRalf Eggert 1111 fromfrom 2525 How it worksHow it works Alexa! Start GUEST reception! I am very pleased That guests are here! Say hello to Ella Nice to see you Ella. Your hair colour really fits together with our Pillow cases. Please welcome Martha Where on earth have you Been such a long time Martha? Thanks Alexa I was delighted to meet you Ella And Martha!
  • 12. Ralf EggertRalf Eggert 1212 fromfrom 2525 Early successEarly success Top 10 of activated Skills from March till today 60 customer reviews so far July 2017: - 22.000 customers - 54.000 Sessions - 460.000 Utterances
  • 13. My Second Alexa SkillMy Second Alexa Skill
  • 14. Ralf EggertRalf Eggert 1414 fromfrom 2525 The ideaThe idea
  • 15. Ralf EggertRalf Eggert 1515 fromfrom 2525 How it worksHow it works Alexa! Start boredom killer I am very pleased to fight your boredom! Answering the Questions. How many are you? How old are you? Creativity, entertainment, gaming, movement, home or whatever? Next one please! First suggestion: Make Photo-Shooting! Thanks I will do that. Second suggestion: Make a forest Olympiad!
  • 17. Ralf EggertRalf Eggert 1717 fromfrom 2525 Biggest ChallengesBiggest Challenges Custom slot type for category needed too many synonyms VUI was much more complex While updating one skil a Small risk to break other skills Slot type for German first names incomplete Signature Validation (no problem on AWS Lambda) Setup second end-point server (for testing)
  • 18. Ralf EggertRalf Eggert 1818 fromfrom 2525 Some numbersSome numbers 15 custom intents 3 custom slot types 185 defined Utterances 100 suggestions 4 custom intents 1 extended slot type 34 defined utterances 100 greeting phrases
  • 19. Ralf EggertRalf Eggert 1919 fromfrom 2525 Certification processCertification process 16 hours to go live (July 2017) 0 Issues 17 hours to go live after re-submitting 7 days for first feedback (February 2017) 3 Issues: - Signature validation - Single-word invocation - No response on »abbrechen« 23 hours to go live after re-submit
  • 20. Ralf EggertRalf Eggert 2020 fromfrom 2525 DevelopmentDevelopment 15 working days total 10% time spent on infrastructure code 90% time spent on skill code 10 working days total 80% time spent on infrastructure code 20% time spent on skill code
  • 21. Ralf EggertRalf Eggert 2121 fromfrom 2525 LearningsLearnings 1) Start with a very simple skill 2) Write a solid code base for infrastructure code or use an OS one 3) Test thoroughly (use Postman, unit tests and ASK beta test) 4) Do not trust the built-in slot types blindly (extend them) 5) Design a sophisticated voice user interface (VUI) 6) Build more than one skill 7) Have fun
  • 25. Ralf EggertRalf Eggert 2525 fromfrom 2525 Photo creditsPhoto credits Entertainment Nation Wandering Wings Acoustic Folk Band Flickr CC BY 2.0 Jules Minus Bored Flickr CC BY 2.0