Automation Editor
...
Gear Menu
Processing menu

Latch groups

3min

Latch groups provide a synchronization mechanism so a parent automation that executes multiple child automations in parallel can wait for all childing to finish before continuing its processing.

This diagram depicts the concept:

Document image


To accomplish this, each child automation is first placed into the same Latch Group via their gear menu option here:



Document image


Enter the same name for the Latch Group here:

Document image


Latch groups can optionally be shared across linked accounts. That means that a parent automation in a parent account can execute child automations across multiple linked child accounts and wait for those child automations to finish.

Then the parent automation can be edited to add the "execute automation" action found in the System app to execute the child automations:

Document image


Be sure to configure the "execute automation" action so that the "wait to complete" option is disabled:

Document image


The in the parent automation, use the "wait for latched automation" action found in the System app:

Document image


Enter the Latch Group name you configured for each of the child automations:

Document image


Optionally, if using a Latch Group across linked accounts then change the scope option to "linked accounts".