# Manually publish an email to HubSpot

### Export your HTML code from FeedOtter

The easiest way to do with is to Edit Your Email or Newsletter Issue.

In the lower-left corner, select **Settings** and then, in the email code box, select **Copy Final HTML To Clipboard.**

<div align="left"><figure><img src="/files/73qdEUfdJVpEjzZPOmG2" alt=""><figcaption></figcaption></figure></div>

### Create a new email template in HubSpot

In HubSpot navigate to <https://app.hubspot.com/design-manager/>

Select **New File**

Leave the default HTML + HubL option selected.

<div align="left"><figure><img src="/files/cCWlT6w7WQ2iJWkt7COz" alt=""><figcaption></figcaption></figure></div>

In the following dialog:

Set the Template type = email

Filename = a memorable name for this newsletter issue

You may adjust other fields but these are the important ones.

<div align="left"><figure><img src="/files/aHMGCusw8RgCTNk87duV" alt=""><figcaption></figcaption></figure></div>

### Create a new HubSpot Marketing Email

In HubSpot navigate to Marketing Emails and create a New "Regular" Marketing Email.

When prompted to select a template, choose the **Custom Tab.**

<div align="left"><figure><img src="/files/Lf5I36cZqt8U3duMYtFs" alt=""><figcaption></figcaption></figure></div>

You should see your created template file here, select it.

### Finalize and send via HubSpot

You can now complete the email setup in HubSpot as you would normally. Fill in the information on the remaining tabs.


---

# Agent Instructions: 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:

```
GET https://docs.feedotter.com/integrations/hubspot/manually-publish-an-email-to-hubspot.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
