Saved Search Alerts

This app shows you how to automate repetitive search queries, and to keep up to date with changing content

View repo

About

This sample app shows how you can "save" a search. The app automatically notifies you when new matching items become available. Saved searches are great for automating repetitive search queries, and to keep up to date with changing content, for example, on websites with real-estate listings and online marketplaces.

The sample app implement the following features:

Save a search

The sample app shows you how to serialize and save the state of a given search (query and facets) using Algolia React InstantSearch and the Algolia JS Helper (1). We are using Cloud Firestore to store the serialized search state (2) and the user's email address and phone number.

Automatically get notified about new items matching your saved search

Using Firebase Schedule Functions, we regularly run the search (3) to find new matching items. We then notify the users via email, SMS, or In-App notifications (5), using providers like Twillio SMS ServiceTwillio SendGridAmazon SES.

Examples

Was this useful?

Support

Built by Algolia's developer community, not supported by Algolia

Contributors

Algolia Labs

Algolia Labs

Experimental apps and tools built by Algolia engineers.

Clément Denoix

Clément Denoix

Software Engineer @algolia

Recommended content

Frontend Tools
Widgets & Plugins

Geo Search Widget

A widget that displays search results on a Google Map.

  • JavaScript
  • React
  • Vue.js
  • Angular