# Custom Object Email Templates - Looking for examples

**URL:** <https://forum.mautic.org/t/custom-object-email-templates-looking-for-examples/27560>\
**Category:** General Discussion\
**Created:** [March 31, 2023, 6:11am UTC](https://forum.mautic.org/t/custom-object-email-templates-looking-for-examples/27560 "2023-03-31T06:11:25Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tornmarketing](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/tornmarketing/32/11603_2.png) [@tornmarketing](https://forum.mautic.org/u/tornmarketing)\
**Post date:** [March 31, 2023, 6:11am UTC](https://forum.mautic.org/t/custom-object-email-templates-looking-for-examples/27560/1 "2023-03-31T06:11:25Z")

</div>

Custom Object Email Templates - Looking for examples

I have nutted out segments and now keen to roll onto using custom objects in emails

So thinking Real Estate

I have an enquiry

- Bed, bath, car, price and suburb/city

I have real estate listings custom object  
title, listing id, price, bed/bath/car, images x3, assigned agent specs and link to somewhere relevant

Relationships  
Contact → Custom Object Enquiry → Custom Object Listing

I want to then make a query to find the most recent listings that match that criteria  
-/+ 10% price  
-/+ 1 for bed  
= suburb/city  
Limit =5  
Order by listing createdate (or something)  
I have a SQL query that should be able to handle this

Drop these into a structured email  
and send as an auto responder or part of a drip campaign with dynamic content

> **[Email tokens](https://github.com/acquia/mc-cs-plugin-custom-objects/wiki/Email-tokens)**
>
> Mautic plugin adding Custom Objects feature. Contribute to acquia/mc-cs-plugin-custom-objects development by creating an account on GitHub.

> **[GitHub - Logicify/mautic-advanced-templates-bundle: Plugin extends default...](https://github.com/Logicify/mautic-advanced-templates-bundle)**
>
> Plugin extends default email template capabilities with TWIG block so you can use advanced scripting techniques like conditions, loops etc - GitHub - Logicify/mautic-advanced-templates-bundle: Plug...

[https://mtcextendee.com/marketplace/twig-templates-for-mautic/](https://mtcextendee.com/marketplace/twig-templates-for-mautic/)

I have my hardcoded MJML templates  
[https://tm3.tornmarketing.com.au/email/preview/110](https://tm3.tornmarketing.com.au/email/preview/110)

Keen to learn what the methods will be to migrate this to something more dynamic

The other option is trying to nut out the woocommerce recommender engine

OR … some sort of custom RSS feed logic and hook up

> **[GitHub - ChrisRAoW/mautic-rss-to-email-bundle: Mautic plugin to send emails...](https://github.com/ChrisRAoW/mautic-rss-to-email-bundle)**
>
> Mautic plugin to send emails from RSS. Contribute to ChrisRAoW/mautic-rss-to-email-bundle development by creating an account on GitHub.

> **[Introduction](https://docs.mtcextendee.com/)**

---

<div class="post-metadata">

**Author:** ![tornmarketing](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/tornmarketing/32/11603_2.png) [@tornmarketing](https://forum.mautic.org/u/tornmarketing)\
**Post date:** [April 13, 2023, 4:43am UTC](https://forum.mautic.org/t/custom-object-email-templates-looking-for-examples/27560/2 "2023-04-13T04:43:36Z")

</div>

bump bump bump

---

<div class="post-metadata">

**Author:** ![joeyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/joeyk/32/11164_2.png) [@joeyk](https://forum.mautic.org/u/joeyk)\
**Post date:** [April 14, 2023, 6:24pm UTC](https://forum.mautic.org/t/custom-object-email-templates-looking-for-examples/27560/3 "2023-04-14T18:24:44Z")

</div>

This is really interesting. I come back from vacation, and jump on this thread.

---

<div class="post-metadata">

**Author:** ![radi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/radi/32/13364_2.png) [@radi](https://forum.mautic.org/u/radi)\
**Post date:** [August 14, 2023, 5:04pm UTC](https://forum.mautic.org/t/custom-object-email-templates-looking-for-examples/27560/4 "2023-08-14T17:04:48Z")

</div>

I’ve encountered the same issue using Mautic and its “Custom Objects”. In my “Custom Objects”, I have details about the products ordered most recently, including links to their photos and the products themselves. By the end of the month, I’m aiming to generate an email comprised of a list of these products along with their images.

Has anyone faced a similar situation or can share examples of how they’ve tackled this?

---

<div class="post-metadata">

**Author:** ![tornmarketing](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/tornmarketing/32/11603_2.png) [@tornmarketing](https://forum.mautic.org/u/tornmarketing)\
**Post date:** [August 19, 2023, 2:05am UTC](https://forum.mautic.org/t/custom-object-email-templates-looking-for-examples/27560/5 "2023-08-19T02:05:06Z")

</div>

Hey mate

For this I am more or less working with the TWIG email templates  
Custom objects is connecting information to the contact and segments, the TWIG email templates are more for the assembly.

Logicify and related forks are my pathway, think I have another thread on there somewhere I have been integrating MJML and TWIG to be more friendly
