ChatWoot icon

ChatWoot

Interact with ChatWoot API

Actions113

Help Center → Add New Article To Account

AI-generated

Overview

This node operation allows you to add a new article to a Help Center account within a specified portal. It is useful for automating the creation and management of knowledge base articles, FAQs, or support documentation directly from your workflows. For example, you can use this node to programmatically publish new help articles when certain triggers occur, such as after a customer support ticket is resolved or when new product information becomes available.

Properties

Name Meaning
Account Id The numeric ID of the account where the article will be added.
Portal Id The Portal ID parameter identifying the Help Center portal.
Content The main text content of the article.
Meta JSON object used for search optimization, including tags, title, and description of the article.
Position Numeric position of the article within its category (used for ordering).
Status Numeric status code representing the article's publication state (e.g., draft, published).
Title The title of the article.
Slug URL-friendly string identifier for the article.
Views Number of views the article has received (can be set initially).
Author Id Numeric ID of the author who created the article.
Category Id Numeric ID of the category under which the article is classified.
Folder Id Numeric ID of the folder containing the article.
Associated Article Id Numeric ID of another article to associate with this one, e.g., for linking related articles.

Output

The node outputs a JSON object representing the newly created article in the Help Center. This typically includes all the properties sent during creation along with any additional metadata returned by the API, such as unique article identifiers or timestamps. There is no binary data output.

Dependencies

  • Requires an active connection to the Help Center API.
  • Needs an API authentication token or key configured in n8n credentials to authorize requests.
  • The base URL for the API must be set correctly in the node’s credential configuration.

Troubleshooting

  • Missing Required Fields: Ensure that Account Id and Portal Id are provided and valid numeric values; these are mandatory.
  • Invalid JSON in Meta: The Meta property expects a valid JSON string. Invalid JSON will cause errors; validate the JSON format before input.
  • API Authentication Errors: If authorization fails, verify that the API key or token is correctly configured and has sufficient permissions.
  • Incorrect IDs: Using invalid or non-existent IDs for account, portal, category, author, etc., may result in API errors or failure to create the article.
  • Status Codes: Check the meaning of the status number used; incorrect status codes might prevent publishing or proper handling of the article.

Links and References

  • Refer to your Help Center API documentation for detailed information on article creation endpoints and field definitions.
  • JSON validation tools can help ensure the Meta property is correctly formatted before submission.

Discussion