Creating Articles
Article Structure
Every article requires:- Title - Clear, descriptive heading
- Content - Main article body with rich formatting
- Author - User creating the article
- Portal - Parent Help Center portal
Optional Fields
- Description - Short summary (used for meta tags and search previews)
- Category - Organizational grouping
- Slug - Custom URL identifier (auto-generated if not provided)
- Locale - Language code (inherited from category or portal)
- Meta - Custom JSON metadata
Article Status Lifecycle
Draft (Status: 0)
Articles start as drafts. They are only visible to team members and won’t appear on the public portal.
- Work-in-progress content
- Articles pending review
- Content preparation before launch
Published (Status: 1)
Published articles are visible to all customers on your Help Center portal.
- Appear in search results
- Show in category listings
- Increment view counts when accessed
- Are indexed by the full-text search
Archived (Status: 2)
Archive articles that are:- Outdated or superseded
- Temporarily irrelevant
- Historical reference material
Writing Article Content
Rich Text Formatting
Articles support full HTML and Markdown:Automatic Features
Table of Contents
Table of Contents
The portal automatically generates a table of contents from
<h1>, <h2>, and <h3> tags in your article.Each heading gets:- A unique slug-based ID
- A permalink anchor (
#link) - An entry in the sidebar TOC
External Link Handling
External Link Handling
External links automatically open in new tabs with security attributes:Internal links (same domain, custom domain, or host URL) open normally.
View Tracking
View Tracking
Each article view increments the view counter:Use view counts to identify popular content and areas needing improvement.
Article Organization
Positioning
Articles have aposition field for manual ordering within categories:
Updating Positions
Reorder articles using the position update API:Sorting Options
Articles can be sorted by:position(default within categories)updated_at(most recently modified)views(most popular)
Multi-language Articles
Associated Articles
Create translations by linking articles:Locale Handling
Article locales are automatically set:Articles inherit locale from their category. If no category is assigned, they use the portal’s default locale.
Searching Articles
Full-text Search
Articles use PostgreSQL’s full-text search with weighted ranking:Search Filters
Combine search with filters:API Search Endpoint
Article Slugs
Auto-generation
Slugs are automatically created from titles:Best Practices
Content Structure
Content Structure
- Use clear, descriptive titles
- Break long content into sections with headings
- Start with a brief introduction
- Use bullet points and numbered lists
- Add images to illustrate complex steps
SEO Optimization
SEO Optimization
- Write unique descriptions for each article
- Use relevant keywords in titles and headings
- Keep slugs concise and descriptive
- Structure content with proper heading hierarchy
Maintenance
Maintenance
- Review article view counts regularly
- Update articles when product features change
- Archive outdated content instead of deleting
- Link related articles for better navigation
Multi-language Strategy
Multi-language Strategy
- Translate high-traffic articles first
- Maintain consistent structure across locales
- Use associated_article_id to link translations
- Ensure categories exist for all target locales

