Skip to main content
HubSpot’s Sequences API can enroll contacts but can’t create sequences or email templates. So when you send AI Sequences through HubSpot, you build the sequence in HubSpot once, and Avina fills in the email content for each contact:
  1. You build the sequence in HubSpot: one Automated email step per Avina email step, in the same order and with the same delays.
  2. Avina writes each contact’s emails into contact properties before it enrolls them.
  3. Your HubSpot email templates insert those properties as personalization tokens, so HubSpot sends Avina’s AI-written email.
You only do this once per sequence. Avina shows the same guide in the app: open a HubSpot sequence in AI Sequences and click Setup guide in the yellow banner.
HubSpot AI Sequences support email steps only.

Prerequisites

  • A HubSpot subscription that includes sequences (Sales Hub or Service Hub Professional or Enterprise).
  • Permission to create sequences and contact properties in HubSpot.
  • A personal inbox connected to HubSpot for each person who will send. Team inboxes can’t send sequence emails.
  • HubSpot connected to Avina. See the HubSpot overview.

Step 1: Build your steps in Avina

In Avina, go to AI Sequences → Create Sequence, choose HubSpot as the sending platform, and add the email steps you want the AI to write. Note how many email steps there are and the delay between them, because the HubSpot sequence must match.

Step 2: Create the sequence in HubSpot

1

Create a Dynamic sequence

In HubSpot, go to Automations → Sequences → Create and choose Dynamic sequence.
2

Add the first Automated email

Under Automated outreach, click Automated email. When HubSpot asks for a template, choose Create new and name it Avina Email Step 1.
3

Add one Automated email per Avina step

Create a separate template for every Avina email step: Avina Email Step 2, Avina Email Step 3, and so on. Add them in the same order as your Avina steps, with the same delays.
Use Automated email steps, not Manual email task steps. Manual tasks pause the sequence until a rep clicks send.

Step 3: Create the AI personalization properties

In HubSpot, go to Settings → Properties → Contact properties and create one Multi-line text property for each of these internal names: The internal name must match exactly. The label can be anything, for example “Avina AI Email Body 1”. The setup guide in Avina has a copy button next to each name. Creating an Avina contact property in HubSpot When you’re done, you should have one body property per email step, plus the subject property: Finished list of Avina contact properties

Step 4: Put each property in the matching HubSpot email

1

Open the first template

Open the Avina Email Step 1 template.
2

Insert the body token

In the email body, click Insert → Personalization token, choose Contact, and add avina_ai_email_body_1.
3

Insert the subject token

In the subject line, add avina_ai_email_subject_1. Save the template.
4

Repeat for every template

Avina Email Step 2 uses avina_ai_email_body_2, the third template uses the body property ending in 3, and so on. Every template uses the same subject property.
Avina subject and body tokens in a HubSpot email template The finished sequence has one Automated email per Avina step, in the same order and with matching delays: Finished HubSpot Dynamic sequence with Avina tokens Back in the Avina sequence editor, click Link your HubSpot sequence in the yellow banner and pick the sequence you just built. If it doesn’t appear, refresh the list.

Step 6: Choose senders

Pick who sends from the Sender control. The list shows your HubSpot users. Each enrolled contact is sent from one of the senders you select. Each sender needs a personal inbox connected in HubSpot.

Step 7: Publish

Click Publish Sequence. From then on, every time Avina enrolls a contact it:
  1. Writes that contact’s subject and complete emails into the Avina properties.
  2. Enrolls the contact in your HubSpot sequence.
  3. HubSpot sends each Automated email with Avina’s content filled in.
HubSpot fills in the tokens when the contact is enrolled, so changing the properties afterwards doesn’t change emails already scheduled. If a property is missing from your portal, Avina doesn’t enroll the contact. The automation’s enrollment history shows it as Failed and names the missing property. For every property Avina writes, see Properties Avina writes.

If you change the sequence later

Avina never edits or deletes your HubSpot sequence, so keep the two in step yourself:
  • Adding an email step: add the step in Avina, create the next avina_ai_email_body_N property, then add a matching Automated email in HubSpot.
  • Reordering steps: make sure each template still uses the body property for its position: the first email uses avina_ai_email_body_1, the second uses avina_ai_email_body_2, and so on.
  • Switching to a different HubSpot sequence: click Change next to the linked sequence in Avina.
  • Deleting the sequence in Avina: delete or turn off the HubSpot sequence yourself.

Troubleshooting