Using Formulas in Email Composer Helper

Formulas allow you to achieve more advanced configurations in Email Composer Helper.

Handling Nested Relations

When using Email Composer Helper, you can utilize relations. However, if you need to retrieve a value from a nested relation property (a relation property within another relation property), it is not possible directly. For instance:

Suppose you have the following databases:

  1. Orders Database: Contains a relation property called Customer linking to the Customers Database.
  2. Customers Database: Contains a relation property called Shipping Address linking to the Shipping Address Database.
  3. Shipping Address Database: Contains an Address property.

You want to insert a customer's shipping address by clicking the "send email" button from a page in the Orders Database. This is not possible with a direct relation setting in Email Composer Helper. However, you can achieve this using a formula.

Steps to Configure a Nested Relation with Formula

  1. Add Shipping Address Field to Order’s Page as a Formula:
  2. Edit the Formula:
  3. Use the Formula Property in Email Composer Helper:

This configuration allows you to insert customer shipping addresses dynamically from nested relations using formulas in Email Composer Helper.

You can see below for working example.

Order from Jone

You can learn more about formula in notion official doc.