Creating complex email flows with Zapier
Zapier is an incredible powerful tool. Allowing anyone to create advanced flows that empower anything from small hobby projects to entire business.
In this article you are going to learn how you can integrate Plunk's behavioural email marketing into your Zapier Zaps.
What is Plunk
Plunk is the easiest behavioural email marketing tool out there. Making it easier than ever to create cross-platform solutions to keep your customers in the loop. Imagine if you want to send a reactive email to a user that has interacted with your application and got in touch with you via an email that went through your Zapier Zap. That example is easily implementable thanks to Plunk!
Setting up Zapier & Plunk
Head over to the Plunk dashboard and create a new account. You will be asked to create a new project and the handy onboarding steps will guide you in the right direction.
1. Creating a template
Plunk does not yet support drag-and-drop email templates, instead we rely on a tools like MJML to create completely custom experiences your customers will love to receive. For your first template, you can use one of the examples MJML have prepared for you.
Here you have two options:
- Download one of the templates as an MJML file and upload it to Plunk, we will automatically parse it for you
- Use our HTML editor and write your own email from scratch
2. Triggering your first event
In step two you can find how to trigger an event. Let's copy our secret key and head over to Zapier to install the Plunk action. Your secret key starts with
sk_ and is a long, random string of characters.
Head over to the Zapier action and install it in the flow you want to use it for.
Once you have installed it and pasted in your secret key, you can find the
Publish event to Plunk in the Plunk Email Automation action.
In our example we have created a simple recurring event that triggers the action. Since this is just a simple demo, we make use of a pre-defined email address. In a real app you will most likely use a variable email that is present in your Zap, but the possiblities are endless!
3. Creating your first action
Creating an action is really easy since you have already created all of the items we need! Give your action a name, select the event you just triggered in Zapier and the template you have created in the previous step. That's all there is to do, everytime someone triggers your event in Zapier they will now receive the email design you have created in Plunk.
Everything happens on full-auto, no extra configuration is required to keep Plunk functional. You can create more templates and actions for other situations if you wish to do so!
What you have learned
If you have completed all the previous steps, then you have learned how to:
- Set up Plunk
- Create email templates
- Trigger events from Zapier Zaps and send them to Plunk