Scheduled Cron & Job Endpoints with AgentDomains
Expose clean HTTPS webhook triggers for GitHub Actions, Upstash QStash, or Cloud Scheduler without hardcoding opaque serverless URLs.
When you migrate a cron worker from Cloud Run to Fly.io, keeping https://cron-worker.agentdomains.co/tick means zero scheduler rewrites.
1. 3-Stage Sequence Diagram
3-stage sequence: AI agent claims cron-worker.agentdomains.co, maps it to cron-worker.a.run.app, and verifies HTTPS 200 OK.
2. 4-Step MCP Tool-Call Transcript
Your agent sends these exact calls to https://mcp.agentdomains.co or local stdio.
{
"tool": "check_availability",
"arguments": {
"label": "cron-worker",
"domain": "agentdomains.co"
}
}
// Response:
{
"fqdn": "cron-worker.agentdomains.co",
"available": true,
"reason": "available"
}
{
"tool": "claim_domain",
"arguments": {
"label": "cron-worker",
"domain": "agentdomains.co",
"email": "ops@example.com"
}
}
// Response:
{
"fqdn": "cron-worker.agentdomains.co",
"status": "claimed",
"confirm_within_days": 30
}
{
"tool": "set_proxy",
"arguments": {
"label": "cron-worker",
"domain": "agentdomains.co",
"origin": "cron-worker.a.run.app"
}
}
// Response:
{
"ok": true,
"fqdn": "cron-worker.agentdomains.co",
"origin": "cron-worker.a.run.app",
"https": "https://cron-worker.agentdomains.co"
}
curl -fsSI https://cron-worker.agentdomains.co
# HTTP/2 200
# content-type: application/json
# strict-transport-security: max-age=31536000
3. Clean Teardown (GitHub Action & CLI)
Remove the proxy route before decommissioning scheduled jobs to avoid stray retries. Delete the DNS mapping before you destroy your cloud server to block dangling takeovers.
name: Teardown cron-worker
on:
workflow_dispatch:
pull_request:
types: [closed]
jobs:
cleanup:
runs-on: ubuntu-latest
steps:
- name: Delete AgentDomains hostname before destroying compute
env:
AGENTDOMAINS_API_KEY: ${{ secrets.AGENTDOMAINS_API_KEY }}
run: |
curl -fsSL -X DELETE \
-H "Authorization: Bearer $AGENTDOMAINS_API_KEY" \
"https://api.agentdomains.co/v1/subdomains/cron-worker?domain=agentdomains.co"
# Or with the Go CLI:
# agentdomains delete cron-worker --domain agentdomains.co
More Workflow Blueprints
Discord Interaction Endpoints
Give Discord HTTP Interactions (Ed25519-verified slash commands) a fast, trusted HTTPS endpoint with zero manual certificate renewal.
Telegram Bot Webhook HTTPS
Call Telegram’s setWebhook API with https://tg-helper.makes.fyi/bot backed by trusted Cloudflare edge TLS on port 443.
Slack App Events & Slash Commands
Configure Slack Event Subscriptions, Interactivity, and Slash Command request URLs on a stable HTTPS hostname.
MessagingWhatsApp Cloud API Webhooks
Verify Meta’s WhatsApp Business Cloud API webhook challenge over trusted HTTPS without wrestling with Nginx cert chains.
Claim your agent domain now
Start with 10 free HTTPS domains under agentdomains.co or makes.fyi for 30 days. Upgrade to Pro for $10/year to keep up to 100 names with visitor stats.