{
  "workflow_name": "AI agent that summarises each booked call and preps the rep",
  "workflow_steps": {
    "steps": [
      {
        "id": "1",
        "position": {
          "x": 0,
          "y": 0
        },
        "data": {
          "label": "Call Booked",
          "app": {
            "key": "calendly",
            "fm_app": "calendly"
          },
          "eventSlug": "invitee_created",
          "eventTitle": "Invitee Created",
          "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": "calendly",
        "stepID": "1",
        "action": "invitee_created",
        "nodeType": "step",
        "actionAppArgs": [],
        "captureResponse": {
          "name": "Jordan Lee",
          "email": "jordan@acme.com",
          "questions_and_answers": "Interested in the Pro plan",
          "start_time": "2026-08-01T15:00:00",
          "end_time": "2026-08-01T15:30:00"
        },
        "responses": [
          {
            "letter": "A",
            "time": "01/07/2026, 10:00:00",
            "response": {
              "name": "Jordan Lee",
              "email": "jordan@acme.com",
              "questions_and_answers": "Interested in the Pro plan",
              "start_time": "2026-08-01T15:00:00",
              "end_time": "2026-08-01T15:30:00"
            }
          }
        ],
        "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": "Write a short prep brief and three talking points from the booking answers, create a ClickUp prep task, and DM the rep.",
          "user_input": "Booked call with {calendly1.name} ({calendly1.email}). Answers: {calendly1.questions_and_answers}",
          "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": "clickup",
              "app_name": "ClickUp",
              "app_icon": "",
              "action": "create_task",
              "action_title": "Create Task",
              "tool_name": "ClickUp - Create Task",
              "tool_description": "Create prep task",
              "actionAppArgs": {
                "task_name": "AI:",
                "description": "AI:"
              },
              "configured": true,
              "sourceNodeId": "2-tool"
            },
            {
              "app": "slack",
              "app_name": "Slack",
              "app_icon": "",
              "action": "send_direct_message",
              "action_title": "Send Direct Message",
              "tool_name": "Slack - Send Direct Message",
              "tool_description": "DM the rep the brief",
              "actionAppArgs": {
                "user": "AI:",
                "message": "AI:"
              },
              "configured": true,
              "sourceNodeId": "2-tool"
            }
          ]
        }
      },
      {
        "id": "3",
        "position": {
          "x": 350,
          "y": 0
        },
        "type": "action",
        "data": {
          "label": "Add prep block",
          "layoutDirection": "horizontal",
          "stepNumber": 3,
          "app": {
            "key": "google_calendar",
            "fm_app": "google_calendar"
          },
          "eventSlug": "create_event",
          "eventTitle": "Create Detailed Event"
        },
        "parentType": "step",
        "style": {
          "transition": "all 150ms ease-in-out"
        },
        "measured": {
          "width": 82,
          "height": 82
        },
        "actionAppArgs": {
          "event_title": "Prep: {calendly1.name}",
          "start_datetime": "{calendly1.start_time}",
          "end_datetime": "{calendly1.end_time}"
        },
        "application": "google_calendar",
        "action": "create_event",
        "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": "AI agent that summarises each booked call and preps the rep",
    "folder": "all",
    "description": "When a call is booked, an AI agent drafts a prep brief from the answers, files a ClickUp task, and notifies the rep with talking points.",
    "status": "off",
    "user_email": "",
    "webhook_queue": "disabled",
    "workflow_auth_key": "",
    "builder_version": "v2",
    "time": "",
    "ai_generated": "yes"
  }
}