When you will process to the action, you will check if the cc is empty (cc field’s is empty:format as text … YES will be empty and No will be ,“cc”:“input cc value”
Similar process for bcc
Thanks for the reply @Jici.
I’m a complete novice with APIs and html, so forgive my stupidity here.
Was I supposed to include the expression in the action or the workflow?
NB: I had to include “is not empty” at the end of the expression as it was creating an error.
For some reason, I can’t duplicate the Postmark action.
I’ve tried copy/paste the action, I tried copying the entire workflow but this ommits the Postmark action.
When I try to create a new action from scratch, the Postmark API is missing.
I’ve no idea what’s going on there.
With regards to the API, when I try to initialize, it’ll throw up an error again if the values are empty.
You need to use Body JSON and put what I’ve set in the body part and delete all parameters.
You will not use Only when, you will use just format as text for the CC and BCC
Thanks for your help @Jici.
I thought I was doing that, but like I said before, I’m a complete novice at this, so I’m a little confused.
I’m not sure whether I need to place something in the < html_body > as I’m using the < CC > & < BCC > parameters in the action.
This is what I’ve set in the JSON body of the API call:
NB: I cannot initialize it as it is. I have completely filled out all the parameter fields except “html_body”.
Then for the Body parameters, I have bcc = “Bcc”: “sample@gmail.com” like this:
Whenever I call my API calls, I either replace the email if I need to use that field or just pass in a blank space " " as the parameter if I want it to be empty. Let me know if that makes sense to you.
I believe it only allows for one Postmark Server.
I’m using multiple in my app to organise the various emails.
From what I can see, only the batch email will allow for 10 variables to be passed to Postmark. The single email doesn’t have any variables. I’ve set all my templates up on Postmark already, so it’d be difficult to change them and my workflow actions.