Skip to contentSkip to navigationSkip to topbar
On this page

Migrating from Legacy Transactional Templates


If you have transactional templates you want to use with handlebars syntax, you need to migrate your legacy templates to the new dynamic templates page.

(information)

Info

The original template you copy won't be modified and remains active in any API or SMTP calls. To use the new template, update the template ID parameter in your code.

To convert a legacy transactional template:

  1. Navigate to the legacy templates(link takes you to an external page) page.
  2. Create a version of the template you wish to migrate or select the actions menu on the template version and select Edit . The template opens in the editor and a green banner appears at the top of the page specifying that the template you are editing is a legacy template.
  3. Select Copy as New Template .
  4. Give the template a new name and click Copy as New Template .
  5. Once the template is successfully copied over, click Continue . The template opens in the editor and you are prompted to replace any existing substitution tags with handlebars syntax.
  6. To replace any existing substitution tags, click Replace your substitution tags .
  7. Enter the opening and closing characters of your substitution tags and click Replace .
  8. The module replaces all of the substitution tags in your template with handlebars. For example,{{your_tag_here}}.

Additional resources

additional-resources page anchor

Need some help?

Terms of service

Copyright © 2024 Twilio Inc.