
Startup News Scraper Agent
by Dhilan Fye
🚀 Daily Startup Digest – n8n + Agentuity Automation
This project combines an AI-powered startup summarization agent (built with Agentuity) and a scheduled n8n automation to deliver a daily digest of startup news via Email, Slack, and Discord.
🧠 What It Does
Each morning at 7 AM (or your specified time):
- Triggers automatically on a schedule.
- Sends a POST request to your hosted Agentuity agent, which returns a list of summarized startup stories.
- Processes and formats those summaries into a clean HTML digest.
- Sends the digest to your configured Email, Slack, and Discord recipients.
🛠 Prerequisites
You’ll need:
- An Agentuity account and CLI access
- A deployed Startup Scraper Agent
- An active n8n instance
- Your own:
- SMTP credentials (for email)
- Slack workspace with bot permissions (optional)
- Discord webhook or bot (optional)
Project Layout:
Startup_News_Scraper/ └─ src/agents/startup_scraper/ ├─ fetchFeeds.ts # grabs RSS + filters tech/startup keywords ├─ summarize.ts # OpenAI call → JSON summary ├─ index.ts # agent entry-point for Agentuity └─ types.ts # shared TypeScript types n8n_workflow/ └─ workflow.json # downloaded workflow for n8n
⚙️ Step-by-Step Setup
1. Clone the Agent
2. Deploy (or run) the Agent
3. Import the n8n workflow
- Download the JSON file from n8n_workflow/workflow.json
- Open n8n → Workflows → Import from file.
- Select
workflow.json
(included in this repo). - You should see a canvas with:
Schedule Trigger → HTTP Request → Code → Email / Slack / Discord
.
4. Set up the Agentuity API endpoint
- In your Agentuity dashboard open the deployed agent, click the ➕ icon under IO Visualization and choose API.
- Copy the Bearer Authentication Token (You will need to add this in the HTTP Request Node in the n8n workflow)
- Save the API Endpoint
- Method – set to
POST
- URL –
https://agentuity.ai/api/<your-agent-id>?wait=true
(Grab this from the bottom of API pop-up in agentuity) - Send Headers – enable / turn on
- Header 1 – Name →
Authorization
- Header 1 – Value →
Bearer wht_XXXXXXXXXXXXXXXXXXXXXXXX
- Header 2 – Name →
Content-Type
- Header 2 – Value →
application/json
- Header 1 – Name →
- Send Body – enable / turn on
- Body Content Type – select JSON
- JSON Body –
{}
(a single empty JSON object) Query Parameters – leave blank
6. Do not adjust Code Node
- Code node is preconfigured with the logic to transform the JSON formatted summaries to human-readable HTML.
- Do not change.
7. Third Party Configuration (Email, Slack, Discord, etc.)
-
Email Send node
- Credentials → select your SMTP account
- Operation →
Send
- From Email → your sender address
- To Email → recipient address(es)
- Subject →
📬 Daily Startup Digest – {{ new Date().toLocaleDateString() }}
(do not change) - Email Format →
html
- HTML →
{{$json["html"]}}
(do not change)
-
Slack node
- Credentials → select your Slack OAuth (bot) credential
- Resource →
Message
- Operation →
Send
- Send Message To → choose the channel or user
- Message Type →
{{$json["html"]}}
(do not change)
-
Discord node
- Credentials → select your Discord Bot Token / Webhook credential
- Resource →
Message
- Operation →
Send
- Server → pick the target server / guild
- Send To → Channel (or User)
- Channel/User → select the destination
- Message →
{{$json["html"]}}
(do not change)
- You can also implement other n8n nodes:
- Notion – create or append to a database
- Google Sheets – log each day’s stories
- Telegram / Teams – forward to other chat apps
- Webhooks – POST the digest JSON to any backend
📖 Documentation
For comprehensive documentation on the Agentuity JavaScript SDK, visit: https://agentuity.dev/SDKs/javascript
🆘 Troubleshooting
If you encounter any issues:
- Check the documentation
- Join our Discord community for support
- Contact the Agentuity support team
📝 License
This project is licensed under the terms specified in the LICENSE file. This project combines an AI-powered startup summarization agent (built with Agentuity) and a scheduled n8n automation to deliver a daily digest of startup news via Email, Slack, and Discord.
🧠 What It Does
Each morning at 7 AM (or your specified time):
- Triggers automatically on a schedule.
- Sends a POST request to your hosted Agentuity agent, which returns a list of summarized startup stories.
- Processes and formats those summaries into a clean HTML digest.
- Sends the digest to your configured Email, Slack, and Discord recipients.
🛠 Prerequisites
You’ll need:
- An Agentuity account and CLI access
- A deployed Startup Scraper Agent
- An active n8n instance
- Your own:
- SMTP credentials (for email)
- Slack workspace with bot permissions (optional)
- Discord webhook or bot (optional)
Project Layout:
Startup_News_Scraper/ └─ src/agents/startup_scraper/ ├─ fetchFeeds.ts # grabs RSS + filters tech/startup keywords ├─ summarize.ts # OpenAI call → JSON summary ├─ index.ts # agent entry-point for Agentuity └─ types.ts # shared TypeScript types n8n_workflow/ └─ workflow.json # downloaded workflow for n8n
⚙️ Step-by-Step Setup
1. Clone the Agent
2. Deploy (or run) the Agent
3. Import the n8n workflow
- Download the JSON file from n8n_workflow/workflow.json
- Open n8n → Workflows → Import from file.
- Select
workflow.json
(included in this repo). - You should see a canvas with:
Schedule Trigger → HTTP Request → Code → Email / Slack / Discord
.
4. Set up the Agentuity API endpoint
- In your Agentuity dashboard open the deployed agent, click the ➕ icon under IO Visualization and choose API.
- Copy the Bearer Authentication Token (You will need to add this in the HTTP Request Node in the n8n workflow)
- Save the API Endpoint
- Method – set to
POST
- URL –
https://agentuity.ai/api/<your-agent-id>?wait=true
(Grab this from the bottom of API pop-up in agentuity) - Send Headers – enable / turn on
- Header 1 – Name →
Authorization
- Header 1 – Value →
Bearer wht_XXXXXXXXXXXXXXXXXXXXXXXX
- Header 2 – Name →
Content-Type
- Header 2 – Value →
application/json
- Header 1 – Name →
- Send Body – enable / turn on
- Body Content Type – select JSON
- JSON Body –
{}
(a single empty JSON object) Query Parameters – leave blank
6. Do not adjust Code Node
- Code node is preconfigured with the logic to transform the JSON formatted summaries to human-readable HTML.
- Do not change.
7. Third Party Configuration (Email, Slack, Discord, etc.)
-
Email Send node
- Credentials → select your SMTP account
- Operation →
Send
- From Email → your sender address
- To Email → recipient address(es)
- Subject →
📬 Daily Startup Digest – {{ new Date().toLocaleDateString() }}
(do not change) - Email Format →
html
- HTML →
{{$json["html"]}}
(do not change)
-
Slack node
- Credentials → select your Slack OAuth (bot) credential
- Resource →
Message
- Operation →
Send
- Send Message To → choose the channel or user
- Message Type →
{{$json["html"]}}
(do not change)
-
Discord node
- Credentials → select your Discord Bot Token / Webhook credential
- Resource →
Message
- Operation →
Send
- Server → pick the target server / guild
- Send To → Channel (or User)
- Channel/User → select the destination
- Message →
{{$json["html"]}}
(do not change)
- You can also implement other n8n nodes:
- Notion – create or append to a database
- Google Sheets – log each day’s stories
- Telegram / Teams – forward to other chat apps
- Webhooks – POST the digest JSON to any backend
📖 Documentation
For comprehensive documentation on the Agentuity JavaScript SDK, visit: https://agentuity.dev/SDKs/javascript
🆘 Troubleshooting
If you encounter any issues:
- Check the documentation
- Join our Discord community for support
- Contact the Agentuity support team
📝 License
This project is licensed under the terms specified in the LICENSE file.
Startup News Scraper Agent
by Dhilan Fye