Connect Hashnode to your Wiro AI agent
Draft and publish posts on your Hashnode publication.
Overview
What Hashnode does for your agent
Hashnode's API has worked only for blogs on Hashnode Pro since May 13, 2026, so the blog behind the saved token and address must be on Pro. The agent writes Markdown drafts with tags, a cover, a series and SEO fields, publishes them or edits live posts, hands drafts to a team blog's editors when the account is only a contributor, and reads the views, reactions and comments on published posts. Deleting a post or a draft stays in the Hashnode dashboard.
Use cases
What your Wiro agent can do with Hashnode
- 01
Turn an outline into a Hashnode draft with SEO fields and a cover
Share an outline or rough notes in Chat. The agent writes the post in Markdown with sections, adds tags, a cover image link, an SEO title and a meta description, places it in one of your series and saves it as a draft with its editor link, so you can review it in Hashnode.
- 02
Republish articles that first ran elsewhere and keep their search credit
When an article first ran on another site, the agent publishes it on Hashnode with its original date and the address where it first appeared, so search engines credit the first version. Such posts can stay out of Hashnode's feeds if you ask, while remaining reachable by their link.
- 03
Publish approved drafts, with the newsletter only when you want it
Once you approve a draft in Chat, the agent publishes it on your blog and returns the live link. Hashnode can email your newsletter subscribers when a post goes live, and the agent turns that on only for the posts you say should go out by email.
- 04
Monthly stats for your Hashnode blog
On the first of each month a Scheduled Task lists your published posts with views, reactions, comments and replies, and sends a summary of which topics and series drew readers. Hashnode reports lifetime numbers, so the agent compares them with the figures it noted the month before.
- 05
Correct a code sample in a live post
Ask the agent to fix a snippet or add an update note to a published post. It reads the current Markdown, changes only the part you named and saves the post. Readers see the fix as soon as it is saved, which is why the save waits for your approval when you ask in Chat.
- 06
Write for a team blog and hand drafts to its editors
On a team blog where you are a contributor, the agent writes the draft and submits it to the blog's editors for review. With the Owner or Editor role on that blog, it can publish the post itself after you approve.
How it works
How Hashnode works with Wiro
- 01
Connect Hashnode
Deploy an agent, open its Connectors tab, choose Hashnode and paste what the Connect dialog asks for.
- 02
Choose what each action may do
Set each Hashnode action to Allow, Ask or Block, in Chat and in Scheduled Tasks. By default, read-only actions run, and the rest ask first in Chat.
- 03
Ask in Chat or schedule it
Ask your agent for Hashnode work in Chat, or put it on a Scheduled Task that runs on its own.
- Where it runsInside your agent. Its requests go straight from the agent to Hashnode.
- Where its data goes
gql-beta.hashnode.com - How it signs inPaste a key. It is stored encrypted and never shown again.
Is my feature flags draft ready to go live? If the tags, cover and SEO fields are all set, publish it.
Feature flags without the mess was ready: 1,860 words, a cover image, the tags devops, testing and release-management, an SEO title and meta description, and a place in your Shipping Safely series. You confirmed, so it is now live on the Tinroof Engineering blog, and Hashnode removed the draft.
What it can do
Actions your Wiro agent can take in Hashnode
By default, read-only actions run, and the rest ask first in Chat and run in Scheduled Tasks. Each agent can set any action to Allow, Ask or Block.
Read-only 8 actions
Looks things up in Hashnode and changes nothing.
Get the Hashnode blog
Finds the blog at the saved address: its ID, title, URL and whether it is a team blog.
Chat AllowScheduled Tasks Allow
List my Hashnode blogs
The token's own account and the blogs it owns, with their IDs and URLs: to find the right blog address when the saved one is not found.
Chat AllowScheduled Tasks Allow
List Hashnode posts with stats
The blog's published posts, newest first, with views, reactions, comments and replies.
Chat AllowScheduled Tasks Allow
List my Hashnode drafts
The token account's own drafts on the blog, newest first, with their editor links (they open for a signed-in member of the blog).
Chat AllowScheduled Tasks Allow
Read a Hashnode draft
One draft with its Markdown, tags, cover, series, SEO fields and editor link: to show it before publishing or to edit it.
Chat AllowScheduled Tasks Allow
Read a Hashnode post
One published post, by its slug on the blog (the last part of its URL) or by its ID: stats, tags, cover, series and its Markdown.
Chat AllowScheduled Tasks Allow
List the Hashnode blog's series
The blog's series with their IDs.
Chat AllowScheduled Tasks Allow
Run a Hashnode GraphQL query
Any other read of Hashnode's GraphQL API, with the connected token, such as a tag, a user.
Chat AllowScheduled Tasks Allow
Create and send 2 actions
Creates or sends something new in Hashnode, such as a post, a message or an email.
Save a Hashnode draft
Saves a post as a draft on the blog; nothing becomes public.
Chat AskScheduled Tasks Allow
Publish a Hashnode post now
Publishes a new post on the blog in one step, with no draft: it is live at once.
Chat AskScheduled Tasks Allow
Change and delete 5 actions
Changes or deletes what is already in Hashnode.
Edit a Hashnode draft
Changes a draft.
Chat AskScheduled Tasks Allow
Publish a Hashnode draft
Publishes a saved draft: Hashnode turns it into a live post on the blog and removes the draft.
Chat AskScheduled Tasks Allow
Edit a published Hashnode post
Changes a published post live, at once.
Chat AskScheduled Tasks Allow
Send a Hashnode draft for review
On a team blog where this account is a contributor (it cannot publish), hands a draft to the blog's editors for review.
Chat AskScheduled Tasks Allow
Run a Hashnode GraphQL mutation
Any other change through Hashnode's GraphQL API, with the connected token, such as rejecting a submitted draft.
Chat AskScheduled Tasks Allow
How to connect
Connect Hashnode to Wiro
Open the agent's Connectors tab, choose Hashnode and paste what it asks for. Values are stored encrypted and never shown again.
What the Connect dialog asks for
| Field | About |
|---|---|
| Personal Access TokenRequired | Publish to your own Hashnode blog with your Personal Access Token. Posts are saved as drafts first and go live only when you say publish. Hashnode Pro is required. Since May 13, 2026, Hashnode's API works only for blogs on Hashnode Pro ($5 a month or $50 a year, per seat), for reading and publishing alike. Upgrade in your blog dashboard under Billing → Upgrade to Pro; the API works as soon as checkout succeeds.
The token is free and acts as your account on every blog you belong to: it can publish, edit and delete posts, so keep it private. To cut access, revoke it on the same Developer page. |
| Blog AddressRequired | The address of the Hashnode blog to publish to, exactly as your browser shows it, without
The account behind the token must be a member of this blog, and the blog must be on Hashnode Pro. |
Troubleshooting
Troubleshooting Hashnode
What to check when Hashnode stops working for your agent.
- An invalid or expired key If Hashnode refuses the key, for example after it was deleted or expired, the agent's Hashnode actions fail. Create a new key in Hashnode, then open the agent's Connectors tab, choose Hashnode and paste it in place of the old one.
- Limits set by Hashnode Hashnode limits how much an account can do, such as how many requests it takes in a minute. An action over a limit fails until the limit resets: wait and ask again, or check your Hashnode plan.
For developers
Connect Hashnode from your own product
Every call is a POST to the Wiro API with your project's API key. On a sign-in, your customers see your own app's name.
- 01
Read the connector
Detail answers without a session: what the connector needs and the tools it gives an agent.
POST /AgentConnector/Detail { "slug": "hashnode" }Response { "result": true, "errors": [], "agentconnectors": [ { "slug": "hashnode", "title": "Hashnode", "category": "content", "authtype": "fields", "credentialfields": [ { "name": "token", "label": "Personal Access Token", "required": true, "secret": true, "format": "password" }, { "name": "publicationhost", "label": "Blog Address", "required": true, "secret": false, "format": "text" } ], "tools": [ { "name": "get_blog", "readonly": true }, { "name": "list_my_blogs", "readonly": true } ] } ] } - 02
Connect with the values
Send what the person typed in your form. A value you leave out keeps what the connection holds; an empty one clears it.
POST /UserAgent/ConnectorConnect { "useragentguid": "YOUR_AGENT_GUID", "slug": "hashnode", "values": { "token": "YOUR_SECRET", "publicationhost": "YOUR_PUBLICATIONHOST" } }Response { "result": true, "errors": [], "status": "connected", "applied": 1, "restart": "scheduled" } - 03
Read the status
connected, pending (a sign-in not finished), reauth (sign in again) or error. Values and tokens never come back.
POST /UserAgent/ConnectorList { "useragentguid": "YOUR_AGENT_GUID" }Response { "result": true, "errors": [], "useragentconnectors": [ { "slug": "hashnode", "title": "Hashnode", "authtype": "fields", "status": "connected", "accounts": {}, "savedvariables": [ "publicationhost", "token" ], "lasterror": null } ] } - 04
Disconnect
Revokes a sign-in where the vendor allows it, deletes what the connection holds and removes the connector from the running agent.
POST /UserAgent/ConnectorDisconnect { "useragentguid": "YOUR_AGENT_GUID", "slug": "hashnode" }Response { "result": true, "errors": [], "removed": true, "revoked": false, "restart": "scheduled" }
Questions
Hashnode and Wiro FAQ
What can a Hashnode AI agent do on my blog?
It saves posts as drafts, edits and publishes them, or publishes a new post in one step when you ask. It sets tags, a cover image, a series, an SEO title and description, a table of contents and the original address of a cross-post. It lists your published posts with views, reactions and comments, reads drafts and posts in Markdown, and on a team blog can hand a draft to the editors.
Do I need Hashnode Pro to connect it?
Yes. Since May 13, 2026, Hashnode's API works only for blogs on Hashnode Pro, for reading as well as publishing. Upgrade from Billing in your blog dashboard, and the API works as soon as checkout succeeds. The Personal Access Token itself is free, and the connector adds nothing to the price of your agent plan.
How do I connect Hashnode to an AI agent?
In Hashnode, open Account Settings, then Developer, and click Generate new token. On your agent's Connectors tab, choose Hashnode, paste the token without the word Bearer and enter your blog's address as your browser shows it, without https and without a slash at the end. A custom domain works too. If you would rather stay in Chat, ask the agent to add Hashnode and fill in the card it shows.
Can the agent post to a Hashnode team blog?
Yes, when the account behind the token is a member of that blog and the blog is on Hashnode Pro. With the Owner or Editor role the agent can publish there; as a Contributor, its drafts go to the blog's editors for review.
Will it publish to Hashnode without my approval?
Drafts the agent saves stay out of public view until they are published. When you ask for a post in Chat, the agent saves, edits or publishes it only after you approve the card it shows, while reading posts and stats happens straight away. Those are the defaults: a Scheduled Task may act without a card, and you can hold any single action to Ask or Block there. Newsletter emails go out only for posts where you asked the agent to turn them on.
Where is my Hashnode token kept?
Your token is saved in encrypted form, and the model behind the agent cannot read it. It acts as your account on every Hashnode blog you belong to, so keep it private. Revoking it on Hashnode's Developer settings page ends the agent's access; remove the connection from the Connectors tab as well.
Can the agent delete Hashnode posts?
Deleting stays with you: the agent writes, edits and publishes, while removing a post or a draft is done in your Hashnode dashboard. That way nothing on your blog disappears by mistake.
Do I need to run a Hashnode MCP server?
No. Hashnode publishing works as soon as the token and blog address are saved: the connector lives inside your agent and talks to Hashnode's GraphQL API directly. That is all it takes to automate Hashnode posting from Chat or from Scheduled Tasks.
Access
Revoke Hashnode access
Disconnect it on the agent's Connectors tab at any time; the keys or sign-in it holds are deleted.
Related connectors
More content connectors for your Wiro agent
Qiita
Draft and publish articles on Qiita.
WordPress
Write, schedule and publish posts and media on your WordPress site.
GitBook
Read and edit the spaces and pages of your GitBook docs.
HackMD
Create, read and edit notes in HackMD.
beehiiv
Newsletter posts and subscribers on beehiiv.
Blogger
Write, schedule and publish posts on your Blogger blogs.
Put Hashnode to work with Wiro
Deploy an agent and connect Hashnode from its Connectors tab. Every agent plan includes it: Starter $5, Pro $30 and Max $100 a month.