Mautic Community Forums

Email with weather forecast

We have a campaign where we want to send an email with a latest plain text weather forecast (plain text to avoid spam issues). After checking all Mautic documentation and forums our current understanding is that there is no easy way to do this:

  1. We can use a custom field that we update through the Mautic REST API, but then we need to update this field for every single contact in the segment
  2. If we want to change the email text directly we need to do this on database/file level
  3. If we want to let Mautic update the email text we would need to modify the code and add a new data type to the custom fields that reads external data from a database or through an external API

    Is that right or did we miss something?

We have a campaign where we want to send an email with a latest plain text weather forecast (plain text to avoid spam issues). After checking all Mautic documentation and forums our current understanding is that there is no easy way to do this:

  1. We can use a custom field that we update through the Mautic REST API, but then we need to update this field for every single contact in the segment
  2. If we want to change the email text directly we need to do this on database/file level
  3. If we want to let Mautic update the email text we would need to modify the code and add a new data type to the custom fields that reads external data from a database or through an external API
    Is that right or did we miss something?

Two other options could be:
4. Modify the code and allow custom fields on segment level, i.e. custom fields which are automatically same for whole segment
5. Modify the code and allow to change the default value of a custom field through REST API