Build payloads with template selection