Hello and thanks in advance for reading and for your help ! :)
I have a table called Modeles_de_mails where I store email templates.
One field, Objet_du_mail, contains a subject with a placeholder that look like this :
Nouvelle demande d’intervention {{Ressource}}
In another table, Locations_ressources, I have a field named Ressource that contains the actual value I want to insert (for example: Planétarium).
My goal is to automatically update the subject line so it becomes:
Nouvelle demande d’intervention Planétarium
based on the linked record’s Ressource value.
I want to know:
-
What is the correct way to replace a placeholder like
{{Ressource}}with the value coming from a linked table? -
Do I have to use a Lookup field to bring the value into the template table, or is there any cleaner method? I saw some database good practice that tell to avoid as much as possible lookups and formulas inside database to avoid calcul and loading time.
-
Is there a recommended pattern for managing email templates with variables in Airtable?
Any advice or examples of clean setups would be appreciated.
Thanks a lot,
Eva
