Manage and run automations
Edit automations, stop runs early, review run history and restore versions.
The automation page
Open an automation to see its page. The page has two tabs, Overview and Run history. Run now sits at the right end of the tab row, and it is greyed out while the automation is off.
Overview shows the automation itself: the title block, then the trigger, the Steps and the settings. An automation that runs the AI agent has Instructions in place of Steps. Run history opens the automation's newest run, with its other runs in the rail beside it. An automation that has not run yet shows This automation has not run yet.
At the top of the page you find the way back to Automations, the automation's menu, Copy automation URL and, on the Overview, the bell. A Hub automation has no bell.
Edit on the Overview
If you can edit the automation, the Overview is its editor. Change the name, the description, the icon, the trigger, the steps, the instructions or the settings where they are. Nothing is saved while you work. After your first change, a bar at the foot of the page says You have unsaved changes, with Cancel and Save. An automation with an unpublished draft that differs from the published version, for example a version you restored and left, opens with the bar already showing. The bar stays until you save or cancel, even if you change the fields back to what is published. An automation that was never published, or whose draft matches the published version, opens with no bar.
- Save publishes your changes, and the automation runs the new version from then on. If the change cannot be saved, the bar comes back and the page says why.
- Cancel puts back the published version, the one the automation runs, and drops the unpublished draft. On an automation that was never published, it puts back what the page showed when you opened it.
Configure with Agent sits in Instructions, so only an automation that runs the AI agent has it, and a Hub automation does not. It lets you ask the agent for a change. The agent fills it in on the page, and you choose Save to keep it.
Edit in the automation's row menu on the Automations page opens the Overview too. If you can see the automation but cannot edit it, the Overview shows its settings, and you cannot change them.
Leave with unsaved changes
If you leave the Overview with unsaved changes, by a link or with the browser's Back button, Attia first asks Save changes to this automation? A link can be the Run history tab or a row in the sidebar.
- Save saves the changes, as the bar does, and then takes you on. If the save fails, you stay on the page.
- Discard drops the changes and takes you on.
- Cancel keeps you on the page with your changes.
When you reload the page or close the tab, the browser asks its own question instead.
The menu button after the automation's name at the top of the page, Open automation menu, holds the actions of the row menu, such as Duplicate, Save as template…, Move, Change owner, Editing permissions, Copy, Show run history, Show published versions and Delete. It has no Enable, Disable or Edit, because the Enabled switch and the Overview do that. On a run under Run history, the menu starts with what you can do to the run, such as Cancel run, Resume run or Start again, when you can manage the automation.
The bell
The bell at the top right of the Overview, Change inbox notifications, sets who gets the automation's notices in their Inbox. Press it, or press Cmd/Ctrl Shift S, to see the workspace's members. A tick marks each member who gets the notices. The owner is ticked by default. Guests are not in the list.
If you may edit the automation, you can tick or untick any member, even when the workspace's plan leaves the Overview read-only for you. If not, you can tick or untick only yourself, and the other rows are greyed out. A tick shows at once. If Attia refuses the change, the tick goes back to what it was and a message says why. Notifications lists the notices the bell covers.
Choose Save as template to save an automation you can edit with a name, icon and optional description. The icon starts as the automation's own icon. If you keep it, the template takes the icon and colour the automation was last saved with, its saved draft first. If you pick another icon, the template takes that icon with the automation's colour. An automation made from the template starts with the template's icon and colour. This needs permission to create workspace automations.
Right-click an automation to open its row menu. Duplicate makes a disabled copy of its published setup, icon included, in the same home, owned by you. Move changes its home team and offers only teams you may create automations in. Show run history opens the automation's run history section. Copy lets you copy the automation's URL or title. Favorite adds a workspace automation to your Favorites.
Update an automation
If an admin deletes a job label that an automation's published filter or condition names, the automation pauses and stops its queued and waiting runs. A banner names the label as it was called when deleted. Update and publish the filter, then turn the automation on again. It stays paused until you do, and its stopped runs do not restart automatically. Resuming a stopped run is refused until you repair the filter and turn the automation on.
If someone archives an application status that an automation's published version excludes in a condition, or names in a stop condition, the automation pauses and stops its queued and waiting runs, because it would otherwise start running for applications it was meant to skip. The banner and the Automations list say Paused: status {name} was archived. Choose Use another status in the banner and pick a live status from the same section, then turn the automation on again. Attia writes a new published version with that status and swaps it in your draft too, and the rest of the draft stays unpublished. A run blocked on the old status stays on its version, and you can cancel it from the run history. You can also replace the status in the editor and publish. Attia refuses to turn the automation on before that, and refuses to publish a version that excludes an archived status or stops on it. Restoring the status lets you turn the automation on, and does not do it for you. An automation that only matches on the status stays on and goes quiet for it.
To change an automation, open it, make the change on its Overview, and choose Save. See Edit on the Overview.
On an automation's Overview, the name and the description sit at the top. Click either one to change it, then choose Save in the bar that appears. A description holds up to 255 characters. Enabled turns the automation on or off at once, and the message that follows has Undo. If someone turned the automation on or off after you, Undo changes nothing and says so, even when the switch is back where you left it. Choose the name after Owned by to give the automation another owner. Last update shows when it last changed; choose it to see the published versions. If you cannot edit the automation, the name and the description are plain text and the switch is disabled. If you cannot change its owner, the owner is disabled too.
The icon before the name is the automation's icon. Click it to pick another icon and its colour, then choose Save in the bar. Save publishes the icon with the rest of the draft. Each published version keeps its icon, and a restore brings that icon back. An automation with no icon shows the automations icon. If you cannot edit the automation, the icon is disabled.
Needs attention
An automation shows Needs attention when a status it uses is archived or no longer exists, or when a team it reaches has no status for a role its template asked for. The label shows in the Automations list, on enabled and disabled automations, and a paused automation keeps its paused label beside it. A banner on the automation's page lists each finding, for example that the automation will not start for new applications.
Attia works this out each time it shows the automation, from the automation's published version and the status as it is now. Restoring the status clears the label, with nothing to save. Renaming a status does not raise it, because the automation holds the status's id and not its name.
If you can manage the automation, the banner has Fix. On a published automation where one archived status is the cause, Fix lets you pick another status, and Attia writes a new published version with that status swapped. The rest of your draft stays unpublished. In any other case, Fix opens the automation's editor, where you choose another status and publish.
A run that reaches a step moving an application to an archived status stops there. Start again runs the same version and stops at the same step, so choose another status for the automation, cancel that run and handle that application by hand.
Stop a run early
Under Steps, Stop the run if lists what ends a run early. It shows on an automation that runs for an application or a job. Press Add condition to add a row, and add as many as you need: a run stops when any one of them matches.
Each row is built like the trigger. Pick the event the same way, for example a new message, the application being withdrawn, or a label being added, and add a filter with Add filter, the same filter a Filter step uses. A row with a filter stops the run only when the event happens and the filter matches. A field that Attia can only read fresh at run time, such as days in status, shows greyed out, because a stop condition cannot read it. A condition set another way, or on a candidate automation, shows as a sentence you can remove.
A row that waits for a label to be added stops the run when the labels change and that label is on the application after the change. If the label was already there and another label is added, the run still stops. A row saved before this change reads the labels after each update, so a label the application already holds can stop the run on its next update, until you edit that row.
Attia checks before each step and again right before each send. A run that stops shows as Skipped with the reason, and the steps it already ran are not undone. A change that lands in the same instant as a send may not be seen, so that message can still go out.
A run's own write counts. Publishing is refused while one of the automation's own steps makes a condition true, such as a Change properties step on the status next to The status changes, and the row says so. Attia cannot tell in advance what an Agent step will do, so a row only warns when the automation has an Agent step: if that step moves the status, the run stops itself.
Review an automation's runs
The Run history tab on an automation's page opens its newest run. Open a run to see its status: Queued, Running, Waiting, Succeeded, Failed, Waiting for input, Skipped, Cancelled, or Expired. Depending on how the automation runs, the run shows the Steps it ran, or the Instructions it ran with and the agent's transcript. A run waiting on a Wait step or on a candidate's answer reads Waiting. A run that stopped until a member acts, for example to answer a question from the AI agent, reads Waiting for input. A run a member cancelled reads Cancelled. The rail beside it lists the automation's other runs, and Filter runs narrows them.
When an application on a job started a run of a job automation, the run page says so: Started by the application and the candidate's name, which opens the application. If you cannot open that application, the run page shows no such line. A run that an event on the job itself started has no such line.
When a run did not finish, the page says why. A skipped run says why too, both above its steps and on the step that stopped it, unless the steps already tell it: a filter that did not match, or a path no branch matched. Depending on the run, Resume run picks it up again, Start again runs it from the beginning, and Cancel run stops it. When the record the run is on has been deleted, Attia refuses Resume run and Start again, and says why.
A stop condition ends a run as skipped when a later event on the same record matches. The run ends as soon as Attia routes the event, even while it waits for an answer, and an open question closes, so no more reminders go out. The run also checks before the next step and again right before a message goes out. The page names the row's event and says whether its filter matched, for example "Stopped because a stop condition matched: Application withdrawn." Attia reads the first 200 events of the kinds the stop conditions name, so a match past those is missed, and a change saved between the last check and the send is not seen. A reminder due before Attia routes the event can still go out.
When a run fails, its open candidate questions close too, so no more reminders go out. The original message stays in the conversation. A candidate who submits an answer from a form already open sees that the request is no longer open.
Restore a previous version
Every time someone publishes an automation, Attia keeps that version.
- Open the automation. On its Overview, choose Last update, or choose Show published versions in the automation's menu.
- Pick a version to preview it, then choose Restore version.
- The version fills the Overview. If it differs from the published version, the bar appears. Choose Save to publish it, or Cancel to keep the live version.
On the automation's own page, a restore from Show published versions or from Last update stays on the page when Overview is open. The version fills the Overview, with the bar to save it when it differs from the published version. Every field and Save wait until the restore finishes, and they wait the same way while an Undo runs. When you start the restore on the Overview, the toast that follows offers Undo for 8 seconds, and Cmd/Ctrl Z does the same: the Overview goes back to what it showed before the restore, unsaved changes included, and they stay unsaved. If the draft changed after the restore, Undo changes nothing and says so. If you leave the Overview before the restore finishes, the toast still offers Undo. When you come back, the Overview reads the automation again before you can edit it. It shows the restored version, or your unsaved changes again if you chose Undo. If someone changed or published the automation in the meantime, it shows that instead. A restore you start from Run history, or from Show published versions in the Automations list, opens Overview first and runs the same restore there, with the same Undo.
A version that came from replacing a status says Replaced status {from} with {to}. Restoring a version from before that brings the archived status back, and you have to replace it again. When a team starts inheriting its parent's statuses, the new version says Replaced status {from} with {to} because the team inherits statuses.