utilitiesbeginner10 min setupby Mantle
Scheduled API digest by email
Every weekday morning pull a JSON summary from your API, have an LLM turn it into three bullet points and email the team.
Drag to pan, pinch to zoom. This is the real graph the template installs.
How it works
What it does
- Cron
0 8 * * 1-5(Europe/London) → GET your metrics endpoint →ai.llmwrites three bullets → email.
Setup
- Change the metrics
url, the recipients, and pick AI + SendGrid/SMTP connections.
Nodes 4
- 01Weekdays 08:00trigger.scheduleTrigger
- 02GET /metrics/summaryhttp.requestHTTP
- 03Write the digestai.llmAI
- 04Email the teammail.sendDestination
View template JSON
{
"format": "mantle-workflow/v1",
"id": "util-scheduled-report-email",
"name": "Scheduled API digest by email",
"graph": {
"nodes": [
{
"id": "schedule",
"type": "trigger.schedule",
"label": "Weekdays 08:00",
"config": {
"cron_expr": "0 8 * * 1-5",
"timezone": "Europe/London"
},
"connection_id": null,
"worker_type": "generic-worker",
"position": {
"x": 60,
"y": 220
}
},
{
"id": "fetch_metrics",
"type": "http.request",
"label": "GET /metrics/summary",
"config": {
"method": "GET",
"url": "https://example.com/metrics/summary",
"timeout_seconds": 20
},
"connection_id": null,
"worker_type": "generic-worker",
"position": {
"x": 380,
"y": 220
}
},
{
"id": "summarise",
"type": "ai.llm",
"label": "Write the digest",
"config": {
"model": "claude-haiku-4-5",
"temperature": 0.3,
"max_tokens": 400,
"system_prompt": "You write terse operational digests. Output exactly three bullet points, no preamble.",
"user_prompt": "Yesterday's metrics as JSON:\n{{ steps.fetch_metrics.body }}"
},
"connection_id": null,
"worker_type": "ai-worker",
"position": {
"x": 700,
"y": 220
}
},
{
"id": "send_digest",
"type": "mail.send",
"label": "Email the team",
"config": {
"to": [
"team@example.com"
],
"subject": "Daily digest — {{ $today }}",
"body_text": "{{ steps.summarise.response }}"
},
"connection_id": null,
"worker_type": "generic-worker",
"position": {
"x": 1020,
"y": 220
}
}
],
"edges": [
{
"from": "schedule",
"to": "fetch_metrics"
},
{
"from": "fetch_metrics",
"to": "summarise"
},
{
"from": "summarise",
"to": "send_digest"
}
]
}
}Use it, then make it yours.
Templates install as drafts. Change anything, and Workflow Health re-checks the graph on every save.