Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

Tyler Berger
Tyler Berger
268 Points

"Web Scraping" in Alexa Skill.

Hello,

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
229,670 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.