doodle top mobile

Post to Hashnode from Grok Bot

Grok Bot can publish blog posts to Hashnode through the Postiz plugin. Add the plugin to a Bot, store your Postiz API key as a secret, and give it a draft. The Bot picks your publication, sets the title and subtitle, applies the required tags, uploads a cover image, adds a canonical URL, and schedules publishing in Postiz.

Setup GuideMarketplace

Please make sure there is always a human in the loop.

Last updated: September 2026

doodle left mobiledoodle right mobile

How to post to Hashnode from Grok Bot

Add the Postiz plugin once, then give your Bot a draft. It resolves your Hashnode publication, sets the title and required tags, and schedules the post.

Setup, then just ask

# One-time setup, in any Bot chat
/add-plugin postiz
# Store POSTIZ_API_KEY as a Bot secret when prompted

# Then just ask Grok Bot:
> Publish my post on Hashnode with
  a cover image and tags, tomorrow at 9am

Grok Bot: Done! Your Hashnode post is scheduled.

What can Grok Bot do on Hashnode?

📖

Blog Publishing

Publish long-form blog posts with full Markdown support. Code blocks, embeds, and rich formatting work out of the box.

📚

Publication Support

Publish posts under your Hashnode publication. Every post requires a publication ID to target the right blog.

🖼

Cover Images

Upload and attach cover images to make your posts stand out. Eye-catching visuals drive more clicks from the Hashnode feed.

🔗

Canonical URLs

Set canonical URLs for SEO when cross-posting from your original blog. Avoid duplicate content penalties across platforms.

🏷

Required Tagging

Hashnode requires at least one tag per post. Tags use tag IDs for precise categorization and improved discoverability.

📅

Scheduled Publishing

Schedule blog posts for future publication with precise timestamps. Build a consistent publishing cadence effortlessly.

How does Grok Bot post to Hashnode?

You describe what you want in plain language and Grok Bot handles the Postiz calls for you. Here is how a typical conversation goes.

1

Find Your Hashnode Integration

Ask Grok Bot whether your Hashnode account is connected. It also checks which options the platform supports.

Example conversation

> Is my Hashnode account connected to Postiz?

Grok Bot: Yes — your Hashnode account is connected
  and ready. Want me to post something?
2

Prepare Your Content

Write your blog post in Markdown. Hashnode supports rich formatting including headers, code blocks with syntax highlighting, images, and embedded content. Optionally upload a cover image.

Example conversation

> Draft a Hashnode post about our new
  feature launch

Grok Bot: Here's a draft for Hashnode:
  "We just shipped something big..."
  Want me to add media and schedule it?
3

Publish Your Post

Create a post with your content, title, publication, tags, and optional cover image and canonical URL. Remember: publication and at least one tag are required.

Example conversation

> Yes — add screenshot.png and schedule
  it for tomorrow at 9am

Grok Bot: Done! Scheduled on Hashnode for
  tomorrow at 9:00 AM.

Hashnode Settings Reference

Mention any of these in plain language and Grok Bot sets them for you. These are the Hashnode options it can apply to any post.

FieldTypeDescription
__typestringMust be "hashnode"
titlestringArticle title (min 6 characters)
subtitlestringArticle subtitle (min 2 characters)
main_imageobjectCover image: {id: string, path: string}
canonicalstringOriginal URL for SEO canonical link
publicationstringPublication ID (required)
tagsarrayAt least 1 tag: [{value: string (tag ID), label: string}]

Common Hashnode configurations

Ask Grok Bot for any of these common Hashnode publishing scenarios and it applies the matching settings.

Basic Blog Post

Just ask

> Post it with: Basic Blog Post

Grok Bot: Got it. Applying:
  title: Understanding React Server Components
  publication: my-publication-id
  tags: React, Next.js

Full-Featured Post with Cover Image

Just ask

> Post it with: Full-Featured Post with Cover Image

Grok Bot: Got it. Applying:
  title: Complete Guide to Node.js Streams
  subtitle: Master streams for high-performance I/O
  main_image: id=img-abc123, path=https://uploads.postiz.com/streams-cover.png
  publication: my-publication-id
  tags: Node.js, Backend, Tutorial

Cross-Posted Article with Canonical URL

Just ask

> Post it with: Cross-Posted Article with Canonical URL

Grok Bot: Got it. Applying:
  title: Why We Migrated to Bun
  subtitle: Our experience switching JavaScript runtimes
  canonical: https://engineering.mycompany.com/migrating-to-bun
  publication: company-blog-id
  tags: Bun, JavaScript, DevOps

What is Grok Bot?

Grok Bot is the always-on AI teammate product from xAI and Cursor. You create named Bots, give each one a job, and they work 24/7 on their own persistent cloud computer — with a browser, a filesystem, and a terminal — pinging you only when they need approval.

Grok Bot is not the Grok chatbot. Grok is the assistant you chat with on X and grok.com. Grok Bot is a separate app for delegating real, multi-step work — like running your Hashnode presence with Postiz.

💻

Own Cloud Computer

Every Bot gets a persistent cloud machine with a terminal. Postiz runs there, so your Hashnode posts go out even when your laptop is closed.

🔁

Routines

Turn any task into a routine that runs on a schedule. Your Bot drafts, schedules, and reports on Hashnode content without being asked twice.

🛡️

Approvals Built In

Bots ask before changing external systems. Review the Hashnode posts your Bot prepared in Postiz, approve, and it publishes.

How Postiz Works with Grok Bot

Postiz is listed on the Grok Bot plugin marketplace. Add it to a Bot and the Postiz skill, CLI, and command reference are installed on its cloud computer — the Bot can then manage your Hashnode workflow on its own.

  • ✓Type /add-plugin postiz in a Bot chat, or add it from the Plugins sidebar
  • ✓Store your POSTIZ_API_KEY as a Bot secret when prompted
  • ✓The Bot reads the bundled SKILL.md and learns every Postiz command
  • ✓Works in every Bot on your shared workspace, on desktop and iPhone
  • ✓Approvals keep a human in the loop before anything is published

Grok Bot

# 1. Add the plugin to your Bot
/add-plugin postiz

# 2. Store your Postiz API key
#    as a secret when prompted

# 3. Ask your Bot to verify
You: Find my Hashnode channel in Postiz

Bot: Running postiz integrations:list
  Found your Hashnode integration.
  All Postiz commands are ready.

How Grok Bot runs Hashnode on a routine

Your Bot reads the Postiz skill, discovers your Hashnode integration, and handles the entire posting workflow — from content creation to scheduling — on its own cloud computer.

🧠

Message Your Bot

Desktop, iPhone, or a group chat

Send a message to your Bot from the desktop app or your iPhone. It runs on its own cloud computer, so it picks up your message, discovers your Hashnode account via Postiz, uploads your media, and schedules the post — then asks you to approve before it goes live.

Grok Bot

You: Post to Hashnode about our new
  feature launch, schedule for tomorrow
  at 9am

Bot: Got it! Here's the plan:
  1. Find your Hashnode integration
  2. Compose your post content
  3. Schedule for tomorrow 9:00 AM

  Done! Post scheduled successfully.
  Post ID: abc-123
🧠

Routines

Recurring work on a schedule

Save the task as a routine. Your Bot runs it on a schedule from the cloud, checks for new content, and posts it to Hashnode automatically — no manual trigger needed.

Grok Bot routine

Routine: daily-hashnode-posts
Schedule: Weekdays at 9:00 AM

Instructions:
  Check ~/content/posts on your cloud
  computer for new .txt files. For
  each one, read the content and
  schedule a post to Hashnode for
  today at noon via Postiz. Move
  posted files to ~/content/published
  and send me a summary.

Why Grok Bot + Postiz for Hashnode

Grok Bot makes Postiz a natural fit for your Hashnode workflow. The Bot reads the plugin's skill, chains the right commands together, and keeps running from the cloud.

  • ✓Official plugin — one command install from the marketplace
  • ✓Always on — posts to Hashnode from the cloud while you are away
  • ✓Terminal access runs Postiz commands directly on the Bot's computer
  • ✓Routines for hands-free daily posting
  • ✓Cross-post to Hashnode + other platforms in a single conversation
  • ✓Approvals keep a human in the loop before publishing

SKILL.md (bundled in the plugin)

---
name: postiz
description: Social media automation
  CLI for scheduling posts across
  30+ platforms including Hashnode
metadata:
  grok-bot:
    plugin: postiz
    secrets:
      - POSTIZ_API_KEY
    binaries:
      - postiz
---

# Available Commands
- postiz integrations:list
- postiz integrations:settings <id>
- postiz posts:create
- postiz upload <file>
- postiz analytics:platform <id>

# Hashnode Settings
title, subtitle, main_image,
canonical, publication, tags

Also Works with Claude Code

Postiz works with any AI agent that can run commands or call MCP tools — you ask, the agent does the work. That includes Anthropic's Claude Code. See the Claude Code guide for Hashnode, the guide for any AI agent, or connect over the Postiz MCP server.

C

Claude Code

by Anthropic

Claude reads the Postiz skill so it knows what it can do, then autonomously discovers your Hashnode integration, uploads your cover image, resolves publication and tag IDs, and publishes the post.

Claude Code

> Publish my Node.js streams guide to
  Hashnode with a cover image and tags

Claude: Done! Scheduled on Hashnode for
  tomorrow at 9:00 AM.

Cross-post Hashnode content to other platforms

Publish the same article to Hashnode and other platforms in a single request. Each platform gets its own settings.

Example

> Post "Excited to announce our new feature!" to
  Hashnode and LinkedIn tomorrow at 9am, then schedule
  a daily tip on Hashnode every weekday at 10am

Grok Bot: Done! Scheduled:
  - Hashnode + LinkedIn: tomorrow 9:00 AM
  - Daily tips on Hashnode: Mon-Fri 10:00 AM

Example prompts for Hashnode in Grok Bot

These are prompts you can paste into a Bot chat. Grok Bot maps each one to the matching Postiz commands and Hashnode settings, then asks for approval.

Post to your publication

Grok Bot chat

> Publish ./posts/why-ai-agents.md to my
  Hashnode publication with tags AI Agents
  and Developer Tools, Thursday 10am

Grok Bot: publication and tag IDs resolved via
  integrations:settings. Scheduled Thursday
  10:00 AM. Approve?

Cover image and subtitle

Grok Bot chat

> Add ~/covers/oss.png as the cover and use
  "What we learned in year two" as the subtitle

Grok Bot: main_image uploaded, subtitle set.

Canonical cross-post

Grok Bot chat

> Cross-post the article to Hashnode with the
  canonical URL pointing to our blog

Grok Bot: canonical set. Ready to schedule.

Hashnode rules Grok Bot follows

Grok Bot reads the Hashnode rules from postiz integrations:settings before scheduling. These are the ones that most often change what gets published.

  • ✓publication is required. Grok Bot fetches your Hashnode publications with postiz integrations:settings and uses the ID.
  • ✓At least one tag is required and tags are passed by Hashnode tag ID, not free text. The Bot resolves tag IDs for you.
  • ✓title must be at least 6 characters; subtitle, if used, at least 2. The Bot asks when a title is too short.
  • ✓Cover images (main_image) must be uploaded through postiz upload first.

Grok Bot and Hashnode: frequently asked questions

How do I publish to Hashnode from Grok Bot?

Add the Postiz plugin with /add-plugin postiz and store your POSTIZ_API_KEY as a Bot secret. Give the Bot a draft. It resolves your publication and tag IDs with postiz integrations:settings, sets title and subtitle, uploads a cover image, and schedules through Postiz. You approve before publishing.

Why does Hashnode need tags and a publication when Grok Bot posts?

Hashnode's API requires a publication ID and at least one tag on every post. Grok Bot handles both: it fetches your publications and the tag catalog from Postiz, maps the names you used to IDs, and fills the required fields. Without them the post is rejected.

Can Grok Bot set a canonical URL on Hashnode posts?

Yes. Tell the Bot the article was first published on your blog and it sets the canonical field to that URL. Hashnode adds the canonical link so search engines credit the original, which makes Hashnode a safe place to syndicate content.

Can Grok Bot add a cover image to Hashnode posts?

Yes. Point the Bot at an image and it uploads it through postiz upload, then sets main_image with the returned id and path. Hashnode shows the cover on the post and in your publication feed. Raw paths and external URLs are not accepted by Postiz.

Can Grok Bot publish to Hashnode on a weekly routine?

Yes. Save a routine that turns the newest draft in a folder on the Bot's cloud computer into a Hashnode post each week. The Bot resolves publication and tags, schedules through Postiz, and sends you the draft for approval so a human stays in the loop.

Related Grok Bot guides

Start at the Grok Bot social media plugin overview for setup, routines, and the full platform list, or read what Postiz supports on the Hashnode channel page.

Not using Grok Bot? Postiz works with any AI agent, including over the Postiz MCP server. See pricing for the free trial and plan limits.

Start publishing to Hashnode

Install Postiz Agent and automate your Hashnode content strategy with AI-powered scheduling and publishing.