π Stream daily tech trends from an n8n Data Table to SwiftBar via webhook
β‘ 5 views Β· π Market Research & Insights
Description
Quick Overview
This workflow exposes an n8n webhook that reads todayβs tech trends from an n8n Data Table, formats the top items into a SwiftBar menu payload, and returns the result as a JSON response for display in the macOS menu bar.
How it works
- Receives a webhook request and waits to respond via a dedicated response step.
- Queries the n8n Data Table named
tech_trendsfor rows matching the configureddatefilter. - Filters and sorts the results by
score, selects the top 10 items, and formats them into SwiftBar menu lines. - Returns the formatted SwiftBar output as an
application/jsonresponse (with CORS enabled) to the original webhook request.
Setup
- Create and populate an n8n Data Table named
tech_trendswith fields such asdate,title,source, and optionalscore(typically filled by a separate βcollectorβ workflow). - Update the Data Table filter value for
dateso it matches your desired βtodayβ logic (the template currently uses a fixed date). - Copy the production webhook URL from the webhook trigger and configure SwiftBar (or your SwiftBar script) to call it on its refresh interval.
π Nodes Used
Webhook, Data table
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File