Fallback values for empty tokens

How do I indicate a falback for empty tokens in emails?



For example, I have this line in my email:

Quote:
QuoteIn helps companies like {contactfield=company} respond to requests...

Ideally, this would display the contact's company name, but if the field is empty, it results in:
Quote:
QuoteIn helps companies like respond to requests...

I would like to do something like this: {contactfield=company fallback='your company'} where it uses standard text if the field is blank. This would set the indicated text to the following:
Quote:
QuoteIn helps companies like your company respond to requests...

Is there currently a way to do this?

How do I indicate a falback for empty tokens in emails?

For example, I have this line in my email:

Ideally, this would display the contact’s company name, but if the field is empty, it results in:

I would like to do something like this: {contactfield=company fallback=‘your company’} where it uses standard text if the field is blank. This would set the indicated text to the following:

Is there currently a way to do this?

Anyone? I’m looking for the same thing…

I know this is an old thread but since it has no answer and is well indexed with Google I pick it up again.

As per the documentation Mautic allows (now) to set a fallback value like this:
Hi {contactfield=firstname|there},

However, as per my tests it is not possible to add two separate words as the original posters asks. This would always output your company:
helps {contactfield=company|your company}