Workflows
What a Workflow is
A Workflow is a saved set of steps that Mirroi repeats on a schedule to find posts that match your search terms.
On this page
A workflow is a set of steps that you repeat to complete a task. For example, you might search several web sites every morning for people who are asking about products like yours, review the results to decide which posts are worth answering, and send those posts to your team. A workflow can be performed by a person or by software, and the steps are the same in either case.
In Mirroi, a Workflow is the saved version of those steps. You specify where Mirroi should search, which words it should look for, how often it should run, which posts should produce an alert, and where the alert should be sent. After you save the Workflow, Mirroi performs the steps on the schedule that you selected.
The four parts of a Workflow
A Workflow has four parts, and each part corresponds to a step that you would perform if you did the work manually.
Sources. Sources are the web sites and services that Mirroi searches. If you were doing the work manually, you would open Reddit, Hacker News, or another site and use its search feature. In Mirroi, you select the sources that you want the Workflow to search.
Search terms. Search terms are the words and phrases that Mirroi looks for in each source. If you were doing the work manually, you would type those words into the search box on each site. In Mirroi, you enter the terms once, and the Workflow uses them for every run.
Filters and checks. A filter removes posts that are not relevant before the AI reads them. Mirroi removes posts from bots, job advertisements, launch announcements, and links to your own web site at this stage. The AI then reads each remaining post and assigns a score from 1 to 5 based on how well the post matches the purpose of the Workflow.
Actions. An action determines what Mirroi does with a post that passes the checks. Mirroi can send the post to a Slack channel, send it to a webhook, or create a draft reply that you can review.
What you specify when you create a Workflow
When you create a Workflow, you specify the following items:
- The sources that the Workflow searches. You can start with two or three sources and add more later.
- The search terms that the Workflow uses. A Workflow can have up to five phrases.
- The schedule that the Workflow follows. You can run it once a day, once an hour, or every 15 minutes.
- The conditions that cause a post to produce an alert. You can use the score, the sentiment, or the urgency of the post.
- The action that the Workflow performs when a post meets the conditions. You can send the post to Slack, send it to a webhook, create a draft, or keep it in the app.
One Workflow for each task
A Workflow should have one purpose. For example, a Workflow that finds people who are asking for recommendations and a Workflow that finds people who are complaining about a competitor serve different purposes, so they should be separate Workflows. Separate Workflows allow you to use different search terms, sources, and Slack channels for each purpose, which makes the results easier to review.
If two Workflows would use the same settings, you can create one Workflow and then duplicate it instead of creating a single Workflow that tries to perform both tasks.
What a Workflow does not do
A Workflow does not run once and then stop; it continues to run on the schedule that you selected until you pause or delete it. A Workflow does not publish posts or replies on your behalf, because you review and publish every draft yourself. A Workflow is not limited to a single web site, because it can search several sources during the same run. A Workflow also does not send every post that it finds, because the filters and the action conditions determine which posts produce alerts.