capabilities.work

Send a Transactional Marketing Email

A 3-step recipe with HubSpot. We can help you get access.

Recipe · 3 steps

Send a Transactional Marketing Email

with HubSpot
Works with AI assistants

Provision an SMTP token, verify it, then send a transactional email.

  1. Create an SMTP API token for the supplied campaign so transactional emails can be sent under it.
  2. Retrieve the newly created SMTP token by its ID to confirm its campaign association before sending.
  3. Send a single transactional email to the recipient using the pre-defined template and supplied personalization properties.
What you'll need to have ready
  • campaignName: The name for the email campaign associated with the SMTP token.
  • createContact: Whether sending an email creates a contact if one does not exist.
  • emailId: The ID of the transactional email template to send.
  • to: The recipient email address.
  • customProperties: Custom template variables for personalizing the email.
For your developer

Arazzo workflow hubspot:send-marketing-email, 3 operations: createSmtpToken → getSmtpTokenById → sendTransactionalEmail. Specs on APIs.io.