Skip to content
madai-investigator logo

MadAI Support Ticket Investigator

madai-investigator

Investigate MadAI/MadKudu support tickets from Jira or Zendesk. This skill should be used when analyzing ticket context, checking tenant health, querying knowledge bases, and producing structured investigation reports. Triggers on requests like "investigate this ticket", "look into Zendesk/Jira i...

SKILL.md

Full skill instructions

MadAI Support Ticket Investigator

Investigate MadKudu support tickets systematically using available MCP tools.

Investigation Workflow

Follow these steps in order for thorough investigation:

Step 1: Fetch Ticket Details

Extract ticket information based on source:

Zendesk tickets:

mcp__MadAI_Prod__get_zendesk_ticket(ticket_url)

Jira tickets:

mcp__MadAI_Prod__get_jira_ticket(issue_key)  # e.g., "SUPPORT-123"

Identify from ticket:

  • Tenant ID (look for tenant mentions, domain, or company name)
  • Issue description and symptoms
  • Timeline (when did the issue start?)
  • Any error messages or screenshots

Step 2: Identify Tenant

If tenant ID not explicit in ticket, search by domain:

mcp__MadAI_Prod__get_argo_data(endpoint="tenant", params={"domain": "example.com"})

Or search by user email:

mcp__MadAI_Prod__get_argo_data(endpoint="users/​search", params={"email": "[email protected]"})

Get full tenant details:

mcp__MadAI_Prod__get_argo_data(endpoint="tenant/​{tenant_id}")

Step 3: Health Checks

Run health checks in parallel when possible:

Tenant active status:

mcp__MadAI_Prod__check_tenant_active(tenant_id)

Connector connectivity:

mcp__MadAI_Prod__check_connector_connectivity(tenant_id)

Fill rate (scoring health):

mcp__MadAI_Prod__get_fill_rate_data(tenant_id, look_back_hours=24)

Process status:

mcp__MadAI_Prod__get_pull_processes_status(tenant_id, look_back_hours=24)
mcp__MadAI_Prod__get_push_processes_status(tenant_id, look_back_hours=24)
mcp__MadAI_Prod__get_data_workers_status(tenant_id, look_back_hours=24)

Step 4: Dig Deeper (as needed)

Check connector details:

mcp__MadAI_Prod__get_argo_data(endpoint="tenant/​{tenant_id}/​connectors/​{connector_name}")
# connector_name: salesforce, hubspot, marketo, etc.

Query Datadog logs for errors:

mcp__MadAI_Prod__query_datadog_logs(query="@tenant:{tenant_id} status:error", look_back_hours=72)

Query tenant databases:

# Redshift (analytics data)
mcp__MadAI_Prod__execute_redshift_query(tenant_id, query="SELECT ...")

# Postgres - emback (main app data)
mcp__MadAI_Prod__execute_postgres_query(tenant_id, query="SELECT ...", database="emback")

# Postgres - honk (playbooks data)
mcp__MadAI_Prod__execute_postgres_query(tenant_id, query="SELECT ...", database="honk")

Check tenant config in GitHub:

mcp__MadAI_Prod__get_github_tenant_config_file_content(file_path="path/​to/​config")

Step 5: Query Knowledge Bases

Search for similar issues or solutions:

Product questions:

mcp__MadAI_Prod__answer_product_question(question="How does X feature work?")

Engineering how-to:

mcp__MadAI_Prod__answer_engineering_question(question="How to debug Y issue?")

Step 6: Produce Investigation Report

Structure findings as:

## Investigation Summary

**Ticket:** [ticket ID/​URL]
**Tenant:** [tenant_id] - [company name]
**Issue:** [brief description]

## Findings

### Health Status
- Tenant Active: ✅/❌
- Connectors: [status]
- Fill Rate: [percentage]
- Processes: [status]

### Root Cause Analysis
[What's causing the issue based on evidence]

### Evidence
- [Log entries, error messages, data points]

## Recommendations

1. [Action item]
2. [Action item]

## Next Steps
[What should happen next - escalate, fix, follow up]

Common Investigation Patterns

Scoring Issues

  1. Check fill rate data
  2. Verify connector connectivity
  3. Query pull/​push process status
  4. Check Datadog for scoring errors

Connector Problems

  1. Check connector connectivity
  2. Get specific connector details from Argo
  3. Query Datadog for connector-specific errors
  4. Verify credentials/​config in tenant settings

Data Sync Issues

  1. Check data workers status
  2. Query pull processes
  3. Check Redshift for data freshness
  4. Look for sync errors in Datadog

Missing Scores/​Signals

  1. Verify tenant is active
  2. Check if model is deployed (tenant config)
  3. Query Postgres for signal configuration
  4. Check fill rate trends over time

More DevOps & CI/CD skills

Project scaffolding, deployment configuration, and CI/CD setup for Google ADK agents.

6K 472.6K
View

Set up tracing, logging, and monitoring for deployed ADK agents across Cloud Trace, BigQuery, and third-party platforms.

6K 472.6K
View

Enterprise Azure infrastructure architect generating Bicep or Terraform from workload descriptions.

1.5K 454.3K
View
azure-kubernetes logo
DevOps & CI/CD

azure-kubernetes

Plan and configure production-ready Azure Kubernetes Service clusters with Day-0 and Day-1 best practices.

1.5K 447.1K
View

Raw mechanical interfaces fusing Swiss typographic print with military terminal aesthetics. Rigid grids, extreme type scale contrast, utilitarian color, analog degradation effects. For data-heavy dashboards, portfolios, or editorial sites that need to feel like declassified blueprints.

92.7K 354.9K
View
just-scrape logo
DevOps & CI/CD

just-scrape

Web search, scraping, extraction, crawling, and monitoring via ScrapeGraph AI CLI.

69 245K
View

Skill for working with Firebase Hosting (Classic). Use this when you want to deploy static web apps, Single Page Apps (SPAs), or simple microservices. Do NOT use for Firebase App Hosting.

462 159.7K
View

Deploy and manage web apps with Firebase App Hosting. Use this skill when deploying Next.js/Angular apps with backends.

462 159.1K
View
deploy-to-vercel logo
DevOps & CI/CD

deploy-to-vercel

Deploy applications and websites to Vercel. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a preview deployment".

31.9K 146.6K
View
programmatic-seo logo
DevOps & CI/CD

programmatic-seo

Build SEO-optimized pages at scale using templates, data, and proven playbook patterns.

53.3K 140.1K
View

Design and build isolated, reusable Convex backend components with clear boundaries and app-facing wrappers.

63 123.5K
View

Deploy and manage projects on Vercel using token-based authentication. Use when working with Vercel CLI using access tokens rather than interactive login — e.g. "deploy to vercel", "set up vercel", "add environment variables to vercel".

31.9K 116.1K
View

Coding & apps AI tools

Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View
Imagica logo
Coding & apps

Imagica

Build a no-code AI app in minutes.

Freemium
View
E
Coding & apps

Emergent.sh

An IDE for code migration from legacy to modern frameworks through coding agents.

Freemium
View
Wonder Dynamics logo
Coding & apps

Wonder Dynamics

Automate CGI animation in live-action scenes

Paid
View
M
Coding & apps

Mixo

Launch a website in seconds with AI.

Paid
View
AI Code Convert logo
Coding & apps

AI Code Convert

Streamline Your Coding Experience with AI Code Helper

Free
View