In Magpie öffnen

An automation starts with When, what starts it, and then does its steps in order. The editor shows it as a picture of blocks joined by lines, and saves each change as you make it.

Make an automation

  1. In Automations, choose New automation. The editor opens with one When block.
  2. Choose Choose what starts it.
  3. Choose an area, then what happens in it, such as A form is answered.
  4. Choose one record, such as the form Team lunch, or every record of that kind, such as Any form.
  5. Choose Add a step on the line under the block, then the kind of step.
  6. For Do something, choose an area and what to do in it, then fill in the step's answers.
  7. Choose Test to see what each step would do. See Test an automation.
  8. Choose Turn on.

Until you type a name in the bar, the automation is named by a sentence Magpie writes from its steps, such as "When someone answers Team lunch, add or update a contact."

Choose the timing

A date, such as A To-do's Deadline arrives, and At a set time need a timing as well. When you choose one, the When block stays open on its Timing, already filled in, so the automation can be turned on as it is.

For a date:

  1. Choose the date under its area, then one record or every record. To change it later, choose the button beside Which one, such as Choose a List.
  2. In Timing, choose Before, On the day or After. A date with a time, such as A meeting starts, says At the time instead of On the day. A date with only one timing shows it in words.
  3. For Before or After, type How long. A date with a time also lets you choose minutes, hours or days. The line under it says the limits.
  4. For a date with no time of day, choose Time, 09:00 at first. The time zone it uses is shown after it, such as "Toronto time".

For At a set time:

  1. In Every, choose Day, Week or Month. It starts as every day at 09:00.
  2. For a week, tick the Days.
  3. For a month, type the Day of the month, from 1 to 31. A shorter month uses its last day.
  4. Choose Time.

The block shows the When as the automation's sentence says it, such as "the Deadline of a To-do in Launch is in 2 days, at 09:00". Each change is saved as you make it. A value Magpie cannot use is marked under its row.

To open the timing again, choose Change what starts it. To choose another event, choose Choose something else. When each date starts, and how late, is in What can start an automation, and what one can do.

Other ways to start one

  • Starters lists ready-made automations, such as one that posts in Team chat when an invoice is overdue. Use this makes one, off, with what it uses (which form, which spreadsheet) marked for you to choose.
  • In a Form, a Kanban board or a course, More › Add an automation… makes an automation started by that form, board or course, and opens it in a new tab.
  • Import JSON… makes one from a JSON document. See Import an automation from JSON.

Kinds of step

  • Do something makes or changes something in an area, such as adding a contact. The list of what each area can do is in What can start an automation, and what one can do.
  • Only if ends the run unless its conditions hold, such as First email address is not empty.
  • If or otherwise has two paths, If so and Otherwise, and its conditions choose one.
  • Wait holds the run for a number of minutes, hours or days, up to 90 days.

The rail beside the picture adds the same kinds of step. Dragging an area from the rail onto a line adds a Do something step in that area.

An automation has at most 30 steps, counting the steps inside each If or otherwise. If or otherwise steps can be nested 3 deep.

Change, move and remove a step

  1. Choose Change this step on the step, or the step's title, to open its answers. On the When, the button is Change what starts it.
  2. Change what you need, or choose Move up, Move down or Remove step.
  3. Choose Done.

A step that still needs an answer says so once: Not filled in beside the answer, or a button that chooses it, such as Choose a spreadsheet.

Remove step offers Undo. Undo and Redo in the rail undo and redo every change.

Use details in an answer

A detail is a value from what started the automation or from an earlier step: a name, an email address, an order total. Each detail shows its value from what the automation is tested with, such as "Email address: dana@example.com".

  1. In a step's answer, type any words you want.
  2. Choose Insert a detail.
  3. Choose the detail. It goes in beside your words.

When you add a step, Magpie fills each answer for which exactly one earlier detail of the same kind exists, such as an email address into Email address. Each filled answer says what it was filled from, and you can change it.

A step can use only the details of steps that always run before it. A detail from one path of an If or otherwise is not offered after it.

If a step is moved above the step a detail comes from, or a form's question is removed, the answer that used it is marked. Remove the detail or choose another.

Choose a spreadsheet, board or List

An answer that names a record of another area is a list of those in Personal or the team that you can use. Where there are more than the list holds, it ends with Find another…, which searches them.

For a spreadsheet, a board or a List, the list ends with New spreadsheet for these details (or board, or List). Magpie makes one and chooses it. A new spreadsheet gets column headings named after the details of what starts the automation, and the step's answers are filled to match.

Fill a spreadsheet's columns

Once a spreadsheet is chosen, each of its column headings is a row with a list of details beside it.

  1. Choose the detail that goes in each column, or Leave empty.
  2. For words, or several details, in one column, choose Type something else… at the end of that column's list. A field opens for it.

When you choose the spreadsheet, Magpie fills the columns whose heading is a detail's name, such as Email, and says how many it filled. Change any of them. A spreadsheet with many columns shows the filled ones and the first empty ones; Show the other columns shows the rest.

Conditions

An Only if or an If or otherwise compares a detail with typed words or another detail:

  • is, is not, contains, does not contain, starts with
  • is empty, is not empty
  • is more than, is less than, is before, is after
  • is yes, is no

Go on when chooses whether all of these hold or any of these holds. Text is compared without regard to capitals.

Turn it on

Turn on checks every step first. If something is missing, the editor marks each step that needs something and nothing is turned on.

Once it is on, each time the When happens Magpie starts a run within about a minute. See See what an automation did.

Turn on also says so when your plan has no room for another automation that is on. Turn another one off first, or change your plan.

Change an automation that is on

Changes to an automation that is on are saved but do not run yet. The bar says Changes not running yet.

  • Use these changes checks the steps and runs them from the next time the When happens. The automation then runs with your access.
  • Discard changes puts back the steps that run. The message after it offers Undo.

A run that has already started finishes with the steps it started with.

If someone else saved a change after you last saw the automation, Turn on and Use these changes do nothing and the editor says who changed it, so you never turn on steps you have not seen.

Turn it off, copy it or move it to Trash

  • Turn off stops new runs. A run waiting in a Wait step stops when its wait ends.
  • More › Duplicate automation makes a copy that is off.
  • More › Move automation to Trash turns it off first. Restored from Trash, it stays off.

Two people changing one automation

If someone else saves a change while you work on the same automation, the editor says who, and keeps your changes on the page. Choose Load their version or Keep mine. The same happens when you choose Turn on or Use these changes after their change.

If the editor does not behave as this article says, Support kontaktieren.

Den Magpie-Support fragen

Senden Sie dem Magpie-Team eine Frage zu allem, was dieser Artikel nicht beantwortet.