| Line 1: |
Line 1: |
| − | == About == | + | <pre class="header-style">The Macro Finished trigger fires when execution of a specified macro has completed. This allows you to chain macros together or perform follow-up actions after another macro finishes running.</pre> |
| − | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | + | |
| − | This trigger will fire when execution of the specified macro has completed.
| + | ''' Options ''' |
| − | </pre>
| + | |
| | + | * '''Macro Selection''': Choose which macro to monitor for completion: |
| | + | ** '''This Macro''': Fires when the current macro completes (useful for cleanup tasks at the end of the macro itself) |
| | + | ** '''[Other Macro Name]''': Select any other macro from the list |
| | + | |
| | + | The list shows all macros sorted alphabetically, with favorite macros marked with a star. A search feature is available when there are more than 10 macros. |
| | + | |
| | + | ''' Examples ''' |
| | + | |
| | + | ''Example 1: Follow-up Notification'' |
| | + | <pre class="trigger-style">Triggers |
| | + | |
| | + | Macro Finished - Data Sync Macro</pre> |
| | + | <pre class="action-style">Actions |
| | + | |
| | + | Notification - Data sync complete! |
| | + | Play Sound - notification_complete.mp3</pre> |
| | + | |
| | + | Shows a notification and plays a sound when the "Data Sync Macro" finishes execution. |
| | + | |
| | + | ''Example 2: Chain Multiple Macros'' |
| | + | <pre class="trigger-style">Triggers |
| | + | |
| | + | Macro Finished - Step 1 Macro</pre> |
| | + | <pre class="action-style">Actions |
| | + | |
| | + | Wait 2 seconds |
| | + | Run Macro - Step 2 Macro</pre> |
| | + | |
| | + | Automatically runs "Step 2 Macro" after "Step 1 Macro" completes, with a short delay. |
| | + | |
| | + | ''' Notes ''' |
| | + | |
| | + | * The trigger fires when all actions in the specified macro have completed execution. |
| | + | * The current macro cannot trigger itself via "This Macro" in a loop - it only fires once per execution. |
| | + | * If the selected macro is deleted or renamed, the trigger will attempt to find it by name on import. |
| | + | * Favorite macros are displayed with a star icon in the selection list. |
| | + | * This trigger is useful for: |
| | + | ** Creating sequential macro workflows |
| | + | ** Performing cleanup after other macros |
| | + | ** Triggering notification/logging of macro completion |
| | + | ** Building modular automation systems |
| | + | |
| | + | ''' Use Cases ''' |
| | + | |
| | + | * Creating multi-step workflows that depend on completion order |
| | + | * Logging when specific macros finish |
| | + | * Triggering cleanup or follow-up tasks |
| | + | * Building complex automation chains |
| | + | |
| | + | ''' See Also ''' |
| | + | |
| | + | * [[Trigger:_Macro_enabled|Macro Enabled Trigger]] |
| | + | * [[Action:_Macro_run|Macro Run Action]] |
| | + | * [[Action:_Enable/Disable_Macro|Enable/Disable Macro Action]] |