interface TemplateOptions {
    name: string;
    params?: {
        [key: string]: string | number;
    };
}

Properties

Properties

name: string

Template name

You can create an e-mail template on TagoRUN options at https://admin.tago.io/run

params?: {
    [key: string]: string | number;
}

Parameters to parse on Template

You can use that parameter as local variable using $PARAMETER_KEY$

example: params = { name: 'John' } will be $name$ on template document

Type declaration

  • [key: string]: string | number