{
  "workflow_name": "Add Cognito Forms appointment requests to Google Calendar",
  "workflow_steps": {
    "steps": [
      {
        "id": "1",
        "position": {
          "x": 0,
          "y": 0
        },
        "data": {
          "label": "New Entry",
          "app": {
            "key": "cognito_forms",
            "fm_app": "cognito_forms"
          },
          "eventSlug": "submit_entry_endpoint",
          "eventTitle": "New Entry",
          "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": "cognito_forms",
        "stepID": "1",
        "action": "submit_entry_endpoint",
        "nodeType": "step",
        "actionAppArgs": [],
        "captureResponse": {
          "Name_First": "Olivia",
          "Name_Last": "Martin",
          "Email": "olivia.martin@example.com",
          "Phone": "+15550125566",
          "Service": "Initial consultation",
          "AppointmentDate": "2026-11-04",
          "AppointmentTime": "14:00",
          "Notes": "Prefers a video call.",
          "Entry_Number": "57",
          "Entry_Action": "Submit"
        },
        "responses": [
          {
            "letter": "A",
            "time": "01/07/2026, 10:00:00",
            "response": {
              "Name_First": "Olivia",
              "Name_Last": "Martin",
              "Email": "olivia.martin@example.com",
              "Phone": "+15550125566",
              "Service": "Initial consultation",
              "AppointmentDate": "2026-11-04",
              "AppointmentTime": "14:00",
              "Notes": "Prefers a video call.",
              "Entry_Number": "57",
              "Entry_Action": "Submit"
            }
          }
        ],
        "activeResponseIndex": 0
      },
      {
        "id": "2",
        "position": {
          "x": 175,
          "y": 0
        },
        "type": "action",
        "data": {
          "label": "Create the appointment",
          "layoutDirection": "horizontal",
          "stepNumber": 2,
          "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": "{cognito_forms1.Service}: {cognito_forms1.Name_First} {cognito_forms1.Name_Last}",
          "event_description": "Phone: {cognito_forms1.Phone}\nEmail: {cognito_forms1.Email}\n\n{cognito_forms1.Notes}",
          "start_datetime": "{cognito_forms1.AppointmentDate} {cognito_forms1.AppointmentTime}",
          "end_datetime": "{cognito_forms1.AppointmentDate} {cognito_forms1.AppointmentTime} +1 hour",
          "attendees": "{cognito_forms1.Email}"
        },
        "application": "google_calendar",
        "action": "create_event",
        "nodeType": "step",
        "stepID": "2"
      },
      {
        "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": "Add Cognito Forms appointment requests to Google Calendar",
    "folder": "all",
    "description": "Each Cognito Forms appointment request becomes a one-hour Google Calendar event with the client as an attendee and their notes in the description. Consultants and small clinics get bookings on the calendar without retyping them. After import, pick the calendar and map your date and time fields; change \"+1 hour\" for longer sessions.",
    "status": "off",
    "user_email": "",
    "webhook_queue": "disabled",
    "workflow_auth_key": "",
    "builder_version": "v2",
    "time": "",
    "ai_generated": "yes"
  }
}