I have started using Postmark to send updates to customers and the template is set up and the data is pulling through just as it should, everything is running perfectly except when there is no data to send to the template and the received email shows “null”
In Bubble, the user inputs the data on a form like this;
In this instance there is data which pulls through to the resulting email like this;
I am looking for a way to have the template show either no data or have a placeholder that shows “TBC” or something similar. I have looked through the Postmark documentation and found this link which seems to suggest it is possible through the use of an inverted group.
Ooooooops @michael.edwards, I’ve been reading your post the whole way wrong lol I thought you were having troubles pushing data to your Postmark template.
But in your case, you can just make a condition in a Bubble workflow where if there’s no data to send, you can pass to the Postmark template X
Hi @thedew I ended up manually adding in a value in the call, in my case “TBC” (see image) so if there is no value it shows TBC, I couldn’t get it to be blank but in my use case this worked perfectly