{
  "workflow_name": "Trigger a workflow from MCP Tool and check user's support tickets in FluentSupport",
  "workflow_steps": {
    "steps": [
      {
        "id": "1",
        "position": {
          "x": 0,
          "y": 0
        },
        "data": {
          "label": "Workflow MCP Tool Triggered",
          "app": {
            "key": "mcp_trigger",
            "fm_app": "mcp_trigger"
          },
          "eventSlug": "mcp_trigger",
          "eventTitle": "Workflow MCP Tool Triggered",
          "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": "mcp_trigger",
        "stepID": "1",
        "action": "mcp_trigger",
        "nodeType": "step",
        "actionAppArgs": []
      },
      {
        "id": "2",
        "position": {
          "x": 175,
          "y": 0
        },
        "type": "action",
        "data": {
          "label": "Get the customer's tickets",
          "layoutDirection": "horizontal",
          "stepNumber": 2,
          "app": {
            "key": "fluent_support",
            "fm_app": "fluent_support"
          },
          "eventSlug": "get_all_tickets",
          "eventTitle": "Get All Tickets"
        },
        "parentType": "step",
        "style": {
          "transition": "all 150ms ease-in-out"
        },
        "measured": {
          "width": 82,
          "height": 82
        },
        "actionAppArgs": {
          "on_behalf": "{mcp_trigger1.email}"
        },
        "application": "fluent_support",
        "action": "get_all_tickets",
        "nodeType": "step",
        "stepID": "2"
      },
      {
        "id": "3",
        "position": {
          "x": 350,
          "y": 0
        },
        "type": "action",
        "data": {
          "label": "MCP Tool Response",
          "layoutDirection": "horizontal",
          "stepNumber": 3,
          "app": {
            "key": "mcp_trigger",
            "fm_app": "mcp_trigger"
          },
          "eventSlug": "mcp_tool_response",
          "eventTitle": "MCP Tool Response"
        },
        "parentType": "step",
        "style": {
          "transition": "all 150ms ease-in-out"
        },
        "measured": {
          "width": 82,
          "height": 82
        },
        "actionAppArgs": [],
        "application": "mcp_trigger",
        "action": "mcp_tool_response",
        "nodeType": "step",
        "stepID": "3"
      },
      {
        "id": "main_end_placeholder",
        "position": {
          "x": 525,
          "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-3",
        "source": "2",
        "target": "3",
        "type": "step",
        "data": []
      },
      {
        "id": "e-3-main_end_placeholder",
        "source": "3",
        "target": "main_end_placeholder",
        "type": "placeholder",
        "data": []
      }
    ]
  },
  "workflow_settings": {
    "name": "Trigger a workflow from MCP Tool and check user's support tickets in FluentSupport",
    "folder": "all",
    "description": "Your AI assistant calls this workflow as an MCP tool with a customer's email, FlowMattic fetches that customer's tickets from Fluent Support, and the ticket list is sent back to the assistant as the tool response. Define an email parameter on the MCP tool and choose the fields to return in the response step after import.",
    "status": "off",
    "user_email": "",
    "webhook_queue": "disabled",
    "workflow_auth_key": "",
    "builder_version": "v2",
    "time": "",
    "ai_generated": "yes"
  }
}