Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

General Discussion

Tyler Berger
Tyler Berger
268 Points

"Web Scraping" in Alexa Skill.


I own and am in control of a Shopify eCommerce store.

I am new to Alexa Skills, but I am using AWS Lambda currently and am language-agnostic (I don't care which language I have to use).

I would like someone to be able to ask for a product in my Alexa Skill and then the Skill return the Quantity Available on the web page for that specific product.

How would I go about doing that?

Steven Parker
Steven Parker
220,425 Points

I only just discovered this message. It might have gotten more attention if it had been posted in the "API" category.

1 Answer

you can store all the products in your ecommerce store in a database, with the product and quantities available. then have your AWS lambda call the database with the respective rows + columns and return that value as a string and have alexa say the quantity and etc.