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

Using Email to Maximize Your Product Marketing Spend

Maximize your product marketing spend with email - from raising awareness, to making a purchase, rewarding loyalty and building long-term relationships.

read more

High Touch Client Onboarding Using Process Street and Zapier

How to build a zap connecting SparkPost with Process Street to produce a high touch client onboarding experience for your sales outreach teams.

read more

Sending Email from Google Cloud Functions

Here's a quick and easy tutorial on serverless transactional email with SparkPost and Google’s Cloud Functions on Firebase.

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