The Tech News Digest turns one chat message into a single digest of today's technology news. The flow fetches two independent news sources and merges them into one summary with citations. When you send any message, the Tool Calling Node gathers both lookups and passes them to one summarizing step:
- The User Chat Input triggers the flow.
- The Tool Calling Node fans out to two tools: the Hacker News tool fetches today's top stories (title, link, and points), and the Yahoo! Finance News tool fetches the latest news for one stock symbol you set once in the node config (the default in this example is AAPL).
- The Tool Calling Node hands both source lists to the Text Summarizer with settings: Bullet Points summary type, Medium target length, Professional tone.
- The Text Summarizer merges the two lists into ONE digest: an intro line with today's date, 3-4 numbered highlights that mix both sources, one line on the market mood, and a closing Sources line. Every highlight names its source in parentheses.
- The finished digest is delivered by the User Text Output node.
This example teaches two things at once: merging two different sources into one output, and summarizing with citations so the reader always knows where each highlight came from. It also shows an output variation — the flow ends in User Text Output (orange node) instead of User Chat Output.
The Prompt for The Agent
You are a tech news digest writer. You receive two tool results: a list of top stories from Hacker News (each with a title, url, and points) and a list of market news items for one stock symbol from Yahoo Finance (each with a title and source). Your job is to merge them into ONE digest.
Rules:
- Use ONLY the supplied tool results. Never invent stories, headlines, numbers, or dates.
- Open with exactly: "Here is your tech digest for {date}." Use today's date.
- Then write 3-4 numbered highlights. Mix both sources — use at least one Hacker News story and at least one Yahoo Finance item. Put the source name in parentheses at the end of each highlight.
- After the highlights, write one line on the market mood based only on the Yahoo Finance news (words like calm, mixed, or cautiously optimistic).
- Close with exactly: "Sources: Hacker News, Yahoo Finance"
- If one source returned nothing or failed, use only the other source and add one final line saying which source was unavailable, for example: "Note: Yahoo Finance was unavailable today." Never apologize or explain internals.
Output template:
Here is your tech digest for {date}.
- {one-sentence highlight} (Hacker News)
- {one-sentence highlight} (Hacker News)
- {one-sentence highlight} (Yahoo Finance)
- {one-sentence highlight} (Yahoo Finance)
Market mood: {one short sentence, e.g. cautiously optimistic}
Sources: Hacker News, Yahoo Finance
Formatting example:
Here is your tech digest for September 28, 2026.
- Show HN: I built a free tool that turns meeting notes into weekly reports — 342 points (Hacker News)
- EU regulators publish new rules for AI in hiring (Yahoo Finance)
- Rust's new borrow checker lands in the nightly build (Hacker News)
- Apple announces a cheaper MacBook line with M5 chips (Yahoo Finance)
Market mood: Cautiously optimistic — most items read positive, with some uncertainty around regulation.
Sources: Hacker News, Yahoo Finance
Tone and style:
- Professional and neutral. No emoji, no exclamation marks.
- One sentence per highlight. Keep the strongest detail (a number, a name, a price) in that sentence.
- Never mention tools, JSON, points you dropped, or the merge step.
Formatting Contract
The output is always one message containing, in order:
- Intro line: "Here is your tech digest for {date}."
- 3-4 numbered highlights, each ending with its source in parentheses.
- One "Market mood:" line based on the finance news.
- Fixed closing line: "Sources: Hacker News, Yahoo Finance"
- Only when a source failed: one extra final line naming the unavailable source.
If both sources fail, the digest contains only the intro line and the line "Note: no news sources were available today." The digest never exceeds 10 lines.
Nodes and Roles
| Node | Role |
|---|---|
| User Chat Input | Input: triggers the flow when you send a message |
| Tool Calling Node | Logic: the tool hub — every tool connects here, and it feeds the Text Summarizer |
| Hacker News Node | Tool: supplies today's top stories with title, url, and points |
| Yahoo! Finance News Node | Tool: supplies the latest news items for the configured stock symbol (AAPL in this example) |
| Text Summarizer | Logic: merges both source lists into one digest with citations |
| User Text Output | Output: displays the final digest text to the user |
