Mautic Community Forums

Sending Emails and Dynamic Content

Is there any way that the emails is dynamically changed through my app which extending mautic? Like editing the details within my app not mautic, then send it through mautic ?

Is there any way that the emails is dynamically changed through my app which extending mautic? Like editing the details within my app not mautic, then send it through mautic ?

Sure: https://developer.mautic.org/#emails

Thanks for the response! @PeterTL ,
Do Mautic has certain tag that is being used in templates which will have a value based values I passed on a request?

I think these are two different things:

  1. Modifying emails via API (that’s how I understood your question)
  2. Providing dynamic content in emails

For the latter: You can use any contact and company field in Mautic to personalize your message. You don’t need the API for that. If you want to modify dynamic content via API, you may want to take a look here: https://developer.mautic.org/#dynamic-content

I am still not sure about your case. Would you mind giving us an example on what you want to accomplish?

Thank you again @PeterTL
Like for example I have data changing everyday, and I want to send it to my contacts. And I want to inject that data to a template that I created.

I was thinking there will be a tags like ‘{variable_name}’, that can be substituted within the code then will be POST via API