AvantGuard - WebhookSite icon

AvantGuard - WebhookSite

AvantGuard - WebhookSite

Actions100

Overview

The "Get Articles" operation of the Articles resource retrieves a list of articles from an external service. It supports filtering and pagination through various query parameters, allowing users to fetch articles based on criteria such as article name, company ID, draft status, sharing status, slug, search terms, update timestamps, and more.

This node is useful in scenarios where you want to programmatically access and process articles stored in a content management system or knowledge base. For example, you could use it to:

  • Fetch all publicly shared articles updated within a specific date range.
  • Retrieve draft articles for review or editing workflows.
  • Search articles by keywords or filter by company association.
  • Paginate through large sets of articles to synchronize them with another system.

Properties

Name Meaning
Additional Query Parameters Optional filters and controls for the request. Includes:
- Name: Filter by article name (string)
- Company Id: Filter by company ID (number)
- Page: Page number for paginated results (number)
- Draft: Filter by draft status (boolean)
- Enable Sharing: Filter by public/shared articles (boolean)
- Page Size: Number of results per page (number)
- Slug: Filter by URL slug (string)
- Search: Filter by search query (string)
- Updated At: Filter articles updated within a time range or exact timestamp. Format: 'start_datetime,end_datetime' in ISO 8601 (string)

Output

The node outputs JSON data representing the retrieved articles. The structure typically includes an array of article objects, each containing fields such as article name, company ID, draft status, sharing status, slug, update timestamps, and other metadata as provided by the external API.

If the external service supports binary data related to articles (e.g., attachments), the node would handle that accordingly, but based on the provided code and properties, the output focuses on JSON article data.

Dependencies

  • Requires an API key or authentication token configured in n8n credentials to access the external Articles service.
  • The base URL for the API is set dynamically from the credential configuration.
  • Uses HTTP headers to accept and send JSON content.

Troubleshooting

  • Empty Results: If no articles are returned, verify that your query parameters are correct and that articles matching those filters exist.
  • Authentication Errors: Ensure the API key or authentication token is valid and has sufficient permissions.
  • Invalid Date Format: The updated_at parameter must be in ISO 8601 format; incorrect formatting may cause errors or no results.
  • Pagination Issues: If expecting multiple pages, ensure the page and page_size parameters are set correctly to navigate through results.
  • Network or API Errors: Check connectivity and API endpoint availability; also confirm the base URL is correctly configured in credentials.

Links and References

Discussion