Skip to main content
Hashnode logo
  • Category: developer tools
  • Auth: API_KEY
  • Composio-managed OAuth available? N/A
  • Tools: 67
  • Triggers: 0
  • Slug: HASHNODE
  • Version: 20261101_00

Tools

Slug: HASHNODE_ACCEPT_INVITE_TO_PUBLICATIONTool to accept a publication invitation. Use when you have a valid invite token and want to join the publication.

Input Parameters

string
required
Invitation token to accept.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_ADD_COMMENTAdd a comment to a Hashnode post. Requires a valid post ID (obtainable via HASHNODE_FETCH_STORIES_FEED or HASHNODE_FETCH_POSTS) and markdown content. For replying to existing comments, use the HASHNODE_ADD_REPLY action instead.

Input Parameters

string
required
Unique identifier of the post to which the comment will be added.
string
required
Markdown-formatted content of the comment. This field is required by the Hashnode API. Supports standard markdown syntax including bold, italic, and links.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_ADD_CONTENT_BLOCKTool to add a content block to a Hashnode documentation project. Use when you need to add embeddable content (such as code snippets, widgets, or other custom content) to a documentation project.

Input Parameters

string
required
Label or title for the content block. This helps identify the purpose of the content block. Must be no more than 20 characters.
string
required
The actual content of the block. Can be text, HTML, or other embeddable content depending on the embed type.
string
required
Unique identifier for the embed. Used to identify this specific content block.
string
required
The documentation project ID where the content block will be added.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_ADD_CUSTOM_MDX_COMPONENTTool to add a custom MDX component to a Hashnode documentation project. Use when you need to register a new reusable React component that can be used in MDX content. Requires a project ID, component identifier, and the JavaScript/React code defining the component.

Input Parameters

string
required
The JavaScript/React code that defines the custom MDX component. Should be a valid function or component definition.
string
required
Unique identifier of the documentation project where the custom MDX component will be added. Obtain this via project-related actions.
string
required
The unique identifier for the custom MDX component. This will be used to reference the component in MDX content.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_ADD_DOCUMENTATION_PROJECT_CUSTOM_DOMAINTool to add a custom domain to a Hashnode documentation project. Use when setting up custom domain mapping for documentation sites. Requires projectId, domain name, and wwwDomain boolean flag.

Input Parameters

string
required
The custom domain to add to the documentation project. Must be a valid domain name (e.g., ‘docs.example.com’ or ‘docs.mybrand.com’). For subdomains, set wwwDomain to false.
string
required
Unique identifier of the documentation project to which the custom domain will be added.
boolean
required
Whether to include www subdomain redirect (e.g., www.docs.example.com -> docs.example.com). Set to False for subdomains as the API does not allow www redirect with subdomain configurations.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_ADD_REPLYTool to add a reply to an existing comment. Use after confirming comment ID and reply content.

Input Parameters

string
required
The globally unique ID of the comment to which this reply will be added
string
required
The Markdown-formatted text of the reply

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_CHECK_CUSTOM_DOMAIN_AVAILABILITYTool to check if a custom domain is available for your Hashnode publication. Use when verifying domain mapping before setup.

Input Parameters

string
required
The custom domain to check for availability. Must be a valid domain name (e.g., ‘myblog.com’ or ‘blog.example.com’). Cannot end with ‘.hashnode.com’. Allowed characters: alphanumeric and hyphens in each segment.
boolean
Whether to enable automatic www redirect (e.g., www.myblog.com -> myblog.com). Set to True only for apex/root domains (e.g., ‘myblog.com’). Must be False for subdomains (e.g., ‘blog.example.com’) as the API does not allow www redirect with subdomains.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_CHECK_SUBDOMAIN_AVAILABILITYTool to check if a subdomain is available for a Hashnode publication. Use when verifying subdomain availability before creating a publication.

Input Parameters

string
required
The subdomain to check for availability on Hashnode (e.g., ‘my-blog’, ‘tech-articles’). This will be used as part of the publication URL (subdomain.hashnode.dev). Must contain only lowercase letters, numbers, and hyphens.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_CREATE_DOCUMENTATION_API_REFERENCETool to create a documentation API reference from an OpenAPI specification URL in a Hashnode project. Use when you need to import and generate API documentation from a Swagger/OpenAPI spec. Requires projectId and the URL of the API specification.

Input Parameters

string
required
The URL of the API reference specification (e.g., OpenAPI/Swagger JSON or YAML file). Must be a publicly accessible URL.
string
Optional name for the API reference. If not provided, Hashnode will generate one from the API spec.
string
Optional custom URL slug for the API reference. If not provided, Hashnode will generate one from the name. Must be unique within the project.
string
required
The unique identifier of the documentation project where the API reference will be created.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_CREATE_DOCUMENTATION_PROJECTTool to create a new documentation project on Hashnode. Use when you need to set up a documentation site for API references, product guides, or developer documentation. Requires a unique name and subdomain.

Input Parameters

string
required
Name of the documentation project. This will be the display name for your documentation site.
External links configuration for the documentation project.
string
URL for the logo image to display on the documentation site. Should be a publicly accessible image URL.
object
Settings configuration for the documentation project.
string
required
Subdomain for the documentation project (e.g., ‘my-docs’ will create my-docs.hashnode.dev). Must be unique across Hashnode.
string
URL for the favicon to display in browser tabs. Should be a publicly accessible image URL (typically .ico or .png).
string
Description of the documentation project. This will be shown in metadata and search results. Must be no more than 160 characters.
string
URL for the logo to display when dark theme is active. Should be a publicly accessible image URL optimized for dark backgrounds.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_CREATE_DOCUMENTATION_SECTIONTool to create a new documentation section in a Hashnode documentation guide. Use when you need to add a new section to an existing documentation guide within a project.

Input Parameters

string
The URL slug for the documentation section. If not provided, Hashnode will generate one from the label.
string
The display label for the documentation section. This is the human-readable name shown in the documentation.
string
required
The slug of the documentation guide where the section will be added. This identifies the specific guide within the project.
string
required
The unique identifier of the documentation project where the section will be created.
string
The version slug for the documentation section. Used when working with versioned documentation.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_CREATE_HASHNODE_DOCUMENTATION_GUIDETool to create a new documentation guide in a Hashnode documentation project. Use when you need to create a new guide within an existing project. Requires a valid projectId and a name for the guide.

Input Parameters

string
required
Name of the documentation guide. This will be displayed as the title of the guide.
string
required
Unique identifier of the documentation project where the guide will be created. This is the parent project that will contain the guide.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_DELETE_CONTENT_BLOCKTool to delete a content block from a Hashnode documentation project. Use when you need to remove a custom content block from a project. This action is destructive and cannot be undone.

Input Parameters

string
required
The unique identifier of the content block to delete.
string
required
The ID of the documentation project from which to delete the content block.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_DELETE_CUSTOM_MDX_COMPONENTTool to delete a custom MDX component from a Hashnode documentation project. Use when removing an existing custom component that is no longer needed. This action is destructive and cannot be undone.

Input Parameters

string
required
The ID of the documentation project from which to delete the custom MDX component.
string
required
The ID of the custom MDX component to delete.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_DISABLE_DOCUMENTATION_PROJECT_AI_SEARCHTool to disable AI search for a documentation project on Hashnode. Use when you need to turn off AI-powered search capabilities for a specific documentation project.

Input Parameters

string
required
Unique identifier of the documentation project to disable AI search for.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_FETCH_INVITATIONSFetch a page of pending invitations for a Hashnode publication. A missing publication or missing invitation data can also produce an empty invitation list.

Input Parameters

string
Publication ID (ObjectId). Cannot be used together with host.
string
Publication host/subdomain (e.g., ‘blog.example.com’). Cannot be used together with id.
integer
Page number to return. Defaults to 1.
integer
Number of pending invites per page. Defaults to 20, max 20.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_FETCH_POSTSTool to fetch a paginated list of posts from a publication. Use when you need to list posts page by page for a given publication host.

Input Parameters

string
required
Hostname of the publication (e.g., ‘blog.developerdao.com’).
string
Cursor from a previous page (endCursor) to fetch the next set of posts.
integer
Maximum number of posts to return in this page (must be >=1).

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_FETCH_SERIES_POSTSTool to fetch posts from a series within a publication. Use when retrieving and paginating through series posts in a specific publication.

Input Parameters

string
Cursor for pagination to fetch the next page of posts
integer
Number of posts to fetch (default: 10, minimum: 1)
string
required
Slug of the series within the publication
string
ID of the publication. Either publication_id or publication_host must be provided.
string
Hostname of the publication (e.g., ‘blog.developerdao.com’). Either publication_host or publication_id must be provided.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_FETCH_SINGLE_ARTICLETool to fetch a single article by slug from a publication. Use when you need the detailed content of a specific post.

Input Parameters

string
required
Hostname of the publication (e.g., ‘blog.developerdao.com’). Cannot be empty.
string
required
URL-friendly identifier (slug) of the post within the publication. A slug is typically a hyphenated version of the post title found in the post’s URL. Use HASHNODE_FETCH_POSTS to discover available post slugs first.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_FETCH_STORIES_FEEDFetch a paginated feed of stories from Hashnode. Returns posts with title, brief, author info, tags, and reading time. Supports filtering by feed type (RECENT, FEATURED, FOLLOWING, etc.), reading time range, and tags. Use cursor-based pagination via the ‘after’ parameter with the endCursor from previous responses.

Input Parameters

string
Cursor to the last item from a previous page.
integer
required
Number of posts to return per page (1-50). Recommended: 10-20 for typical use cases.
object
Filters to apply when fetching the home feed.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_FETCH_USER_DETAILSTool to fetch detailed user profile information by username. Use when you need public or authorized profile data.

Input Parameters

string
required
Username of the user to fetch details for.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_FOLLOW_TAGSFollow specified tags to customize your content feed on Hashnode. Use when you want to subscribe to content from specific tags to personalize your feed.

Input Parameters

array
required
List of tag IDs to follow. Tag IDs can be obtained from actions like HASHNODE_POPULAR_TAGS or by querying tags.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_GEN_DOC_PROJECT_PREVIEW_AUTH_TOKENTool to generate a JWT authorization token for previewing a documentation project. Use when you need to obtain a JWT to access a documentation project preview. Requires a preview token that must be generated first using the generateDocumentationProjectPreviewToken mutation.

Input Parameters

string
required
A preview token that must be generated first using the generateDocumentationProjectPreviewToken mutation. This token is used to generate the JWT authorization token for previewing the documentation project.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_GET_DOCUMENTATION_PROJECTTool to fetch details of a Docs by Hashnode project by ID or hostname. Use when you need metadata for a documentation project. Provide either project ID or host domain.

Input Parameters

string
Unique identifier of the documentation project. Provide either id or host.
string
Documentation project hostname (e.g., ‘docs.hashnode.com’). Do not include protocol (https://). Provide either id or host.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_GET_POSTTool to retrieve a published post by ID from Hashnode. Use when you need to fetch detailed information about a specific post for rendering or displaying.

Input Parameters

string
required
The ID of the post to retrieve.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_GET_PUBLICATION_BY_ID_OR_HOSTTool to fetch publication details by ID or hostname. User can provide either publication ID or host. Use when you need metadata for a given publication. Returns comprehensive publication information including author, title, description, and configuration.

Input Parameters

string
The ID of the publication. Either id or host must be provided.
string
The hostname of the publication (e.g., ‘engineering.hashnode.com’ or ‘username.hashnode.dev’). Do not include protocol (https://). Either id or host must be provided.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_GET_TAGTool to fetch detailed information about a tag by its slug. Use when you need tag metadata, follower/post counts, or logo information.

Input Parameters

string
required
The tag’s unique identifier slug.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_LIKE_COMMENTTool to like a comment on Hashnode. Use when you have a comment ID and want to add a like to that comment.

Input Parameters

string
required
The unique identifier of the comment to like. Obtain this from comment responses or when listing comments on a post.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_LIKE_POSTTool to like a post on Hashnode. Use when you want to add a like/reaction to a specific post. Requires a valid post ID.

Input Parameters

string
required
Unique identifier of the post to like. Obtain this via HASHNODE_FETCH_POSTS or HASHNODE_FETCH_SINGLE_ARTICLE actions.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_LIKE_REPLYLike a reply on Hashnode using the reply ID and its parent comment ID.

Input Parameters

string
required
ID of the reply to like.
string
required
ID of the parent comment containing the reply to like.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_LIST_PUBLICATIONSList a page of the authenticated user’s publications, including publication hostnames and pagination information. Use the cursor to fetch subsequent pages.

Input Parameters

string
Cursor from a previous page (endCursor) to fetch the next set of publications.
integer
Maximum number of publications to return in this page (1-50).
array
Deprecated: Hashnode no longer supports filtering this connection by role. Leave unset.
string
Deprecated: Hashnode no longer supports sorting this connection. Leave unset.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_LIST_TOP_COMMENTERSTool to fetch users who have most actively participated in discussions by commenting in the last 7 days. Use when you need to identify top contributors or most engaged users.

Input Parameters

string
Cursor from a previous page (edges.cursor) to fetch the next set of commenters.
integer
required
Number of top commenters to return (must be between 1 and 10).

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_MAP_DOC_PROJECT_CUSTOM_DOMAIN_WWW_REDIRECTTool to configure WWW redirect for a documentation project’s custom domain. Use when you need to enable automatic www subdomain redirection (e.g., www.docs.example.com -> docs.example.com). The project must already have a custom domain added before calling this action.

Input Parameters

string
required
The ID of the documentation project to configure WWW redirect for. The project must already have a custom domain added via addDocumentationProjectCustomDomain mutation before calling this action.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_MERetrieves profile details of the currently authenticated Hashnode user. Returns the user’s identity (id, username, name), profile info (bio, tagline, profile picture, location), social links (website, github, twitter, linkedin), engagement metrics (followers/followings count), and badges. Use this action to get user context for personalization, verify authentication, or retrieve user data for display purposes.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_MOVE_DOCUMENTATION_SIDEBAR_ITEMTool to reorder documentation sidebar items within a Hashnode guide. Use when you need to change the position of a sidebar item or move it under a different parent section. Requires the projectId, guideSlug, and itemId.

Input Parameters

string
required
The unique identifier of the sidebar item to be repositioned.
string
Optional ID of the new parent item. If provided, the item will become a child of this parent item.
integer
Optional one-based position index where the item should be moved. Must be at least 1. If not provided, the item will be moved to the end of its sibling list.
string
required
The slug identifier of the guide containing the sidebar item to move.
string
required
The unique identifier of the documentation project containing the guide.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_PUBLISH_DOCUMENTATION_API_REFERENCETool to publish a documentation API reference in a Hashnode documentation project. Use when you need to make an API reference guide publicly available. Requires a projectId and guideSlug.

Input Parameters

string
required
URL slug of the API reference guide to publish. This slug identifies the specific API reference within the documentation project.
string
required
Unique identifier of the documentation project where the API reference will be published.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_PUBLISH_POSTTool to publish a new blog post to a Hashnode publication. Use when you need to create and immediately publish an article. Requires a publicationId (obtainable via HASHNODE_LIST_PUBLICATIONS), title, and markdown content.

Input Parameters

string
Custom URL slug for the post. If not provided, Hashnode will generate one from the title. Must be unique within the publication.
array
List of tags to associate with the post. Each tag is a dictionary with ‘slug’ and ‘name’ keys. Use existing Hashnode tags for better discoverability.
string
required
Title of the post. This is the main heading that will appear at the top of the article.
string
ID of the series to add this post to. The series must already exist in the publication.
string
Subtitle or brief description of the post. Appears below the title.
string
URL of the cover image for the post. Should be a publicly accessible image URL.
string
required
Unique identifier of the publication where the post will be published. Obtain this via HASHNODE_LIST_PUBLICATIONS or GET_PUBLICATION actions.
string
required
Content of the post in Markdown format. Supports standard markdown syntax including headings, lists, code blocks, links, and images.
boolean
Set to true to disable comments on this post. Defaults to false (comments enabled).
string
Original article URL if this post was originally published elsewhere. Used for SEO to indicate the original source (canonical URL).

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_REMOVE_COMMENTTool to remove a comment from a Hashnode post. Use after confirming the comment ID. Returns the ID of the removed comment upon success.

Input Parameters

string
required
The unique ID of the comment to remove. Obtain this from the response of add_comment or when listing comments on a post.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_REMOVE_DOCUMENTATION_GUIDETool to remove a documentation guide from a Hashnode project. Use after confirming the project ID and guide slug. This action is destructive and cannot be undone.

Input Parameters

string
required
The slug of the guide to be removed.
string
required
The ID of the documentation project containing the guide to remove.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_REMOVE_DOCUMENTATION_PROJECTTool to remove a documentation project from Hashnode. This action frees the custom domain and subdomain and removes all guides and pages. Use after confirming the project ID to be deleted.

Input Parameters

string
required
The ID of the documentation project that should be removed. This will free the custom domain and subdomain and removes all guides and pages.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_REMOVE_DOCUMENTATION_PROJECT_CUSTOM_DOMAINTool to remove a custom domain from a Hashnode documentation project. Use when you need to detach a custom domain from a documentation project, reverting it to use only the Hashnode subdomain.

Input Parameters

string
required
The unique identifier of the documentation project from which to remove the custom domain. Must be a valid documentation project ID.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_REMOVE_DOCUMENTATION_SIDEBAR_ITEMTool to remove a sidebar item from a documentation guide on Hashnode. Use when you need to delete a section or page from a guide’s sidebar navigation. This action is destructive and cannot be undone.

Input Parameters

string
required
The ID of the sidebar item to remove. This can be a section or page ID.
string
required
The slug of the guide containing the sidebar item to remove.
string
required
The ID of the documentation project containing the guide.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_REMOVE_POSTTool to remove (delete) a post from Hashnode. Use after confirming the post ID to be deleted. This action is destructive and cannot be undone.

Input Parameters

string
required
Unique identifier of the post to be removed. Obtain this from HASHNODE_FETCH_POSTS, HASHNODE_FETCH_SINGLE_ARTICLE, or HASHNODE_STORIES_FEED actions.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_REMOVE_REPLYTool to remove a reply from a comment. Use after confirming comment and reply IDs. Returns the removed reply details.

Input Parameters

string
required
ID of the reply to be removed
string
required
ID of the comment containing the reply to remove

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_RENAME_DOCUMENTATION_GUIDETool to rename a documentation guide in a Hashnode project. Use when you need to update the name of an existing guide. Requires the projectId, guideSlug, and new name.

Input Parameters

string
required
The new name for the guide.
string
required
The slug of the guide to rename.
string
required
The ID of the documentation project containing the guide to rename.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_RENAME_DOCUMENTATION_SIDEBAR_ITEMTool to rename a documentation sidebar item within a Hashnode guide. Use when you need to update the display label of a sidebar item (link, page, or section). Requires the projectId, guideSlug, itemId, and new label.

Input Parameters

string
required
The new label/name for the sidebar item.
string
required
The unique identifier of the sidebar item to be renamed.
string
required
The slug identifier of the guide containing the sidebar item to rename.
string
required
The unique identifier of the documentation project containing the guide.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_RESTORE_POSTTool to restore a previously deleted Hashnode post. Use when you need to undo a post deletion and make the post accessible again. Requires the post ID of the deleted post.

Input Parameters

string
required
Unique identifier of the deleted post to restore. This is the post ID that was returned when the post was originally created or deleted.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_SAVE_DOCUMENTATION_PAGE_DRAFT_CONTENTTool to save draft content for a documentation page in Hashnode. Use when you need to update the content, title, or description of an existing documentation page draft. Requires pageId and projectId, along with at least one of content, title, or description.

Input Parameters

string
The title of the documentation page. This is the main heading that will appear at the top.
string
required
The unique identifier of the documentation page draft to update.
string
The markdown content of the documentation page. Supports standard markdown syntax including headings, lists, code blocks, links, and images.
string
The unique identifier of the guide this page belongs to. Provide either guideSlug or guideId.
string
The slug identifier of the guide this page belongs to. Provide either guideSlug or guideId.
string
required
The unique identifier of the documentation project containing the page.
string
The description or meta description of the page. Used for SEO and page summaries.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_SEARCH_POSTS_OF_PUBLICATIONTool to search and retrieve posts from a specific publication based on a search query. Use when you need to find posts matching specific keywords within a particular Hashnode publication. Supports pagination and sorting by publication date.

Input Parameters

string
Cursor for pagination - to fetch posts after a specific cursor from previous response.
integer
required
Number of posts to return (pagination limit, must be 1-100).
object
required
Filter criteria including publication ID and search query string.
string ("DATE_PUBLISHED_ASC" | "DATE_PUBLISHED_DESC")
Sort order options for posts.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_SUBSCRIBE_TO_NEWSLETTERTool to subscribe an email address to a Hashnode publication’s newsletter. Use when you need to add a subscriber to a publication’s mailing list. Requires a publicationId (obtainable via HASHNODE_LIST_PUBLICATIONS or GET_PUBLICATION) and a valid email address.

Input Parameters

string
required
Email address to subscribe to the newsletter. Must be a valid email format.
string
required
Unique identifier of the publication to subscribe to. Obtain this via HASHNODE_LIST_PUBLICATIONS or GET_PUBLICATION actions.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_TOGGLE_FOLLOW_USERTool to toggle follow status for a Hashnode user. If you don’t follow the user, this will follow them. If you already follow them, this will unfollow them. Use when you need to manage following relationships for the authenticated user.

Input Parameters

string
The ID of the user to toggle follow status for. Either id or username must be provided.
string
The username of the user to toggle follow status for. Either id or username must be provided.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_UNFOLLOW_TAGSUnfollow specified tags to customize your content feed on Hashnode. Use when you want to unsubscribe from content from specific tags to personalize your feed.

Input Parameters

array
required
List of tag IDs to unfollow. Tag IDs can be obtained from actions like HASHNODE_POPULAR_TAGS or by querying tags.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_UNSUBSCRIBE_FROM_NEWSLETTERTool to unsubscribe an email address from a Hashnode publication’s newsletter. Use when you need to remove a subscriber from a publication’s mailing list. Requires a publicationId (obtainable via HASHNODE_LIST_PUBLICATIONS or GET_PUBLICATION) and a valid email address.

Input Parameters

string
required
Email address to unsubscribe from the newsletter. Must be a valid email format.
string
required
Unique identifier of the publication to unsubscribe from. Obtain this via HASHNODE_LIST_PUBLICATIONS or GET_PUBLICATION actions.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_UPDATE_COMMENTTool to update an existing comment on a Hashnode post. Use after preparing updated content details.

Input Parameters

string
required
The unique ID of the comment to update. Obtain this from the response of add_comment or when listing comments on a post.
string
required
The new content for the comment in Markdown format. Supports standard Markdown syntax including bold, italic, links, code blocks, and lists.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_UPDATE_CONTENT_BLOCKUpdate an existing embeddable content block in a Hashnode documentation project. Requires the project ID, embed ID, updated label, and updated content.

Input Parameters

string
required
Updated label for the content block. Maximum length is 20 characters.
string
required
Updated content of the block. Can be text, HTML, or other embeddable content depending on the embed type.
string
required
Unique identifier of the content block to update.
string
required
The ID of the documentation project containing the content block to update.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_UPDATE_DOCUMENTATION_APPEARANCETool to update the appearance settings of a Hashnode documentation project. Use when you need to customize the look and feel of a documentation site, including logos, colors, themes, and custom scripts.

Input Parameters

string
required
The ID of the documentation project to update. Obtain this from create_documentation_project or get_documentation_project actions.
object
required
Appearance settings to update. At least one appearance field should be provided.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_UPDATE_DOCUMENTATION_GENERAL_SETTINGSUpdate the name, description, or external links of a Hashnode documentation project using its project ID.

Input Parameters

string
The name of the documentation project. Updates the display name for your documentation site.
External links configuration for the documentation project.
string
required
The ID of the documentation project to update. Obtain this from get_documentation_project or hashnode_create_documentation_project actions.
string
The description of the documentation project. This will be shown in metadata and search results.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_UPDATE_DOCUMENTATION_GUIDETool to update an existing documentation guide in a Hashnode project. Use when you need to modify the name, slug, or SEO meta tags of a guide. Requires the projectId and guideId of the guide to update.

Input Parameters

string
The new name/title for the guide. If not provided, the existing name will be preserved.
string
The new URL-friendly slug for the guide. If not provided, the existing slug will be preserved.
string
required
The ID of the documentation guide to update.
object
SEO meta tags for the documentation guide.
string
required
The ID of the documentation project containing the guide to update.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_UPDATE_DOCUMENTATION_INTEGRATIONSTool to update third-party integrations for a Docs by Hashnode project. Use when you need to configure analytics (Google Analytics, Clarity), tag management (GTM), customer support (Intercom), marketing pixels (Facebook Pixel, Hotjar), or visitor tracking (Koala) on a documentation site.

Input Parameters

string
required
The unique identifier of the documentation project to update integrations for. Obtain this from get_documentation_project or hashnode_create_documentation_project actions.
object
required
Configuration object containing the third-party integration settings to update. Provide only the integrations you want to configure; null values will remove existing integrations.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_UPDATE_DOCUMENTATION_PROJECT_SUBDOMAINTool to update the subdomain of a Hashnode documentation project. Use when you need to change the subdomain (e.g., from ‘old-docs.hashnode.dev’ to ‘new-docs.hashnode.dev’) for a documentation project.

Input Parameters

string
required
The unique identifier of the documentation project to update. Must be a valid documentation project ID.
string
required
The new subdomain for the documentation project (e.g., ‘my-docs’ will create my-docs.hashnode.dev). Must be unique across Hashnode and follow subdomain naming rules.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_UPDATE_DOCUMENTATION_SECTIONUpdate the label, slug, or visibility of a section in a Hashnode documentation guide. The only supported visibility value is PUBLIC.

Input Parameters

string
The new URL slug for the section. If not provided, the existing slug will be retained.
string
The new display label for the section. If not provided, the existing label will be retained.
string
required
The slug of the guide containing the section to update. This identifies the specific guide within the project.
string
required
The unique identifier of the documentation project containing the section to update.
string
required
The unique identifier of the section to update.
string ("PUBLIC")
Visibility setting for documentation sidebar items.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_UPDATE_POSTTool to update an existing Hashnode post via the updatePost mutation. Use when you need to modify the title, content, tags, or other attributes of an already published or drafted post.

Input Parameters

string
required
The unique ID of the post to update. Obtain this from fetch_single_article, hashnode_fetch_posts, or other post-fetching actions.
string
New slug for the post URL. If not provided, the existing slug will be retained.
array
List of tags to associate with the post. Each tag must have a slug and name.
string
New title for the post. If not provided, the existing title will be retained.
string
New subtitle for the post. If not provided, the existing subtitle will be retained.
string
Canonical URL if the post was originally published elsewhere. Helps with SEO and attribution.
string
URL of the cover image for the post. Must be a valid image URL.
string
ID of the publication to update the post under. If not provided, the post remains in its current publication.
string
New content for the post in Markdown format. Supports standard Markdown syntax including bold, italic, links, code blocks, and lists. If not provided, the existing content will be retained.
boolean
Whether to disable comments on the post. Set to true to disable, false to enable.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_UPDATE_REPLYTool to update a reply. Use when editing an existing reply to a comment after confirming the comment and reply IDs.

Input Parameters

string
required
ID of the reply to update.
string
required
ID of the comment under which the reply exists.
string
required
New content for the reply in Markdown format.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: HASHNODE_VERIFY_DOCUMENTATION_PROJECT_CUSTOM_DOMAINTool to verify a custom domain for a Hashnode documentation project. Use when you need to confirm DNS configuration and activate a custom domain that was previously added to the project.

Input Parameters

string
required
The unique identifier of the documentation project for which to verify the custom domain. Must be a valid documentation project ID.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not