> For the complete documentation index, see [llms.txt](https://docs.zbrain.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zbrain.ai/zbrain-documentation/zbrain-builder/flows/flow-components/hacker-news.md).

# Hacker News

Integrate Hacker News in ZBrain flows to fetch and utilize specific post data in order to trigger context-aware automations and workflow decisions.

#### **Hacker News Component** <a href="#hacker-news-component" id="hacker-news-component"></a>

The Hacker News is a popular cybersecurity publication for IT professionals seeking actionable insights. This component retrieves the latest top stories from Hacker News.

#### **How to Connect Hacker News Component to ZBrain Flow?** <a href="#how-to-connect-hacker-news-component-to-zbrain-flow" id="how-to-connect-hacker-news-component-to-zbrain-flow"></a>

To integrate the Hacker News component with ZBrain Flow, follow these steps to select and utilize the desired capabilities:

1. **Search for the Hacker News Component**: Search the Hacker News component within the ZBrain interface.
2. **Select the Required Capability**: Search for the desired capability, such as Fetch top stories.

#### **Required Fields to Fetch Top Stories** <a href="#required-fields-to-fetch-top-stories" id="required-fields-to-fetch-top-stories"></a>

1. **Number of Stories** - Specify the number of top stories to fetch.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.zbrain.ai/zbrain-documentation/zbrain-builder/flows/flow-components/hacker-news.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
