blog-post

Custom n8n node for posting blogs to API endpoints with Bearer token authentication

Package Information

Downloads: 4 weekly / 26 monthly
Latest Version: 1.0.0

Documentation

n8n Blog Post Node

A custom n8n node for posting blog content to the kepha14.dev API.

Features

  • Post blog content with all required fields
  • Support for optional fields (excerpt, cover image, tags, category, SEO metadata)
  • Bearer token authentication
  • Error handling with continue on fail option

Installation

  1. Install dependencies:
npm install
  1. Build the node:
npm run build
  1. Link the package to n8n:
npm link
  1. In your n8n installation directory, link the package:
npm link n8n-nodes-blog-post
  1. Restart n8n to load the custom node.

Usage

Setting Up Credentials

Before using the Blog Post node, you need to create credentials:

  1. In n8n, go to CredentialsAdd Credential
  2. Search for Blog API and select it
  3. Fill in the following fields:
    • API URL: The endpoint URL
    • Secret: Your Bearer token for API authentication
  4. Save the credentials

Using the Node

The Blog Post node allows you to:

  • Set blog post title and slug (required)
  • Add full content (required)
  • Optionally add excerpt, cover image, tags, category
  • Set SEO metadata (meta title, meta description)
  • Specify author email
  • Configure published status

Node Parameters

Required Fields

  • Title: The title of the blog post
  • Slug: URL-friendly slug for the blog post
  • Content: Full blog post content
  • Credentials: Blog API credentials (configured separately)

Optional Fields

  • Excerpt: Short excerpt or summary
  • Cover Image URL: URL of the cover image
  • Published: Whether the blog post should be published (default: true)
  • Tags: Array of tags for the blog post
  • Category: Category of the blog post
  • Meta Title: SEO meta title
  • Meta Description: SEO meta description
  • Author Email: Email of the author

Credentials

The node requires Blog API credentials with:

  • API URL: The API endpoint URL (e.g., `)
  • Secret: Bearer token for authentication

Development

# Watch mode for development
npm run dev

# Build for production
npm run build

# Lint code
npm run lint

# Format code
npm run format

License

MIT

Discussion