{
  "workflow_name": "When resignation accepted in ClickUp, terminate employee in Zoho People, revoke access via Freshdesk ticket, notify IT via Discord, and archive records to Google Drive.",
  "workflow_steps": {
    "steps": [
      {
        "id": "1",
        "position": {
          "x": 0,
          "y": 0
        },
        "data": {
          "label": "Task Status Updated",
          "app": {
            "key": "clickup",
            "fm_app": "clickup"
          },
          "eventSlug": "taskStatusUpdated",
          "eventTitle": "Task Status Updated",
          "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": "clickup",
        "stepID": "1",
        "action": "taskStatusUpdated",
        "nodeType": "step",
        "actionAppArgs": []
      },
      {
        "id": "2",
        "position": {
          "x": 175,
          "y": 0
        },
        "type": "action",
        "data": {
          "label": "Filter Conditions",
          "layoutDirection": "horizontal",
          "stepNumber": 2,
          "app": {
            "key": "filter",
            "fm_app": "filter"
          },
          "eventSlug": "continue_if",
          "eventTitle": "Continue If Condition Meet",
          "customLabel": "Continue if"
        },
        "parentType": "step",
        "style": {
          "transition": "all 150ms ease-in-out"
        },
        "measured": {
          "width": 82,
          "height": 82
        },
        "actionAppArgs": {
          "filterConditions": {
            "1": [
              {
                "key": "{clickup1.history_items}",
                "condition": "contain_text",
                "value": "resignation accepted"
              }
            ]
          }
        },
        "application": "filter",
        "action": "continue_if",
        "nodeType": "step",
        "stepID": "2",
        "filterConditions": {
          "filterConditions": {
            "1": [
              {
                "key": "{clickup1.history_items}",
                "condition": "contain_text",
                "value": "resignation accepted"
              }
            ]
          }
        }
      },
      {
        "id": "3",
        "position": {
          "x": 350,
          "y": 0
        },
        "type": "action",
        "data": {
          "label": "Find the employee",
          "layoutDirection": "horizontal",
          "stepNumber": 3,
          "app": {
            "key": "zoho_people",
            "fm_app": "zoho_people"
          },
          "eventSlug": "get_employee",
          "eventTitle": "Get Employee"
        },
        "parentType": "step",
        "style": {
          "transition": "all 150ms ease-in-out"
        },
        "measured": {
          "width": 82,
          "height": 82
        },
        "actionAppArgs": [],
        "application": "zoho_people",
        "action": "get_employee",
        "nodeType": "step",
        "stepID": "3"
      },
      {
        "id": "4",
        "position": {
          "x": 525,
          "y": 0
        },
        "type": "action",
        "data": {
          "label": "Terminate employee",
          "layoutDirection": "horizontal",
          "stepNumber": 4,
          "app": {
            "key": "zoho_people",
            "fm_app": "zoho_people"
          },
          "eventSlug": "delete_employee",
          "eventTitle": "Terminate Employee"
        },
        "parentType": "step",
        "style": {
          "transition": "all 150ms ease-in-out"
        },
        "measured": {
          "width": 82,
          "height": 82
        },
        "actionAppArgs": [],
        "application": "zoho_people",
        "action": "delete_employee",
        "nodeType": "step",
        "stepID": "4"
      },
      {
        "id": "5",
        "position": {
          "x": 700,
          "y": 0
        },
        "type": "action",
        "data": {
          "label": "Create Freshdesk ticket (API)",
          "layoutDirection": "horizontal",
          "stepNumber": 5,
          "app": {
            "key": "api",
            "fm_app": "api"
          },
          "eventSlug": "post",
          "eventTitle": "POST"
        },
        "parentType": "step",
        "style": {
          "transition": "all 150ms ease-in-out"
        },
        "measured": {
          "width": 82,
          "height": 82
        },
        "actionAppArgs": [],
        "application": "api",
        "action": "post",
        "nodeType": "step",
        "stepID": "5"
      },
      {
        "id": "6",
        "position": {
          "x": 875,
          "y": 0
        },
        "type": "action",
        "data": {
          "label": "Notify IT",
          "layoutDirection": "horizontal",
          "stepNumber": 6,
          "app": {
            "key": "discord",
            "fm_app": "discord"
          },
          "eventSlug": "channel_message",
          "eventTitle": "Send Channel Message"
        },
        "parentType": "step",
        "style": {
          "transition": "all 150ms ease-in-out"
        },
        "measured": {
          "width": 82,
          "height": 82
        },
        "actionAppArgs": [],
        "application": "discord",
        "action": "channel_message",
        "nodeType": "step",
        "stepID": "6"
      },
      {
        "id": "7",
        "position": {
          "x": 1050,
          "y": 0
        },
        "type": "action",
        "data": {
          "label": "Archive records",
          "layoutDirection": "horizontal",
          "stepNumber": 7,
          "app": {
            "key": "google_drive",
            "fm_app": "google_drive"
          },
          "eventSlug": "upload_file",
          "eventTitle": "Upload a File"
        },
        "parentType": "step",
        "style": {
          "transition": "all 150ms ease-in-out"
        },
        "measured": {
          "width": 82,
          "height": 82
        },
        "actionAppArgs": [],
        "application": "google_drive",
        "action": "upload_file",
        "nodeType": "step",
        "stepID": "7"
      },
      {
        "id": "main_end_placeholder",
        "position": {
          "x": 1225,
          "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-4",
        "source": "3",
        "target": "4",
        "type": "step",
        "data": []
      },
      {
        "id": "e-4-5",
        "source": "4",
        "target": "5",
        "type": "step",
        "data": []
      },
      {
        "id": "e-5-6",
        "source": "5",
        "target": "6",
        "type": "step",
        "data": []
      },
      {
        "id": "e-6-7",
        "source": "6",
        "target": "7",
        "type": "step",
        "data": []
      },
      {
        "id": "e-7-main_end_placeholder",
        "source": "7",
        "target": "main_end_placeholder",
        "type": "placeholder",
        "data": []
      }
    ]
  },
  "workflow_settings": {
    "name": "When resignation accepted in ClickUp, terminate employee in Zoho People, revoke access via Freshdesk ticket, notify IT via Discord, and archive records to Google Drive.",
    "folder": "all",
    "description": "When a ClickUp task moves to a Resignation Accepted status, FlowMattic looks up and terminates the employee in Zoho People, creates a Freshdesk access-revocation ticket through API by FlowMattic, alerts IT on Discord and uploads records to Google Drive. For Freshdesk, enter your domain's /api/v2/tickets URL and API key after import.",
    "status": "off",
    "user_email": "",
    "webhook_queue": "disabled",
    "workflow_auth_key": "",
    "builder_version": "v2",
    "time": "",
    "ai_generated": "yes"
  }
}