I have automations set to apply templates, but these will turn themselves off after the second activation. Do note that it works correctly both times, but will ALWAYS turn itself off afterwards.
The automation is as follows:
When task is created, if custom field is X
Add task to list and apply template