> For the complete documentation index, see [llms.txt](https://help.impact.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.impact.com/brand/what-would-you-like-to-learn-about/advocate-program/manage-advocate-participant-experiences/email-experiences/import-an-advocate-email-template.md).

# 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="/files/KTIO3qlu023BtN2HW6af" alt="" width="563"><figcaption></figcaption></figure></div>

#### Import an 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.

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 ![](/files/1FWZn9mlUmEM9KmrGHZa) **\[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** ![](/files/jA6jLZ1RleK5VI2zmvap) **\[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](/brand/what-would-you-like-to-learn-about/advocate-program/getting-started-with-advocate/create-and-publish-a-program-draft-for-advocate.md) 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 ![](/files/CDnwOBeIdds9r3Z6zTnO) **\[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 ![](/files/1FWZn9mlUmEM9KmrGHZa) **\[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.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.impact.com/brand/what-would-you-like-to-learn-about/advocate-program/manage-advocate-participant-experiences/email-experiences/import-an-advocate-email-template.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
