# Import an Advocate Email Template

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

{% hint style="warning" %}
**Warning**: Importing an email will overwrite any other changes you’ve made. If you want to make a copy of those changes, select the ![](https://4048883401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-ef24507db3f42deb3afb56262dda11ac1876a542%2F2e28fedcf39dbb091996c5883501adaf309f3c53abfc8ea6e023960c516dcdd9.svg?alt=media) **\[View Code]** button and save the code to another file or location.
{% endhint %}

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%2Fgit-blob-90673bb8db696bdefe7b207cfc07c46caf1d43f1%2Fce7a994978f06dd84cc6a31b890071502b4831990afd8fdd73f73c6d2e203660.png?alt=media) **\[Exit icon]** to minimize the side menu.
4. Select ![](https://4048883401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-c5a6005f4240e2b3d0130570914beed08e63e031%2Fd7ae6c98f4e31a9873537dcba7172245524d961b07891f6019cab540816d8b7a.svg?alt=media) **\[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.
7. Review the rendered preview in the *Workspace* to ensure there are no errors.

   <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><p><strong>Note</strong>: It is possible to make changes using the <em>Workspace</em> and Vertical Toolbar but larger issues require you to make changes to the code itself and re-import it. You cannot edit the code from <img src="https://4048883401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-ef24507db3f42deb3afb56262dda11ac1876a542%2F2e28fedcf39dbb091996c5883501adaf309f3c53abfc8ea6e023960c516dcdd9.svg?alt=media" alt=""> <strong>[View Code]</strong> within the editor.</p></div>
8. After your updates are done, send yourself a test email.

   * Select ![](https://4048883401-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwMLlMoFBtKJa8ptd3zaw%2Fuploads%2Fgit-blob-54167787e221a7f031fb6cc12a40f08c2329b2d4%2Fc4557d39498273acb3f9543487a51afbd590e065563bae2650f39046fbba0a6d.svg?alt=media) **\[Test Email]** to send yourself a test email.

   <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%2Fgit-blob-11a156577a4b8b25a51c3aefd8e19041f748754c%2F519ec9c6e08b57507fb4a9a9ff27fa111c03e759ca77bed03dc15ef1008ea5e1.jpg?alt=media" alt=""><figcaption></figcaption></figure></div>
9. Select **Save** in the top-right corner of the screen.
10. If your program is live, you must [publish your program draft](https://help.impact.com/brand/advocate-program/getting-started-with-advocate/create-and-publish-a-program-draft-for-advocate) to roll out the change to your participants.
