Actually, I was referring to the declaratively way.
If you take a look at the solution template generated by GAT you will notice something like:
<WizardData>
<Template xmlns="http://schemas.microsoft.com/pag/gax-template"
SchemaVersion="1.0"
Recipe="YourRecipeName">
This will cause the firing of the YourRecipeName when the template is unfolded.