Go Go Automations! (Sing this in your head to the 1990's Power Rangers theme and you'll get where I"m going
)
Automations allow users to setup a series of steps a system should follow to take some action for them. This makes them especially useful for administrative actions (keeping track of pages to archive, missing page owners etc) that take up a lot of manual time.
Figuring out what to automate can be challenging. For me there's two parts we need to understand. Typically folks run into trouble when they don't understand either side of this equation (or both!):
- Determining what you want to automate
- Understanding what your system can do
For example, if I don't know what Confluence can automate I might not even both looking into this. Alternatively if I know what it can do, but don't have anything it should automate the feature is just as useless.
Finding things to automate can be the easier part of this - just go talk to people. Ask them what they do in Confluence all day, or what frustrates them, or what takes a lot of time. Get a list going, and then after a while review them. This will give you a good idea of where you can provide a lot of value with automations.
Fortunately solving #2 is as simple as getting hands on. Get into Confluence and start looking at automations. There's a load of templates you can tinker with (and if you've got Premium or Enterprise Atlassian Intelligence will create them for you based on natural language prompts).
Use cases
There's a few stereotypical use cases for automations (and by no means is this a complete, exhaustive, list).
- Finding pages to archive - An automation can run on a regular basis and auto-archive older content. Great for keeping your content hierarchy in shape.
- Finding pages with inactive owners - Orgs will eventually run into an issue where pages don't have active owners. This is insanely hard to keep track of manually, but you can automate the problem away by tagging pages without owners for followup.
- Create Jira tickets - One use case I find useful is automatically creating Jira tickets based on some criteria. This helps create sprints, build retro tickets and more.
Parts
Every automation must have two parts - a trigger and an action.
Triggers are what tell Confluence to run the automation. Triggers include things like scheduled, manual, when a page is moved or edited and more.
Actions are what the automation does. Examples include things like create a page, move something, add a comment and more.
Additionally automations can have two other parts, conditions and branches.
Conditions let you control the flow of the automation. For example you might only want it to continue if a page has a specific word in it's title, or if it was created by a certain person. Conditions also allow for if/then logic, providing the ability for the automation to take different action based on information within the page.
Branches allow the automation to repeat actions for related items. Most commonly I use this for child pages (e.g. run this part of the automation against every child page of the parent).
Limitations
In Cloud there are limits to how many automations you can run. In my mind this makes sense as smaller groups would have less to automate, but it can still put groups on Standard in a bit of a bind if they have legitimate need for more runs.
- Free - 10 runs per instance per month
- Standard - 100 runs per instance per month
- Premium - 1000 runs per user per month
- Enterprise - Unlimited
Final thoughts
Check out a youtube video of this here:
https://www.youtube.com/watch?v=s38vxSTPdak