# Import or Export an Advocate Email Template

You can import an existing email template and export an email template if you want to store the email you are replacing before importing a new one.

<div data-with-frame="true"><figure><img src="https://4048883401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fz4VPe4ItfBpeEtsjaVcb%2Fimage1.jpg?alt=media&#x26;token=99f3900a-f93b-4214-9f90-a6eb5f792a64" alt="" width="563"><figcaption></figcaption></figure></div>

#### Import an email template

&#x20;The email editor can accept any HTML-formatted email code, and you can import any HTML-based email that has been created for you.

1. From the left navigation menu, select ![](https://impact-1.gitbook.io/docs/emvxfLrwrlacc4y3y02Y/~gitbook/image?url=https%3A%2F%2F4048883401-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FwMLlMoFBtKJa8ptd3zaw%252Fuploads%252Fgit-blob-230534471fef5f40808e921e41ee44e4a06ded03%252Fe6cb9548999afdc1ed3ce4942e4cb5b45b5cecbd323267aac2a7cd1915fccc09.svg%3Falt%3Dmedia\&width=300\&dpr=3\&quality=100\&sign=71dd50ef\&sv=2) **\[Engage] → Content**.
2. In the *Emails* card, select **Edit emails** to edit an existing template.
3. Select the email you would like to import a custom-built email for.
   * Select ![](https://4048883401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2FYaEYpaDDip5FxDbF8lnO%2Fclose.svg?alt=media\&token=da6580c0-a38f-4bf9-a34a-619921f19e9e) **\[Exit icon]** to minimize the side menu.
4. Select **Import Template** in the horizontal toolbar to open the import window.
5. Add your script to the *Import Template* window. Review the copied code for accuracy and completeness.
6. Select **Import** to load the custom code into the email editor canvas.
7. After your updates are done, send yourself a test email.
   * Select **Actions** ![](https://4048883401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-c2cb550b55c51ea1eeff0acbd6f437a03b621a2c%2F60d033ae8a04c14498d5229c3c0160ac05feea7f605dbd770741793c900469f0.svg?alt=media) **\[Drop-down menu]** to send yourself a test email.
8. Select **Save** in the top-right corner of the screen.
9. If your program is live, you must [publish your program draft](https://help.impact.com/brand/what-would-you-like-to-learn-about/advocate-program/getting-started-with-advocate/create-and-publish-a-program-draft-for-advocate) to roll out the change to your participants.

#### Export an email template <a href="#export-an-email-template-0-1" id="export-an-email-template-0-1"></a>

1. From the left navigation menu, select ![](https://4048883401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-230534471fef5f40808e921e41ee44e4a06ded03%2Fe6cb9548999afdc1ed3ce4942e4cb5b45b5cecbd323267aac2a7cd1915fccc09.svg?alt=media) **\[Engage] → Content**.
2. In the *Emails* card, select **Edit emails** to edit an existing template.
3. Select the email you would like to import a custom-built email for.
   * Select ![](https://4048883401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2FYaEYpaDDip5FxDbF8lnO%2Fclose.svg?alt=media\&token=da6580c0-a38f-4bf9-a34a-619921f19e9e) **\[Exit icon]** to minimize the side menu.
4. Select **Export Email Template** in the horizontal toolbar to open the import window.
5. View the code in the *Export Template* window.
6. Select **Copy HTML** to copy and paste the HTML.
