AgentPMT

API Healthcheck (JSON) -> Discord Alert

Saves ~25 min

Details

Ping a JSON API endpoint, validate status + JSON syntax, and post a concise health report (or alert) to Discord.

Tools In This Workflow

Workflow Steps

  1. 1Collect Endpoint + Expectations
  2. 2Webhook - HTTP Request
  3. 3Data Format Validation (JSON Syntax)
  4. 4Decide Pass/Fail + Write Alert
  5. 5Post On Discord Channel
Step 1 of 5
Prompt1

Collect Endpoint + Expectations

Collect: URL, method (default GET), auth (none/bearer/basic/header), expected HTTP status (default 200), timeout, and what "healthy" means (required JSON keys, regex, or specific fields). Also collect Discord webhook_url for alerts.

Frequently Asked Questions

How do I connect this workflow to my local agent like OpenClaw or Claude Code?

Install commands

npm install -g @agentpmt/mcp-router
agentpmt-setup

Hosted MCP config

{
  "mcpServers": {
    "agentpmt": {
      "type": "streamable-http",
      "url": "https://api.agentpmt.com/mcp",
      "headers": {
        "Authorization": "Bearer <AGENTPMT_BEARER_TOKEN>",
        "x-instance-metadata": "{\"client\":\"generic-mcp\",\"platform\":\"remote\"}"
      }
    }
  }
}

How do I trigger this workflow?

Agent prompt

Call the AgentPMT-Workflow-Skills tool with action 'get_workflow_skill' and skill_id 6986c376e5ef844627d49d69 ("API Healthcheck (JSON) -> Discord Alert").

Looking for help integrating AI into your business? Set up a free consultation.