Overview
End-to-end daily workflow for an AI career agent: user profile + target role drives a fresh Scavio SERP sweep across major job boards, a culture-signal enrichment from Reddit threads, ranking by match score, and a morning email digest of the top 10 roles.
Trigger
Daily at 7 AM user-local time
Schedule
Daily 7 AM user-local
Workflow Steps
Compose role query
Combine role, seniority, location, and remote preference into a Scavio SERP query scoped to major job boards.
Parallel fetch
Run SERP queries against LinkedIn, Wellfound, Indeed, and the user's target company career pages.
Dedupe roles
Match by (company, role, location) tuple; drop duplicates and yesterday's hits.
Culture enrichment
For each unique company, query Reddit for culture signal and attach to the listing.
Score and rank
LLM scores each role 1–10 on skills match, culture fit, and seniority alignment.
Email top 10
Send a morning digest with the ranked shortlist and one-sentence rationale per role.
Python Implementation
import os, requests
API_KEY = os.environ["SCAVIO_API_KEY"]
H = {"x-api-key": API_KEY}
def daily_digest(role, location):
q = f'"{role}" {location} site:linkedin.com/jobs OR site:wellfound.com'
serp = requests.post("https://api.scavio.dev/api/v1/search",
headers=H, json={"query": q}).json()
return serp.get("organic_results", [])[:10]
def culture(company):
r = requests.post("https://api.scavio.dev/api/v1/search",
headers=H, json={"platform": "reddit", "query": f"{company} work culture"}).json()
return r.get("posts", [])[:3]JavaScript Implementation
const H = { "x-api-key": process.env.SCAVIO_API_KEY, "content-type": "application/json" };
async function dailyDigest(role, location) {
const q = `"${role}" ${location} site:linkedin.com/jobs OR site:wellfound.com`;
const serp = await fetch("https://api.scavio.dev/api/v1/search", {
method: "POST", headers: H, body: JSON.stringify({ query: q })
}).then(r => r.json());
return (serp.organic_results || []).slice(0, 10);
}Platforms Used
Web search with knowledge graph, PAA, and AI overviews
Community, posts & threaded comments from any subreddit