generous-apricotโข3y ago
Dataset comparison
Hi, I am looking for a way how to compare two datasets produced by two distinct runs and notify me via email if they differ. To be more concrete, I want to set me scraper actor to check some products on a site periodically (each day), compare its output with the output from previous run and if the sets of products (for example their IDs) differ, notify me via email. It should work in similar manner as Jakub's Content Checker (https://console.apify.com/actors/ctMjXHGFjGPwBzCrq). I believe that I somehow need to connect different actors togather... Please, can you point me to some tutorial, docs, or thread hereby where this workflow is discussed? Since already read many Apify blogs and documentation, but was unsuccessful in finding the solution, I ask you ๐
1 Reply
Hello @Deleted User, I see there are some actors for comparing datasets already on apify store even for free https://apify.com/store?search=compare then there is a actor for sending an email https://apify.com/apify/send-mail
I am not sure what would be a best for your use case but you may use API calls for running another actor after the first one finishes, or you may build your own with using
Apify.call
for better maintaining whenever which actor should be called https://docs.apify.com/sdk/js/docs/examples/call-actorApify
Store ยท Apify
Explore web scraping and automation actors shared by other users to avoid reinventing the wheel!
Apify
Send Email - Webhook to send mail ยท Apify
The actor automatically sends an email to a specific address. This actor is useful for notifications and reporting. With only 3 lines of javascript code, you'll be on top of your scraping actors and never miss important results or issues.
Call actor | Apify Documentation
This example demonstrates how to start an Apify actor using