Rules: what happens on its own, with approvals and test runs

A rule describes what happens on its own: what an AI employee does, what a person is asked to do, who approves and what happens next. Rules live in Tasks, the Rules tab. One rule can be a whole process with several steps.

Updated

Contents

Creating a rule

  1. Open Tasks, Rules. Say in the field at the top what should happen every time, for example “if a deal is idle for 3 days, give the owner a task”: Opero shows the steps and you turn it on. Or click New rule.
  2. Pick a ready-made rule. Or describe how your work goes in Describe it and click Build: Opero turns it into steps. You can also click Start blank.
  3. The builder opens. Check when the rule starts and what its steps are, then click Save.
  4. Try it with a test run (see below) and turn it on with the switch in the builder or in the Runs on its own list.

Ready-made rules

  • New request: fast reply

    What it does:
    AI contacts the customer right away, a manager hears about large requests
  • Large deal: manager approval

    What it does:
    A manager approves large amounts, the rest moves on
  • Stalled deal

    What it does:
    AI follows up with the customer, a person steps in 2 days later
  • After the sale

    What it does:
    A kickoff task and a review request a week later
  • Weekly summary

    What it does:
    Every Monday AI prepares a summary for the manager

You can change anything in a ready-made rule: amounts, deadlines, assignees and texts.

When a rule starts

  • A new request arrives

    What you set:
    Source: any, or a specific one (email, website, WhatsApp, Instagram, phone, ads, customer search)
  • A request moves to a stage

    What you set:
    Stage: New, In progress, Won or Lost
  • A deal stalls

    What you set:
    How many days an open deal has had no changes
  • On a schedule

    What you set:
    Every day or every week, the day of the week and the time
  • Manually

    What you set:
    Someone starts it with Run now in the run history

Steps

Add steps with Add a step. Click a step to open its settings. Change the order with Move up and Move down.

  • Assign to an AI employee

    What happens:
    AI carries out the instruction and messages the customer if needed. Turn on Wait for the result to hold the next step until AI is done
  • Task for a person

    What happens:
    The task goes to the request owner, the company owner or a person you choose. It has a due date in days and Wait until it's done
  • Approval

    What happens:
    The rule waits for a person's decision and continues along If approved or If declined
  • Condition

    What happens:
    Checks the request amount, source, stage, whether there is a phone, an email or an owner, or whether the text contains a word. Then it branches into Yes and No
  • Notification

    What happens:
    A message to a person in the app
  • Change the request stage

    What happens:
    Moves the request to the stage you choose
  • Wait

    What happens:
    The next step starts after the number of hours or days you set

In step texts you can use {client}, {amount} and {phone}: Opero fills in the request details.

Approvals

An Approval step asks a person a question, for example “Approve the deal with this customer for $12,000?”. Nothing moves on until someone answers.

  • If your company has AI employees, the question appears with their other decisions: in AI staff, among the decisions waiting for you, and on Home.
  • If there are no AI employees, the person gets a task “Approve: …”. Complete it to approve, or cancel it to decline.

How AI staff decisions work: autonomy and approvals.

Test run

A test run shows the path a rule would take for a real request. It creates nothing and messages no one.

  1. Open the rule and find the Test run block.
  2. In Request to test with, pick a request or leave No request.
  3. Click Test. Steps that would not run for this request are marked This step won't run. For an approval, switch between If approved and If declined to see both paths.

Reset clears the result.

Run history

The History button in the rule lists every run: when it started, for which request and its current state.

  • Running

    Meaning:
    Steps are being carried out
  • Waiting

    Meaning:
    Waiting for an approval, a task, AI or the end of a wait
  • Completed

    Meaning:
    All steps are done
  • Failed

    Meaning:
    A step could not be carried out
  • Stopped

    Meaning:
    Someone stopped the run with Stop

For a rule that starts Manually, the history has a request picker and a Run now button.

Limits and safety

  • A new rule is created turned off. You can turn it on once all steps are filled in.
  • A rule itself never writes to anyone outside the company. Only an AI employee writes to customers, and only by its own rules: in Shows me first mode a message first waits for your approval.
  • Requests uploaded as a list (import) do not start rules.
  • One rule runs at most 300 times a day. A company can have up to 30 rules, each with up to 40 steps.
  • Only the owner, an admin or a manager can change rules. Everyone else can view them.

Didn’t find an answer? Contact support

In Opero, open Help and describe your question. Or email us and we will reply there.