{
  "workflow_name": "Let an AI agent label, assign and acknowledge new issues",
  "workflow_steps": {
    "steps": [
      {
        "id": "1",
        "position": {
          "x": 0,
          "y": 0
        },
        "data": {
          "label": "New Issue",
          "app": {
            "key": "github",
            "fm_app": "github"
          },
          "eventSlug": "new_issue",
          "eventTitle": "New / Updated Issue",
          "layoutDirection": "horizontal",
          "stepNumber": 1
        },
        "targetPosition": "bottom",
        "type": "trigger",
        "stepNumber": 1,
        "expanded": true,
        "style": {
          "transition": "all 150ms ease-in-out"
        },
        "measured": {
          "width": 82,
          "height": 82
        },
        "application": "github",
        "stepID": "1",
        "action": "new_issue",
        "nodeType": "step",
        "actionAppArgs": [],
        "captureResponse": {
          "action": "opened",
          "issue": {
            "number": 42,
            "title": "Checkout button not working",
            "body": "Steps to reproduce...",
            "html_url": "https://github.com/acme/app/issues/42",
            "user": {
              "login": "octocat"
            },
            "labels": []
          },
          "repository": {
            "full_name": "acme/app"
          },
          "sender": {
            "login": "octocat"
          }
        },
        "responses": [
          {
            "letter": "A",
            "time": "01/07/2026, 10:00:00",
            "response": {
              "action": "opened",
              "issue": {
                "number": 42,
                "title": "Checkout button not working",
                "body": "Steps to reproduce...",
                "html_url": "https://github.com/acme/app/issues/42",
                "user": {
                  "login": "octocat"
                },
                "labels": []
              },
              "repository": {
                "full_name": "acme/app"
              },
              "sender": {
                "login": "octocat"
              }
            }
          }
        ],
        "activeResponseIndex": 0
      },
      {
        "id": "2",
        "position": {
          "x": 175,
          "y": 0
        },
        "type": "action",
        "data": {
          "label": "AI Agent by FlowMattic",
          "layoutDirection": "horizontal",
          "stepNumber": 2,
          "stepIndex": 2,
          "app": {
            "key": "ai_agent",
            "fm_app": "ai_agent"
          },
          "eventSlug": "execute_agent",
          "eventTitle": "Execute Agent"
        },
        "parentType": "step",
        "style": {
          "transition": "all 150ms ease-in-out"
        },
        "measured": {
          "width": 350,
          "height": 82
        },
        "actionAppArgs": {
          "system_prompt": "You triage GitHub issues. Read the issue, apply appropriate labels, assign the most relevant maintainer, and post a short acknowledgement comment.",
          "user_input": "Issue #{github1.issue.number}: {github1.issue.title}\n\n{github1.issue.body}",
          "output_format": "text",
          "application": "ai_agent",
          "responseViewType": "on",
          "include_execution_log": "",
          "include_request_body": ""
        },
        "application": "ai_agent",
        "stepID": "2",
        "nodeType": "aiAgent",
        "agent_config": {
          "chat_model": {
            "connect_id": "",
            "model_id": "gpt-4o",
            "model_name": "GPT-4o",
            "provider": "openai",
            "max_tokens": "1024",
            "temperature": "0.7",
            "top_p": "1",
            "top_k": "0",
            "frequency_penalty": "0",
            "presence_penalty": "0",
            "nodeId": "2-chatModel",
            "position": {
              "x": 215,
              "y": 172
            }
          },
          "tools": [
            {
              "app": "github",
              "app_name": "GitHub",
              "app_icon": "",
              "action": "add_issue_labels",
              "action_title": "Add Labels to Issue",
              "tool_name": "GitHub - Add Labels to Issue",
              "tool_description": "Apply topic labels",
              "actionAppArgs": {
                "repository": "{github1.repository.full_name}",
                "issue_number": "{github1.issue.number}",
                "labels": "AI:"
              },
              "configured": true,
              "sourceNodeId": "2-tool"
            },
            {
              "app": "github",
              "app_name": "GitHub",
              "app_icon": "",
              "action": "add_issue_assignees",
              "action_title": "Add Assignees to Issue",
              "tool_name": "GitHub - Add Assignees to Issue",
              "tool_description": "Assign the likely owner",
              "actionAppArgs": {
                "repository": "{github1.repository.full_name}",
                "issue_number": "{github1.issue.number}",
                "assignees": "AI:"
              },
              "configured": true,
              "sourceNodeId": "2-tool"
            },
            {
              "app": "github",
              "app_name": "GitHub",
              "app_icon": "",
              "action": "create_issue_comment",
              "action_title": "Create Comment on Issue",
              "tool_name": "GitHub - Create Comment on Issue",
              "tool_description": "Acknowledge the reporter",
              "actionAppArgs": {
                "repository": "{github1.repository.full_name}",
                "issue_number": "{github1.issue.number}",
                "body": "AI:"
              },
              "configured": true,
              "sourceNodeId": "2-tool"
            }
          ]
        }
      },
      {
        "id": "main_end_placeholder",
        "position": {
          "x": 350,
          "y": 0
        },
        "type": "placeholder",
        "data": {
          "label": "+",
          "layoutDirection": "horizontal",
          "stepNumber": null,
          "app": []
        },
        "measured": {
          "width": 40,
          "height": 82
        },
        "stepID": "main_end_placeholder",
        "nodeType": "placeholder",
        "actionAppArgs": []
      }
    ],
    "edges": [
      {
        "id": "e-1-2",
        "source": "1",
        "target": "2",
        "type": "step",
        "data": []
      },
      {
        "id": "e-2-main_end_placeholder",
        "source": "2",
        "target": "main_end_placeholder",
        "type": "placeholder",
        "data": []
      }
    ]
  },
  "workflow_settings": {
    "name": "Let an AI agent label, assign and acknowledge new issues",
    "folder": "all",
    "description": "An AI agent reads every new issue, applies the right labels, assigns the likely owner, and posts a first acknowledgement — so triage happens the moment an issue lands.",
    "status": "off",
    "user_email": "",
    "webhook_queue": "disabled",
    "workflow_auth_key": "",
    "builder_version": "v2",
    "time": "",
    "ai_generated": "yes"
  }
}