Display a Thing in Bubble - ONLY IF specific keywords exist on an External Webpage

Example:

  1. I have simple link on a page in Bubble: https://www.allegrocoffee.com/shop/coffee/extra-dark-french/

  2. I want to only display this link if the keyword “In stock” exists within the page content of https://www.allegrocoffee.com/shop/coffee/extra-dark-french/

  3. Alternatively, I want to hide the link if keywords “out of stock” or “sold out” exists within the page content of https://www.allegrocoffee.com/shop/coffee/extra-dark-french/

  4. Bonus - get the price of the product listed on https://www.allegrocoffee.com/shop/coffee/extra-dark-french/, and display it in Bubble.

I imagine that this might require some sort of web scraper?

Thanks in advance if you might have a resource of where to start.

I’d used Simple Scaper to do this. There is an API option.

Thanks! I’ll take a look. As I am new to APIs on Bubble, it sounds like I’ll be able to create a unique “recipe” in Simple Scraper for each coffee website that I want to scrape, then run it against the URLs I have listed in Bubble >> then display Things in Bubble conditionally based on the results of the scraper.

Feel free to provide any other context you think help me started - as I still have a lot to learn about using APIs with Bubble.

This topic was automatically closed after 70 days. New replies are no longer allowed.