Skip to content

Commit f6a21b1

Browse files
committed
added the flow directory
1 parent 8aee149 commit f6a21b1

4 files changed

Lines changed: 50 additions & 0 deletions

File tree

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Intelligent Watchdog Flow
2+
3+
This flow automates the collection of competitor data using **Firecrawl** and processes it through **Google Gemini** to identify strategic shifts.
4+
5+
### Nodes:
6+
1. **Webhook Trigger**: Receives competitor list from the Next.js app.
7+
2. **Firecrawl Scraper**: Fetches live content from the provided URLs.
8+
3. **LLM Analyzer**: Compares live data vs. history and generates the Battle Card.
9+
10+
### Setup:
11+
Ensure you have mapped your `WATCHDOG_FLOW_ID` in your environment variables before running the analysis.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"nodes": [
3+
{
4+
"id": "trigger",
5+
"type": "webhook",
6+
"config": {
7+
"method": "POST",
8+
"path": "/execute"
9+
}
10+
}
11+
],
12+
"outputMapping": {
13+
"result": "{{LLMNode_331.output.generatedResponse}}"
14+
}
15+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"type": "object",
3+
"properties": {
4+
"competitors": {
5+
"type": "array",
6+
"items": {
7+
"type": "object",
8+
"properties": {
9+
"org_name": { "type": "string" },
10+
"url": { "type": "string" }
11+
},
12+
"required": ["org_name", "url"]
13+
}
14+
}
15+
},
16+
"required": ["competitors"]
17+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"name": "Intelligent Watchdog Flow",
3+
"description": "Extracts web data, compares it to historical baselines, and generates a sales battle card.",
4+
"icon": "ShieldCheck",
5+
"category": "Sales",
6+
"complexity": "Intermediate"
7+
}

0 commit comments

Comments
 (0)