How to get started with Postmark (and API, transactional user emails)

Hi Bubble community,

I’ve come across a few threads with much enthusiasm for using Postmark for user experience/transactional emails. I’ve established an email domain host and postmark account. Would anyone know how to tackle the first steps with creating well designed emails and making the connection to Postmark?

Would anyone have any videos or help with getting started (preferably with the much loved ‘Rich Postmark emails’ Plugin)?

Thank you

Hey @jasonturo,

For sure.

In terms of designing emails, I’ve just been using MailChimp or Sendgrid’s visual design builder then exporting the HTML code into Postmark.

I personally don’t use a Postmark plugin, but I use the Bubble API connector. It’s actually not too difficult setting it up if you follow the directions on their docs. https://postmarkapp.com/developer/user-guide/send-email-with-api

1 Like

Would you mind elaborating a little bit the configuration of the api connector?

Here’s some documentation on setting up an API connection using the Bubble API connector:
https://manual.bubble.io/building-plugins/adding-api-connections

Here’s the Postmark documentation that walks you through what type of calls, etc you need to do:

1 Like

Thanks, Johnny.

When you design the emails, how is it possible to incorporate dynamic user information into MailChimp or Sendgrid? Why not just send from Mailchimp (I understand Sendgrid creates a lot of frustration for bubble users)?

To summarize, If I understand correctly, you use one of those above to design the email, export the HTML into Postmark and the trigger in bubble then executes on the API workflow connection. Sound about right (just wrapping my brain around what the first step is in the process to work on)?

Definitely interested in learning how any user’s data could be exported into the email and then cleaned up with design (ie. user has a thing in the database for today, and gets an email about it).

Thanks so much for the help. You are always awesome at providing useful feedback!

Jason

So, I create my HTML templates within either MailChimp or Sendgrid and to pass over dynamic content I just use {{{ variablename }}} for whatever the dynamic element there is going to. Then within the API connection in the JSON body just define that variable there dynamically by doing something like: <variable name>.

Correct.

Hope this helps! Let me know how I can assist further!

Regards,
Johnny

1 Like

Thanks again, Johnny.

Most of us are visual learners (one of the reasons why we use bubble I expect); know of any videos on creating these type of dynamic emails. It would be great to see a couple screencasts of creating dynamic emails in MailChimp passing bubble data.

I imagine it must be a bit more cost effective or just easier to use Postmark’s API rather than MailChimp for sending the message?

Thanks again for any info.

1 Like

I find it easier to use Postmark’s API and the design part for the template isn’t too bad.

I do not have a screencast, but basically for example, if you want a line of your email to be replaced with dynamic data (eg. user name), then as the text do {{{ username }}}

You also might want to consider looking at @jacobgershkovich’s explanation here:

2 Likes

Johnny, you’re awesome. We all appreciate it!
Jason

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.