Postmark is awesome

You can use this plugin to easily send email through postmark

1 Like

Yes. I think it is pretty safe. If the ICO comes a-callin’ I would point them at all of that and say “We assessed our risk in conjunction with the providers and believe we comply”.

2 Likes

IMO it is easier to import the cURLs as you can create more complex repeating data groups etc.

1 Like

Hi @vini_brito,

I’m currently using your Postmark HTML plugin. Thanks a lot, its really easy to use and stick in all the html and dynamic content.

I’m having a problem with the plugin and stripe webhooks though. Can you help me with an error I’m getting as a response from Stripe please. When I use the normal email action from Bubble it works.

This is the error I’m getting when I manually launch the webhook from stripe.

Thanks

It seems like Bubble is trying to run the Postmark Send Email workflow action before the receiver’s email address is present, or is somehow just not passing the email address at all.
Try making sure the email address is there and see what happens.

A way to debug/test this is placing a time wall between workflow actions, for example 4 seconds wait time. Or statically writing an email address and seeing if any other error shows up.

2 Likes

Thanks for the quick reply @vini_brito. As you have mentioned it works when I statically add an email address.

Although in practice, I first have to identify the user by requesting the customer data object from stripe to be able to fetch the email from Bubble database and then send the email.

How can I solve this problem? Do I first have to create a separate workflow action that fetches the customer and then in the postmark action addd “Result of step …”?

Thanks

That’s a good possibility! :blush:

Hi @vini_brito,

:exploding_head: Didn’t work.

It works with the Bubble Email action, but that means I have to go back to Sendgrid. Are you able to look at your plugin?

Thanks

I’m not sure what would be the issue on the side of the plugin, because if an email is passed then it works fine.

“Result of step X” should work fine, I can’t imagine why it would not pass the email.
Try something even more brute, save the email in the database, I imagine you’re getting it from an API call configured as a data source.
Then after that, refer to that field in the database.

Simultaneously, try checking if the data types are correct, for example a text is being passed in there and if the text is properly formatted, like something@example.com.

Also, it’s supposed to be only one email, by the description it doesn’t seems like more than one is being passed, but it’s good to check.

Thanks, basically thats how I originally had it setup. I have it in the database and I do a search for user that has the reference id I get from Stripe. But still no luck.

Sure, in that case, next week I’ll make a mock clone debugger action so we can better debug corner cases like this, then I’ll be able to see exactly what Bubble is passing and what goes on once that information is processed within the action.

1 Like

Hi @vini_brito,

Sorry for wasting your time. I’ve just worked out why it wasn’t working. PRIVACY RULES AAAAHHHH. I removed all privacy rules on that data type and now the search email works. Now I have to work out how to add privacy rules without intruding on backend workflows. Never give up… hahaha

Regards

1 Like

Hahahah happens! I’ve done that one too.
I’ll be making the debugger mock action anyway, someone else will also benefit from this (:

I would like to find someone who knows how to implement Postmark and can help me finish up what I started.

Please PM me if interested.

John

@ralphlasry I’m just making the switch from SendGrid to Postmark based on the comments in this thread.

In the SendGrid setup i was previously using I designed the email templates in SendGrid and then it had a section in the plugins workflow where you enter the “Template ID” but I can’t see the equivalent option here. Is it a case of creating the template in Postmark then copying the HTML across into the “HTML Body” in the plugin workflow?

TIA

1 Like

Which postmark plugin on the Bubble plugin store would you recommend?

  1. Rich Postmark emails Plugin | Bubble

Or

  1. Postmark Email Plugin | Bubble

The second one is very basic right now, plain text emails only - I created it and didn’t realize I had made it public so it’s been untouched for a little while. I think it’s pretty much just one API call.

That being said, I haven’t used the first one but it sounds like you can use it for HTML emails

1 Like

Question, how do you make a JSON field option. So like for the CC and BCC field in Postmark, won’t let me send any emails with an empty CC or BCC field.

I think you need to make the API call excluding the CC and BCC options for it to work. So in the Connector you would have 3 separate API calls

  1. Regular To email
  2. Email with BCC
  3. Email with CC
    (possibly more if you need a specific combo)

So just copy and paste that API call and remove the “CC” and “BCC” lines from the JSON

3 Likes

Ah… that’s what I thought.