Connecting SparkPost and Sendwithus

Alex Mohr
Jul. 31, 2015 by Alex Mohr

SWUSPIn the days of yore, after an email was triggered, say by a user signing up for your site, a welcome email would be assembled from the code stored deep within your app and sent directly from your server via SMTP. This meant that if you wanted to use dynamic data, like that user’s name, you would have to navigate your database and pull it out. Similarly, if you wanted to make updates, you had to dig into the codebase.

We’ve come a long way since then, with advanced tools to maximize and optimize along the way. Tools like SparkPost specialize in deliverability – maximizing your ability to scale quickly and indefinitely. Services like Sendwithus give you the power to manage complex email workflows as you reach that scale.

The first step is super simple, you just need to get your tools ready.

What you’ll need:

Now, once you import your templates, all you need are some triggers.

[If you’re using a service like Segment or Zapier, you can jump ahead to our quickstart automation guide.]

A trigger comes in the form of an API call, which is basically just a list of variables and their associated values. In this case, those variables will be things like which template to send, who to send it to, and your API key which – as we saw earlier – will serve as your authentication.

You can see the whole thing come together in our live example.

From there on out it’s all tinkering: set up an A/B test, experiment with different triggers, build out drip campaigns, you name it.

headshot_alex

Alex Mohr runs marketing and analytics for sendwithus.com and works tirelessly to rid the world of bad coffee and bad emails.

Related Content

3 Tips to Maximize Cart Abandonment Recovery

Shopping cart abandonment is the scourge of growth marketers everywhere. Learn three tips from Iterable to manage and navigate cart abandonment recovery.

read more

5 Do's (and 5 Dont's) for Better Marketing Emails

Want to improve your bottom line and customer engagement? Here are 5 do's and 5 dont's for sending better marketing emails.

read more

What Is An Email Worth?

The humble email has evolved in value and importance, and it can affect your relationship with your customers. What's an email worth, really?

read more

Get started and start sending

Try SparkPost and see how easy it is to deliver your app’s email on time and to the inbox.

Try Free

Send this to a friend