Make a rule that runs itself

When something happens to a card, do something else, without anyone remembering.

Some steps come up again and again: telling someone a card is ready, adding a label, setting the next date. An automation does them for you, so nobody has to remember.

How a rule works

An automation is a rule that changes a card when something happens. Each reads as a sentence: when a card moves to Done, only if it has the label Client, notify Marta.

Rules live on Automations, in the side panel under Dashboards. Each works on one board. Everyone can read the rules there; only Admins can make or change one.

Each rule is one row with its name, its sentence and one quiet line. The switch, Runs by itself, and the ⋯ menu are at the row’s end.

The Automations screen, with each rule written as a sentenceThe Automations screen, with each rule written as a sentence

Start from a ready-made one

Before your first automation, the page opens on Ready-made, in groups. Each one is a row that shows when it acts and what it does. With one board, it also shows what it would touch on the board today.

  • Use this switches it on. With one board, that is at once. The message says when it first acts, with Undo.
  • With more than one board, Use this asks On which boards. Choose the boards you want, then press the button that counts them.
  • A board that already has it says Already on and can't be chosen. Nor can a board without the column or label it needs.
  • The message says “Switched on for 3 boards”, with Undo. Undo takes it off all of them at once. Boards you can't add automations to aren't offered.
  • Adjust opens it in the builder, filled in, to change before you switch it on. On one that is already on, Adjust opens that automation to change it.
  • A board without the column or label it needs gets one question first: which column is your review column, say.
  • All of this works on a phone too.

On Your automations, an automation on several boards is one row, such as “On 3 boards” with their names. Its switch, Edit and Move to Trash work on every board in the row. A ready-made card on some of your boards says how many, such as “On 2 of your 3 boards”.

Once a workspace has automations, the page has two tabs. Your automations comes first. Ready-made holds the ready-made ones.

Make a rule

  1. Click Start from blank, on either tab.
  2. Give it a Name, and check the Board it works on.
  3. Under When, choose what starts it, such as a card moves to a column.
  4. Under Only if, click Add a condition to narrow it. Every condition must be true. For either/or, make two rules.
  5. Under Then, click Add an action for each thing it should do.
  6. Read Before you save. It shows what the rule would do to the cards there now.
  7. Click Create automation.
Making a new automation, with the preview under Before you saveMaking a new automation, with the preview under Before you save

A new rule starts on the board you came from, such as the one in the filter above your automations. With none of those, it starts on the board you looked at last. Changing the board clears the columns and labels you chose, since each board has its own.

A rule acts on what happens from now on. If cards already match, Cardigan offers to run it on them once. Not now skips that.

Run it on cards already there

In the rule's ⋯ menu, choose Run on existing cards and select the cards. People are told only if you also turn on the box to notify them. One undo takes the whole run back.

Run on a schedule

Under When, choose on a schedule, then pick the days and the time. It acts on every card that matches the conditions, at the workspace's time.

Act on cards that stop moving

Under When, choose a card stays in a column too long. Pick a column, or any column, and how long it may stay. The rule runs once, and moving the card starts the count again.

To act on a schedule instead, add the condition how long it’s been in its column. Then every Monday, archive cards in Done for more than 7 days is one rule.

An open card shows how long it has been in its column, under Column: In Review for 3 days. For a card already there before Cardigan kept track, that time is a best guess.

Delegate a card to an AI

Under Then, choose hand it to a teammate, via their AI, then Whose AI. The card goes to that person and stays put until their AI takes it up, then moves to In Progress. Your own AI needs no yes.

A teammate’s AI is on the list once they have chosen Allowed for this board. They do it in Settings › AI, under Other settings, with Teammates may delegate cards to your AI. If they change the board to Off or Ask me each time, the rule stops and you are told.

While the board is not set to Allowed, the step says so and offers Choose someone else. The rule can’t be saved while it waits on them.

Hand new cards to my AI in the Hand work to your AI group does it for your own cards. Tell owners when a question waits reminds the person an AI is waiting on, after a day.

Your AI can do this for you. Paste this in, with your own names.

On the Roadmap board, hand every new card assigned to me in To do to my AI. Add it as a rule, then tell me when it is waiting for my approval.

Start a card once it's ready

For a card that waits on others, choose everything a card waits on is done under When. It runs when the last of them is finished, at the same time the card's people hear it is ready. The rule can then move it to To do, assign someone, or tell its people.

something a card waits on runs late runs when a card it waits on becomes due after it. The condition whether it’s waiting on other cards narrows any rule to cards still waiting, or not.

A card finished by an automation sets off no automation. Its waiting card's people are still told it is ready. See Make a card wait on another.

Add a checklist to cards

Under Then, choose add a checklist. Name it, then type its steps, one a line. Paste a list and each line becomes a step, with its bullet or number dropped.

A step can have a person. Give it a date counted from when the rule runs: choose due after, then days, weeks or months.

A date after the card's own due date becomes the card's date. The run log says so.

A card that already has a checklist with that name is left alone. Moving a card back and forth adds no copies. If someone on a step leaves, the rule stops and Fix it asks you to choose someone else.

Change a number in a rule

Clear a number box and type a new one, such as how long a card may stay. It settles when you leave the box or press Enter, and an empty box keeps its old number. A number the box can't take becomes the closest it can.

Who answers for a rule

Every rule has someone In charge: the Admin answerable for it, whose access it runs with. If a rule cannot run, it shows Needs attention and the Admins of its board are told.

Its switch then reads Off. Its name in the bar at the top of the page opens it to fix.

That happens when, say, a column it names was renamed or whoever is in charge of it left. Edit it to fix it. An Admin of every board can also use Hand over automations, in the ⋯ menu at the top of the page.

See what a rule did

Choose Runs in a rule's ⋯ menu to see each time it ran and what it changed. The list ends with how long this is kept.

A rule that was set off and did nothing shows Not run, with the reason. Either a condition did not hold, or another automation made the change.

A rule's actions never set off another rule. Duplicate, in the same menu, makes a copy that starts switched off.

A rule that stopped says why in its own row. The line starts with “Stopped.” and ends with Fix it, or Resume when nothing in the rule is wrong.

One line under the top bar tells you when a rule has stopped. Filter, in the page’s row, finds a rule by words in its name or its sentence.

The switch on a rule, Runs by itself, pauses it without deleting it. Move to Trash, in the same menu, takes it off the list at once. The message has Undo, which brings it back with its runs.

Trash keeps the rule for 30 days. Restore there brings it back.

On a phone, an Admin can do all of this, building and changing rules included. See Use it on your phone.

Examples to start from

  • A consultant with clients: every Monday at 9:00, only if a card has the label WAITING, notify its assignees. The reminder to chase the client goes out without anyone having to remember.
  • A founder with a team: when a card moves to Offer on Hiring, assign the founder.
  • A chief of staff: when a due date is near on Commitments, send a notification to the card's assignees.
  • A small agency: when a card reaches In Review, add the checklist Review with three steps.
  • A team lead: when a card stays in In Review for 3 days, notify its assignees.
  • A founder with a team: when everything a card waits on is done, move it to To do.