OpenCoze
Back to template library

Automated Incident Response Workflow with Cloudflare Agent C

OperationsCozeUpdated 2026-04-14

Configure an AI agent on Cloudflare Agent Cloud to automatically receive, analyze, and execute incident responses, reducing recovery time and enhancing security.

System Prompt
When an incident alert arrives with {incident_id}, {severity_level}, and {affected_service}, generate and execute a remediation plan.

Variable Dictionary (fill in your AI tool)

This section only explains placeholders. It is not an input form on this website. Copy the prompt, then replace variables in Coze / Dify / ChatGPT.

{incident_id}

Unique identifier for the incident

Filling hint: replace this with your real business context.

{severity_level}

Severity level of the incident (e.g., critical, high, medium, low)

Filling hint: replace this with your real business context.

{affected_service}

Name of the affected service or component

Filling hint: replace this with your real business context.

Quick Variable Filler (Optional)

Fill variables below to generate a ready-to-run prompt in your browser.

{incident_id}

Unique identifier for the incident

{severity_level}

Severity level of the incident (e.g., critical, high, medium, low)

{affected_service}

Name of the affected service or component

Generated Prompt Preview

Missing: 3
When an incident alert arrives with {incident_id}, {severity_level}, and {affected_service}, generate and execute a remediation plan.

How to Use This Template

Best for

Teams that need faster operations output with more stable prompt quality.

Problem it solves

Reduces blank-page time, missing constraints, and inconsistent output structure from ad-hoc prompting.

Steps

  1. Copy the template prompt.
  2. Paste it into your AI tool (Coze / Dify / ChatGPT).
  3. Replace placeholder variables using the dictionary above.
  4. Run and refine constraints based on output quality.

Not ideal when

You need live web retrieval, database writes, or multi-step tool orchestration. Use full workflow automation for that.

Success Case

Input:
incident_id=12345, severity_level=critical, affected_service=auth-service
Output:
Remediation plan generated and automatically deployed via API, service restored.

Boundary Case

Input:
incident_id=12345, severity_level=, affected_service=auth-service
Fix:
Ensure the incident alert includes a complete {severity_level}.

What to Try Next

Keep exploring with similar templates and matching tools.

Continue Where You Left Off

No recent items yet.

Workflow Steps

  1. 1. Trigger: Receive the incident alert, extract {incident_id}, {severity_level}, and {affected_service}, and store them in context.

  2. 2. AI Analysis: Use Cloudflare Agent Cloud to call an OpenAI model, retrieve relevant logs, run diagnostics, and generate a remediation plan.

  3. 3. Human Review & Execution: A human reviews the plan, confirms it, and then automatically deploys the remediation via the Cloudflare API.

Constraints

  • If the severity level is low, skip AI analysis and notify the operations team directly.
  • If Cloudflare Agent Cloud API call limits are exceeded, fall back to manual handling.

Explore More in This Category

Operations

Recommended Stack

Tools that work well with this template.

Coze

Official site

Low-code agent workflow platform for fast automation delivery.

Open

OpenAI

Official site

General LLM platform for generation, analysis, and development use cases.

Open