The quick settings tile trigger allows you to invoke a macro by long pressing or short pressing a quick tile found in your quick settings shade. To access, bring down the notification shade with two fingers to show your quick tiles. Now you should see a pencil icon, click the pencil. Now you can drag and drop the custom quick tiles into place.
Example Usage
Triggers
Actions
Constrains
Local variables