by Felix Hürlimann
A few weeks ago I’ve written about how Squirro helped me finding a flat. It was quite easy, I just had to setup a topic and configure the different webpages that provide information about available flats and then wait for my daily digest email to show these flats. This is very handy as you do not have to check all the housing websites by hand on a regular basis. But then waiting for the email to arrive for up to 24 hours might be too long, as someone else potentially saw the perfect announcement quicker.
Now there is a solution to this: we added the triggers that were so far only available in the salesforce integration to our standalone version. Triggers is a notification feature that allows you to act on specific conditions directly.
Let me explain you how they work with the following example: as I am interested in all sorts of news about elasticsearch I’ve setup a Squirro topic on this subject. Let’s assume that I am fine with catching up on the subject whenever I feel like, but if e.g. a new version is released or a meetup in Switzerland is announced I want to be notified immediately, without having to wait for my next digest email, so I set up a trigger alert for these conditions.
Here’s a short screencast and a description to show how to configure triggers:
Step 1: Setup a topic (if you haven’t already done so)
Got to https://squirro.com/app/#add and type ‘elasticsearch’ into the input field. Press the ‘discover’ button and save the result as a new topic, name it e.g. Elasticsearch
Step 2: Setup the trigger
In the library view select your newly created topic ‘Elasticsearch’ and change to the ‘Triggers’ tab.
Click ‘Add Trigger’, then give your trigger a name and define the condition(s) is which this trigger should fire by setting words or phrases that need to match any items.
By default the trigger only fires on matches within this topic, but you can change the scope to all your objects if you want.
Currently we only allow for one type of action: sending out an email. But we will add more in the future. You can however set the frequency of how often the trigger email will be sent out. We will set it to every hour in this example.
Step 3: You’re done
Now you just can lean back and wait for the first Squirro trigger email to appear in your inbox. Here is the trigger mail for our example: