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

5 Easy Ways to Enhance Your Customer Segmentation Strategy

With hundreds of ways to segment email lists and personalize campaigns, these 5 methods of customer segmentation are an easy place to start.

read more

Learn To Love Your Unsubscribers

Unsubscribers are inevitable in email marketing. They’re often looked at negatively, but we prove how they do a lot of work for marketers by cleaning lists.

read more

Operating DNS on the AWS Network: Challenges and Lessons

Learn how our team worked with AWS to address a challenging DNS performance issue—and tips for troubleshooting with the AWS support team.

read more

Start sending email in minutes!

The world’s most powerful email delivery solution is now yours in a developer-friendly, quick to set up cloud service. Open a SparkPost account today and send up to 100,000 emails per month for free.

Send 100K Emails/Month For Free

Send this to a friend