capabilities.work

Publish a Blog Post

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

Recipe · 5 steps

Publish a Blog Post

with HubSpot · Content Marketing Management
Works with AI assistants

Create or reuse an author, draft a blog post, then schedule or publish it.

  1. List blog authors and capture the first result so the post can be attributed to an existing author when one already exists.
  2. Create a new blog author profile when no existing author was found, using the supplied display name and email address.
  3. Create a draft blog post attributed to the resolved author and assigned to the supplied blog content group.
  4. Schedule the newly created blog post for publication at the supplied future date and time.
  5. Push the draft version of the blog post live so it becomes publicly visible immediately.
What you'll need to have ready
  • authorName: The display name of the blog author to find or create.
  • authorEmail: The email address to assign when creating a new author.
  • postName: The internal name/title of the blog post to create.
  • postBody: The HTML content of the blog post body.
  • contentGroupId: The ID of the blog (content group) this post belongs to.
  • publishDate: Optional ISO 8601 date-time to schedule publication; omit to publish immediately.
For your developer

Arazzo workflow hubspot:publish-blog-post, 5 operations: listBlogAuthors → createBlogAuthor → createBlogPost → scheduleBlogPost → pushBlogPostDraftLive. Specs on APIs.io.