Hackathons, Template Engine, and I


Posted on

If you haven’t been living under a rock, you probably know that SendGrid released Transactional Templates recently. I’ve been using them for a while, specifically for my API demos. It makes it super simple for me to customize emails for a specific school or crowd on the fly without touching any code. With Transactional Templates I don’t ever touch my code.

Here is how my code looks like:


Now if I want to go to HackRU and give a demo, I don’t have to change anything in my code. I can go to the Templates interface and activate the template that I set up for HackRU.

lol

When I send my email, it will look like this:

lol

Now, next weekend I’ll probably head on over to hackNY, I just need to activate that template and I’m done.

If you notice, the only thing that matters is the ID of the template :)

Convenient right? Anyone can start using the Template Engine! If you have any issues or questions, feel free to poke me @elbuo8.


Puerto Rican and hackNY '13 fellow. Always looking to hack/experiment something new. You can follow me @elbuo8

Yamil Asusta on Twitter

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>