Skip to content

Machine-translated – improvements welcome. Suggest an improvement

Automations

With an automation, Ablago does something by itself: if something happens (an event or a date) and the conditions are right, then it sets fields or gives someone a task – otherwise, if you like, something else. You find them under Workbench → Build the Library → Automations. The area is in the bar from the level Household (see Customising the workbench).

Workbench → Automations: list and editor

On the left are all automations, each in at most two lines: at the top the state as a small sign, the name and the package it comes from, below it the short form in quiet text ("If Contract: Cancel by in 30 days → task to Responsible") – more under The list. On the right, an automation is organised like a folder type: the jump bar with Expand all / Collapse all at the top, below it the areas Basic details (name, order, description) → When (with the And conditions) → Then (with Otherwise) → Try out → History → Versions; the last three only exist after creating. Collapsed, each area shows a summary, such as the trigger or the Then and Otherwise cards; your device remembers what you expand per automation. Save automation at the bottom saves basic details, When, Then and Otherwise at once. Whatever does not fit is shown in the area it belongs to; for a saved automation the area is also marked red, and an error on saving expands it. On/off, Copy, Try out and Restore take effect immediately.

In When and Then you build the automation from cards – four boxes one below the other, connected with arrows:

Area What goes in
If exactly one card: an event (folder created, saved – optionally only for certain fields and also when created –, note, document uploaded, favourite changed, account block …), Date reached, Schedule, Call from outside or a Workbench card (Error reported, Log message, New version available)
And none, one or several conditions: field values as in views, "Folder is in view …", "Folder is a favourite of …", groups with "all" or "one is enough"; every condition can be reversed with not
Then one or more cards, in order: Change field, Set field in linked folder, Task / notification, Send daily summary, Report favourite changes, Report sign-in protection, Run package on schedule, Start a backup, No further automations afterwards
Otherwise none or several cards as under Then – they run if the And conditions are not met (see Otherwise)

What you trigger by hand on one folder – “Assign task”, “Remind”, follow-up – are automation templates. They run on the same engine, with the rights of the person who applies them.

Example: reminding of the notice period

Petra is to get a task 30 days before the notice period of a contract runs out – but only if someone is entered as responsible in the contract.

  1. + Automation, name "Check cancellation".
  2. If: Date reached, folder type Contract, date field Cancel by, advance notice 30 days, time 07:00.
  3. And: + Card → Field condition, field Responsible "is not empty".
  4. Then: + Card → Task / notification, as Task, recipient Person in the field "Responsible", text Please check {titel} – can be cancelled until {kuendigung_bis}.
  5. Save. For a new automation, the switch at the top next to the name is set to on – with saving it is switched on. If it shouldn't work yet, set it to off beforehand.

Expanded Then card with recipient and placeholders

You expand a card with a click on its name (settings) and collapse it again (short line like "Task → Person in the field "Responsible""). Below the text are the placeholders that match the If card, with understandable names: under General folder title, folder type, today, name of the automation and with a date the date reached and the days until then, below them the fields under the folder type’s name. Hovering shows the technical placeholder ({titel}, {kuendigung} …). A click inserts it at the cursor – in the field you last typed in. It works the same wherever placeholders are allowed: title template and Combined in the folder type, cards of automations and automation templates.

Example: reporting new documents to the administration

The administration is to learn when a document is added anywhere – bundled, not for every single file.

  1. + Automation, name "Report new documents".
  2. If: Document uploaded. Without a folder type it applies to all; with a folder type (e.g. Invoice) or a field condition under And you narrow it down.
  3. Then: + Card → Task / notification, as Notification, recipient a role of your own such as Office), text New document on {titel}.
  4. Save.

Ablago itself no longer brings ready-made automations: subject-specific automations come from packages, everything else you build as in these examples.

Date reached

The card Date reached checks once a day at the chosen time for which folders a date field is reached after the advance notice.

  • Advance notice in days, weeks or months. 3 months are three calendar months, not 90 days: for an end on 31 May the card applies on the last day of February. 0 means "on the day itself", a negative number "that long afterwards".
  • Recurring (monthly, quarterly, half-yearly, yearly): whoever completes the task gets the next date suggested.
  • A task from it is a deadline for the folder's date. It completes itself if the date is changed or cleared. The same person only gets one deadline per folder, field and date.
  • If, when a folder is saved, a date is already within the advance notice, the automation runs immediately – a date entered late still reminds.
  • For a date field to appear under To do and in the calendar, it needs the tick Is a deadline on the folder type.
  • If Ablago was off at the time, it catches up missed days (up to 31 days back). A newly switched-on automation starts today.

The earlier cards "Date in N days" and "Deadline reached" have merged into Date reached. "Date in N days" becomes the same card with advance notice in days the next time it is opened. With "Deadline reached" the date field is missing: the automation is shown in red until you choose it.

The list

Each automation takes at most two lines in the list:

  • Sign before the name: green dot = on, empty circle = off, warning symbol = paused (or something is missing). If you hover over the line, the tooltip gives the reason, the number in the order and the last run.
  • After the name the package it comes from (chip with the package icon and name), or "Ablago" for built-in ones; your own have no chip.
  • Below the short form in quiet text.

Several at once: Each line has a tick box, with Select all above. As soon as something is selected, a bar with Switch on and Switch off for the selection appears. If an automation no longer fits, it stays as it is and Ablago names it with the reason.

After a restore all switched-on automations are paused. Above the list it then says Check and switch on all paused (n). A confirmation names them; after Switch on again Ablago checks each one and switches it on. Whatever no longer fits stays paused.

Group: The choice above the list groups them by trigger (where you re-arrange the order), by package (your own, Ablago and per package) or by effect – what the automation does: Create a task, Notify, Report outside, Set fields, Run a package, Back up. The effect comes from the first Then card.

On, off and paused

Whether an automation works you see and change in one place: at the switch at the top next to the name; the list shows the same state as a sign (on, off, paused) and switches several at once.

  • For a saved automation the switch takes effect immediately. There is no further message – the switch shows the state itself; only if something goes wrong is the reason shown at the switch. Save automation doesn't change on/off: what you switched off at the switch stays off after saving.
  • If it is paused (see below), the switch is off and the reason is shown once directly below it, e.g. "Paused after a restore – check it and switch it on again." Switching it on again means flipping the switch. It stays in its place.
  • Next to it is the button Copy: it creates a copy of your own and opens it.

Schedule

The card Schedule triggers on the chosen weekdays at the chosen time (in the time zone of the region), if you like not on public holidays – you set the state for this under Region.

  • For every user: the automation runs exactly once a day per active user – if you like only for the members of a role. The cards then see the person's user folder; the placeholder {benutzer} stands for their name.
  • Time from My account: with this tick, the time, weekdays and public holidays apply that someone has chosen under My account for the daily summary; whoever has chosen nothing gets the card's time and Monday to Friday.
  • If Ablago was off at the time, the automation still runs later the same day – not on following days. Even with several servers, every day (per person) runs exactly once.

Adding, re-ordering, removing cards

  • With the mouse or on the phone: expand the card stock (at the top of the area When), search for a card and drag it into its area (long-press on the phone) – or simply click it.
  • With the keyboard: in every area + Card – open the selection, choose a card. You re-order Then cards by their handle ⠿ with Alt+↑/↓, with the mouse by dragging.
  • Remove is on every card.

The stock only shows what matches the If card: Change field, for instance, only if the If card has a folder type.

What the Then cards do

  • Change field only sets the chosen fields and leaves all others unchanged. Text with placeholders; for date fields heute, heute+7 or heute-3. Ablago checks the value as in the form (required fields, choice lists, archive mode). The folder's history says "by automation '…'".
  • Set field in linked folder sets fields of the folder that a reference field of the triggering folder points to – with a reference to several folders, in each. First choose the reference field, then fields of the target type. Values as with Change field; a placeholder on its own, such as {naechste_hu}, takes over the value unchanged (a date stays a date – the field kinds must match; a text field takes anything). Overwrite: always, only if the field there is empty, only if the new value is later or larger or earlier or smaller (dates and numbers only). Example: when a main inspection (Hauptuntersuchung) is created, set "HU due" on the vehicle to {naechste_hu}, only if later – so an old inspection report entered afterwards does not overwrite a newer date. Ablago writes with the rights of the system account "Automation"; if it may not change a target folder, that folder stays as it is and the history notes it (no error, without the folder's title). The target folder's history shows the automation.
  • Task / notification goes to people, to all active members of a role, to the person in a field of the folder (optionally "otherwise whoever created the folder"), to whoever created the folder or to a person from the event (e.g. the stand-in for Absence set). A task can have a due date; Ablago bundles notifications so that nobody is flooded by many runs in a row.
  • Placeholders with the recipient's permissions: Ablago fills in the text for every recipient individually – for a role per person, for a stand-in with the stand-in's permissions. What the person may not see appears as "(not visible)", for instance the title of a linked contact. That way the daily summary doesn't give anything away either. The test run in the editor says who may not see something ("Jonas may not see everything …").
  • Without read permission on the folder, the task still arrives. But the person only sees "Task on a folder you may not see – ask …" and the due date (for tasks on a date field not even that). You find the case under Tasks with people without read permission.
  • Tasks from automations behave like the built-in ones: if someone is absent or deactivated, the task goes to their Stand-in (the history says "passed on because of absence …"). If there is none, it goes to the person for tasks without recipient – the run doesn't stop.
  • A task completes itself when its reason goes away: with Date reached when the date is changed or cleared; with New post and with post created or saved when the post is assigned or completed; with Absence set when the absence ends.
  • If a task on a post goes to the person under “To”, it is a Post for you task: only one per post and person, and it also completes itself as soon as the post goes to someone else (see Post for you).
  • Send daily summary (only with Schedule for every user) sends the person their open tasks by email – the same content as before. Whoever has unsubscribed under My account, is absent or has nothing open gets none; the run history names the reason.
  • Report favourite changes (only with Favourite changed) gives everyone who has the folder as a favourite the bundled notification "Changed" – as before. Only to members of these roles narrows it down (no role = everyone), New users get the notification sets the default – both were under Workbench → Tasks earlier (Notify about favourites). The switch under My account still applies; one's own changes are never reported.
  • Report sign-in protection sends everyone who manages sign-in protection either the summary of the blocks (with Schedule, not per user) or immediately an email when a user account was blocked (with User account blocked, at most once a day per account). See Sign-in protection.
  • Run package on schedule (only with Schedule, not per user) tells a package that its time has been reached – see below.
  • Start a backup starts a new backup – see Workbench cards.
  • Call URL reports to an approved destination, Send e-mail sends an e-mail – see Reporting to the outside.
  • No further automations afterwards ends the sequence: automations with a higher number no longer run for this event (in the run history "Skipped by …").

Automations work with the system account "Automation" (Workbench → Users). What this account may not read, the automation skips; placeholders then show "(not visible)". For tasks, the recipient's permissions apply additionally (see above).

If the account "Automation" may not see folders of the If card's type at all – for example because a rule "System and package roles forbidden" applies on the folder type –, the automation can never run. The editor and the list then show a notice "This automation can't run …". Via View permissions on the folder type you get to the test run of this folder type, with the account "Automation" already chosen; there you see which rule decided. Saving still remains possible.

Run package on schedule

Some packages have to calculate regularly because their result changes only with the date – for example Contracts ("cancellable until …") or Invoices ("overdue since …"). Instead of a hidden run they bring an automation for this, for example Check contracts daily: If Schedule daily at 05:00 → Then Run package on schedule.

  • You set time and days in the If card; switch it off with the switch. Switched off, the package only calculates when someone changes one of its folders.
  • The card names the package and optionally a task (a key such as taeglich or monatlich) so that a package can tell several runs apart. The package receives the event Run on schedule with date, planned time and task – exactly once per day, even with several servers.
  • No additional rights: the package works with the rights you confirmed when installing it. The rights preview names the schedule ("Runs on schedule: Check contracts daily (daily at 05:00)").
  • Only its own package: an automation supplied with a package only ever calls the package that brings it – the field Package is fixed there. In an automation you create yourself, only packages that accept schedules can be chosen.
  • Package removed: the card then has nothing to run. The automation stays on and shows "Package … is not installed"; the run history lists the run as skipped – no error, no notice about failed runs.
  • You see every run in the automation's run history; the package receives it like any other event (with retries if it is not reachable at the moment).
  • Cards from packages: a package with code can offer its own cards. They appear in the store as "package: name" (e.g. "Compliance: File monthly report"), with a help text and fields you fill in (text, number, yes/no). Like this card they only run on schedule; the package gets the task and your values – with its confirmed permissions, nothing more.

Otherwise

Under Then is what happens if the And conditions are met. Under Otherwise you can put cards for the other case – the same cards as under Then, dragged from the stock or with + Card. Without And conditions everything always applies; Otherwise then never runs.

Example: If a contract is saved and Responsible is set, then set the field Status to “checked” – otherwise a task to the role Administration: “Please give {titel} a responsible person.”

  • Per run exactly one of the two branches runs; the other appears in the run history as skipped. If an automation has no Otherwise cards and the conditions are not met, the run is called doesn't apply as before.
  • No further automations afterwards also works in the Otherwise branch.
  • Every automation needs at least one Then card; Otherwise is optional.

Workbench cards

Some things do not concern a folder but the operation of Ablago. For these there are three If cards (in the stock under Operations) and one Then card. These cards have no folder: the only possible condition is a feature of the Library, and a Task / notification goes to people or roles – it is attached to the recipient's user folder.

Only someone who may manage the matching area themselves may set up a Workbench card: Error reported needs Reported errors, Log message the Log, New version available the System health and Start a backup the Backup. This also applies when editing: someone who does not manage the area can change the name, on/off and the Then and Otherwise cards of an existing automation with a Workbench card, but not its If card (neither the kind nor level, module or text) – nor restore a version that changes it. Packages do not bring these cards.

Error reported

Runs as soon as someone reports an error via Report an error. Placeholders: {zeitpunkt}, {meldung} (text of the report) and {gemeldet_von}. A recipient only sees the text and sender if they may manage Reported errors – everyone else sees “(not visible)”. Images and technical details of the report never go into a task. The run history also leaves out the text and the account of the reporting person as long as you do not manage Reported errors.

Example: If Error reported → Then task to Markus, due in 1 day: New error report from {gemeldet_von}: {meldung}.

Log message

Runs when the log writes a warning or an error. You choose the level (from warning or from error), optionally a module (e.g. E-mail, Backup) and a text the message has to contain. Placeholders: {zeitpunkt}, {stufe}, {modul} and {meldung} – without secrets (encrypted values and password hashes in the text become “•••”); only someone who may manage the log sees the text, as a recipient and in the run history.

  • At most one run in 15 minutes per automation – a disruption does not cause a flood.
  • Messages caused by an automation itself (e.g. because its task can't be delivered) do not trigger any automation.
  • E-mail disrupted: for errors in the E-mail module, a notification by e-mail usually doesn't arrive. The editor points this out – use a task or notification: it appears in Ablago under To do even when sending is disrupted.

New version available

Runs when there is a new stable version of Ablago. For this, Ablago asks GitHub once a day (from 06:00) – only while such an automation is switched on; nothing from your Library leaves the house. It runs exactly once per version. Placeholders: {version} and {installiert}. What's new is shown under Technology and versions.

Start a backup

The Then card starts a new backup – encrypted like Back up now and kept like the automatic backups, so the disk doesn't fill up. The automation only learns started or already running (then no second one). Whether the backup succeeds, how large it is and where it is stored is only shown under Workbench → Backup; if it can't be started at all (no key, too little space, restore running), the run fails without details.

Workbench permissions of the system account

Automations run under the system account “Automation”. It may never enter the Workbench. For the Workbench cards it has exactly these permissions – none at all for all other areas:

Area may may not
Backup start a new backup see success, number, schedule, storage space, storage location; emergency sheet
Restore – anything
Full text – regenerate and the like
Bin – empty, delete permanently
Technology and versions check whether there is a new version –
Reported errors see –
Log find messages from a level –
Users nothing in the Workbench (users are folders, permissions on them via the role System account) manage users and permissions

Call from outside

With the If card Call from outside, another system triggers an automation – for example a monitoring tool that starts a backup when something goes wrong, or the home automation that gives Markus a task when the water sensor in the cellar goes off. For this, the automation gets its own address with a secret. No package is needed.

Setting up

  1. New automation, If card Call from outside. Under Parameters, enter the names a call may send, e.g. room, level – only lower-case letters, digits and _, at most 10. They are available as placeholders in texts ({room}), together with {zeitpunkt} (when the call arrived), {heute} and {automatisierung}.
  2. Then cards as usual, for example Task / notification to Markus: Water sensor in the {room} at {zeitpunkt}. The card has no folder: as a condition only a characteristic of the Library is possible, recipients are people or roles (as with the Workbench cards).
  3. Save. Only now does Address and secret appear under the card, with + Address. Ablago asks for your password (fresh sign-in) and shows address and secret. Copy the secret straight away – it is shown in full only this once. You can see the address again at any time.

Without a created address, the automation accepts nothing; saving alone opens no door.

If card “Call from outside” with parameters, address and example

Calling

A call is a POST to the address with three headers and a body (JSON object with the parameters, or empty):

Header Content
X-DMS-Zeit time in seconds since 1970 (Unix time)
X-DMS-Signatur v1= and HMAC-SHA256 (hex) over <X-DMS-Zeit>.<body> with the secret (whsec_…, as text, not decoded)
X-DMS 1 (as with every changing request to Ablago)

This is the same method as the former webhook – just in the other direction. The signature is calculated over the body as it is sent (bytes); Ablago does not reformat it first. With curl and openssl:

SECRET='whsec_…'                                     # from "+ Address"
ADDRESS='https://ablago.example.org/api/aufruf/…'    # from the card
TIME=$(date +%s)
BODY='{"room":"Cellar","level":"2"}'
SIGNATURE=$(printf '%s.%s' "$TIME" "$BODY" | openssl dgst -sha256 -hmac "$SECRET" | sed 's/^.* //')
curl -X POST -H 'X-DMS: 1' -H 'Content-Type: application/json' \
  -H "X-DMS-Zeit: $TIME" -H "X-DMS-Signatur: v1=$SIGNATURE" \
  --data "$BODY" "$ADDRESS"

The card shows this example under Example with curl, already with your address and your parameters.

Response Meaning
202 {"ergebnis":"accepted"} accepted – the automation starts right away. The response never reveals more, not even what the automation does.
401 not accepted – always the same response, whether the address does not exist, the automation is off, the signature does not match, the timestamp is more than 5 minutes off or the same call has already arrived
422 signature correct, but the body is not a JSON object
429 too many calls – wait a moment
413 body larger than 16 KB
503 maintenance or a restore is running – try again later

Protection

  • The address contains 32 bytes of randomness and cannot be guessed. The secret is stored encrypted like all secrets (type Calls from outside) and is re-encrypted when the key changes.
  • Each signature counts once: whoever records a call cannot repeat it. Two identical calls in the same second with the same body therefore count as one – send something that changes if that can happen.
  • Brake: at most 30 calls per minute from one network (IPv4 /24, IPv6 /64) and at most 12 accepted calls per minute per address. Rejected calls are counted separately: after 12 failed attempts per minute on one address or 600 in total, Ablago only answers further wrong ones with 429 – a correctly signed call still gets through. So whoever only knows the address can't shut it down. Ablago counts everything across all processes. On top of that, the brake of every automation applies (more than 30 runs in one minute pause it).
  • Ablago only takes parameters with the names of the card, only as text, at most 500 characters per value. They are never field names and are never executed; Ablago ignores everything else in the body. Parameters appear unchanged as text – in tasks, notifications and emails from Ablago, to all recipients. So only use parameters whose values you expect from your own system (room, level, name of a device), not free text from third parties. Emails from Ablago are plain text, Ablago turns nothing into links; some mail programs do, however, show web addresses in the text as links themselves.
  • In the run history, only those who manage Automations see the parameters. The log contains neither address nor signature, and the IP only shortened.
  • New secret replaces the secret, New address both – the old ones stop working immediately. Remove address closes the door completely; if you change the If card or delete the automation, the address is gone as well. A copy brings no address.
  • Packages do not bring this card.

Where the addresses are listed

The Workbench overview names every switched-on automation that currently accepts calls – with address and Switch all off (one click switches them off; the address stays but accepts nothing until you switch on again). The emergency sheet lists them under This Library as "Calls from outside".

Home network

The address starts with Ablago's address under Workbench → Email and address. If it looks like a home network, the card points this out: calls then only arrive from your own network – just right for home automation. From elsewhere it only works if Ablago is reachable from outside. If you only want to expose the calls at the reverse proxy, allow /api/aufruf/.

Reporting to the outside

Two Then cards pass something out of Ablago: Call URL (to another system, such as the home automation or a monitoring) and Send e-mail. Both are a deliberate decision of the administration: only someone who manages Automations may set them up; packages never bring these cards. What leaves is also listed under What leaves your Library.

Destinations outside

Call URL only calls addresses approved under Workbench → Automations → Destinations outside (link above the list). A destination is the beginning of an address – host and path, e.g. https://hooks.example.org/ablago; everything below it is allowed, https://hooks.example.org/ablagox or another host is not. Changing asks for your password (fresh sign-in).

  • https is required. For devices on your own network (e.g. http://homeassistant.local:8123/api/webhook) tick On the home network – only then are http:// and addresses on your own network allowed.
  • Protection: Ablago follows no redirects, resolves the name itself and only connects to public addresses (home-network addresses only for home-network destinations; never the metadata addresses of cloud providers). A call may take 10 seconds; Ablago reads at most 64 KB of the response and discards it – it does not evaluate it.
  • If a destination is removed, the page names the affected automations; they pause until you change the card or approve the destination again.

Destinations outside with one destination on the internet and one on the home network

Call URL

  1. Approve the destination (see above).
  2. Then card Call URL: Address (below a destination, without placeholders), Method POST or GET, Content (see below) and optionally Parameters – name (lower case, like a placeholder) and value with placeholders, e.g. raum = {raum}.
  3. Save. Afterwards you can create a secret for the signature on the card (fresh sign-in). It is shown in full only once – copy it straight into the receiving system.

Then card "Call URL" with destination, content and parameters

With POST Ablago sends a JSON object, with GET the same details in the query of the address:

{
  "ereignis": "post.angelegt",
  "id": "1b6c…",
  "zeit": "2026-11-12T08:15:00.000Z",
  "automatisierung": "Report new post",
  "parameter": { "raum": "Hall" }
}

Ablago is not an API client: no own headers, no sign-in at the other system, no templates for the content, and it does not evaluate the response. If the other system needs more, it fetches it via the API – with its own key and its own permissions.

Content levels

Content What is sent
Notification only (default) event, event ID, time, name of the automation – "something happened"
With IDs in addition folder ID, folder type, the changed field keys and a link into the library – no values
With values in addition title and field values of the folder; with Folder saved only the changed fields
  • With values only works with POST (otherwise addresses containing values end up in other systems' logs) and only after you confirm that data leaves Ablago. Only what the system account "Automation" may read is sent – never password fields or encrypted values.
  • Placeholders in parameters follow suit: with Notification only and With IDs only those without library content ({heute}, {automatisierung}, {mappentyp}, {zeitpunkt} … and the parameters of a call from outside). {titel} or a field only work with With values – otherwise the card cannot be saved.

Checking the signature at the receiver

With a secret, every call carries the same headers as the call from outside, just in the other direction:

Header Content
X-DMS-Zeit time in seconds since 1970
X-DMS-Signatur v1= and HMAC-SHA256 (hex) over <X-DMS-Zeit>.<content> with the secret – with GET path and query instead of the content (/hook?ereignis=…)
X-DMS-Ereignis ID of the event – if a call arrives twice (retry), it has the same one

This is how the receiving system checks it (example in Python, content as bytes as received):

import hmac, hashlib, time

def from_ablago(secret: str, zeit: str, signatur: str, content: bytes) -> bool:
    if abs(time.time() - int(zeit)) > 300:          # at most 5 minutes old
        return False
    soll = hmac.new(secret.encode(), zeit.encode() + b"." + content, hashlib.sha256).hexdigest()
    return any(hmac.compare_digest(f"v1={soll}", s.strip()) for s in signatur.split(","))

Or on the command line: printf '%s.%s' "$ZEIT" "$CONTENT" | openssl dgst -sha256 -hmac "$SECRET". Without a secret the calls go out unsigned – the receiving system then cannot check that they come from Ablago.

Delivering, retrying, pausing

The card puts the call in the outbox; Ablago delivers it straight afterwards. If it fails (no connection, time limit, 408, 429, 5xx), Ablago tries again after 1, 5 and 30 minutes, 2 and 6 hours. Persistent errors – the last attempt fails, a redirect, 4xx, a blocked address or a destination that is no longer approved – pause the automation ("Delivery to … given up"); Ablago discards open calls. You see this in the list, in the overview and in the e-mail about technical tasks; after checking, switch the automation on again.

The automation's Deliveries area lists the latest calls and e-mails with destination, state and error – never the content; it is deleted after delivery. A dry run only shows what would be sent.

Send e-mail

Send e-mail sends an e-mail with Subject and Text (text only, with placeholders). Under To you list people, roles, fields of the folder (a link to a user or a text field with the format e-mail), whoever created the folder – or any addresses.

  • One e-mail per recipient. For people with an account Ablago fills placeholders with their permissions – what they may not see appears as "(not visible)". For fixed addresses the permissions of the system account "Automation" apply; so think about what you write to outside addresses.
  • Fields as recipients: whoever may change the field decides where the e-mail goes – that can be someone without administration rights. That is why for e-mail fields Ablago fills the placeholders with the permissions of the person who triggered the event (for example whoever saved the folder): what they may not see, such as the title of a linked folder, appears as "(not visible)". Only without a triggering person (schedule, date reached, system, test run) do the permissions of the system account apply. The editor shows this note as soon as a field is listed under To.
  • Note: below every e-mail it says which automation of which library sent it and that people should contact the administration to unsubscribe.
  • Limit: at most 50 e-mails per automation and 200 for all together in 24 hours, at most 50 recipients per run; above that the run fails. If sending e-mail is disrupted, Ablago tries again later as with Call URL.
  • For errors in the E-mail module an e-mail does not help much – use a task or Call URL there.

Order

If there are several automations for the same trigger, they run by their order (1–99, smaller first; your own start at 50). The editor then says "runs as 2nd of 3 for the same trigger". In the list, By trigger shows all automations of an event together; there you re-order them by dragging or with Alt+↑/↓ on the handle, and the numbers adjust.

Trying out, run history and change history

Run history with the steps of a run

  • Try out: choose a folder and Run – as if the event had happened. You choose the folder as in a link field: type part of the title and click a hit. Only folders of the If card's folder type that the account "Automation" may see are offered – with all others the automation couldn't run anyway. With Dry run, Ablago only shows what would happen ("Would send task to 1 person: …") and changes nothing. With Workbench cards there is no folder to choose – Ablago tries it with a sample message, with Call from outside with "Sample value" for every parameter.
  • Run history: looks like a folder's history: per run one line with date and time, the trigger (e.g. "Folder created", "Dry run", "Repetition"), a summary, the result (completed, doesn't apply, skipped, failed) and the number of cards. Expanded, a table Card · Result · Details shows what every card did; if something went wrong, the reason is at the card that failed. With Expand all entries / Collapse all entries you see everything at once. If the automation is running right now while the editor is open, this run is expanded and the cards are ticked off live; cards not yet reached show "waiting".
  • Failed runs remain. Above the list of automations it then says, for example, "1 run has failed: Report new users, 04.11.26, 04:48"; with several runs, Show only shows the affected automations. Repeat all runs them again, Don't repeat removes them from the notice – in the run history they remain as "failed – not repeated (who, when)"; nothing is deleted. You have the same choice per run in the expanded run history. Dry runs don't count; their result is only in the run history. The Workbench overview also reports failed runs.
  • Versions: every saved version with time, who and what changed ("Then: 'Task to Markus' added"); the newest is marked Current. Two versions can be compared and an earlier one restored – after a confirmation that says what changes, it becomes a new version; the current state is kept. If the earlier version no longer fits (e.g. a field is missing), Ablago says so as when saving and does not restore it. How this works for all Workbench settings: Versions.

When something no longer fits

Ablago doesn't block your work: folder types, fields and views can still be changed and deleted. If an automation is then missing something (field deleted, view gone), it is marked red and paused – with the reason in the list and a notice in the overview. Correct, save, switch on again.

Ablago also pauses an automation if it runs more than 30 times in one minute, and after a restore all switched-on ones – so that imported data doesn't immediately trigger a wave of tasks. Automations that trigger each other run at most three levels deep.

From packages

Packages bring ready-made automations, for example "MOT due soon" (package Vehicles) or "Cancellation due soon" (package Household). They always all come with it. When installing – in the setup assistant as in the workbench – each automation has a switch (on/off) under "These automations come with it – which should run straight away?", plus All on and All off. Initially on are the ones the package marks as switched on straight away (e.g. Check contracts daily, with the time below); if a package marks none, all are on as before. What stays on runs after installation; the rest is created but off.

  • In the list you recognise them by the chip with the package icon and the package's name after the name. You can switch them on, adjust and copy them.
  • They can't be deleted – the package would create them again with the next update. The Delete button at the bottom is therefore dashed; a click explains: "Comes from the package … and can't be deleted. Switch it off – it stays off after updates too.", with the way to the package. Exception: if the package is no longer installed or the automation no longer fits (for example because its document type is missing), it is orphaned and can be deleted like one of your own.
  • On an update of the package, the new version replaces the old as long as you haven't changed it; on/off always stays as you set it. A changed one stays as it is: the update preview lists it under "You have changed these automations – they stay as they are.", and View the new version from the package shows what the new version does differently – readable as with versions. If you want it, adjust your automation afterwards. New automations from the update are offered again when updating.
  • If you remove the package, its automations go with it if they are unchanged and off – or no longer fit without the package, for example because their document type went with it; then also when switched on. What you changed (switching on or off by hand counts too) stays. If you install the package again later, such an automation points to the package's new document type and runs again – no second one is created.
  • Packages do not bring Workbench cards, Call from outside or the cards to the outside (Call URL, Send e-mail) – they only exist in automations you create yourself. Where data goes cannot be shown by a package's permission preview; you decide that yourself.

Stand-in

If an absence with a stand-in is entered for someone, the stand-in gets a task – that is done by the automation Stand-in entered (If Absence set, recipient Stand-in from the event, placeholders {benutzer}, {vertreter}, {von}, {bis}, {zeitraum}). It completes itself as soon as the absence ends or period or stand-in change. For the previous stand-in there is the If card Stand-in withdrawn (absence ended, another or no stand-in any more). The package Notifications brings both; in existing libraries the update took over Stand-in entered switched on. If the event names no person (absence without a stand-in), nothing happens – that is not an error.

Notifications

The daily summary, reporting changed favourites, the task Post for you and the emails of sign-in protection are automations – they are set only here, no longer under Workbench → Tasks. The package Notifications brings them; in the setup assistant it is preselected. Without an automation with Send daily summary, the Workbench overview points this out: "No automatic notifications" with Install package; if only Post for you is missing (or switched off), the notice reads “No ‘Post for you’ task”.

Post for you

If someone is under To on new post, they get the task Post for you – please assign. The automation Post for you from the package Notifications does this:

Card Content
If Folder saved, folder type Post, only when To or Status changes, also when created
And To is not empty, Status is New
Then Task to the person in To, text “Post for you – please assign”

If the person is away, the task goes to their stand-in. It completes itself as soon as the post is assigned or completed or someone else is under To – who then gets their own. There is only one per post and person, even if the post is saved several times. The number New post on the start page still counts the post, not the tasks – it does not change.

Examples

Ablago itself brings no ready-made automations. The reminder of the notice period comes with the Household package ("Cancellation due soon"); reporting new documents is shown above as an example. For locked accounts there is sign-in protection and the Notifications package.

Editor in dark appearance

On the phone, the list comes first, the editor after tapping – the jump bar at the top, the areas below collapsed as with the folder type; there you add cards most easily with + Card.

Automation on the phone