{
  "openruna_format": "flow-graph-v1",
  "title": "Bitrix24 Task Form Widget Application Workflow example with Webhook Integration",
  "slug": "bitrix24-task-form-widget-application-workflow-example-with-webhook-integration",
  "source_filename": "1356_Code_Webhook_Import_Webhook.json",
  "nodes": [
    {
      "id": "Bitrix24 Handler",
      "name": "Bitrix24 Handler",
      "integration": "webhook",
      "kind": "trigger"
    },
    {
      "id": "Extract Credentials",
      "name": "Extract Credentials",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Check Event Type",
      "name": "Check Event Type",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Is Installation?",
      "name": "Is Installation?",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Register Placement",
      "name": "Register Placement",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Process Settings",
      "name": "Process Settings",
      "integration": "function",
      "kind": "action"
    },
    {
      "id": "Installation Response",
      "name": "Installation Response",
      "integration": "respondToWebhook",
      "kind": "action"
    },
    {
      "id": "Has Valid Settings?",
      "name": "Has Valid Settings?",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Get Task Data",
      "name": "Get Task Data",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Format Task Data",
      "name": "Format Task Data",
      "integration": "function",
      "kind": "action"
    },
    {
      "id": "Task View Response",
      "name": "Task View Response",
      "integration": "respondToWebhook",
      "kind": "action"
    },
    {
      "id": "Error Response",
      "name": "Error Response",
      "integration": "respondToWebhook",
      "kind": "action"
    },
    {
      "id": "Save Installation Settings",
      "name": "Save Installation Settings",
      "integration": "readWriteFile",
      "kind": "action"
    },
    {
      "id": "Set Settings Data",
      "name": "Set Settings Data",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Create Settings File",
      "name": "Create Settings File",
      "integration": "convertToFile",
      "kind": "action"
    },
    {
      "id": "Read Installation Settings",
      "name": "Read Installation Settings",
      "integration": "readWriteFile",
      "kind": "action"
    },
    {
      "id": "If Installation finished",
      "name": "If Installation finished",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Installation finished Response",
      "name": "Installation finished Response",
      "integration": "respondToWebhook",
      "kind": "action"
    },
    {
      "id": "Merge Installation info",
      "name": "Merge Installation info",
      "integration": "merge",
      "kind": "logic"
    },
    {
      "id": "Extract Installation Settings",
      "name": "Extract Installation Settings",
      "integration": "extractFromFile",
      "kind": "action"
    },
    {
      "id": "Merge request data with installation settings",
      "name": "Merge request data with installation settings",
      "integration": "merge",
      "kind": "logic"
    }
  ],
  "edges": [
    {
      "from": "Get Task Data",
      "to": "Format Task Data"
    },
    {
      "from": "Bitrix24 Handler",
      "to": "Extract Credentials"
    },
    {
      "from": "Check Event Type",
      "to": "Is Installation?"
    },
    {
      "from": "Format Task Data",
      "to": "Task View Response"
    },
    {
      "from": "Is Installation?",
      "to": "If Installation finished"
    },
    {
      "from": "Is Installation?",
      "to": "Read Installation Settings"
    },
    {
      "from": "Is Installation?",
      "to": "Merge request data with installation settings"
    },
    {
      "from": "Process Settings",
      "to": "Has Valid Settings?"
    },
    {
      "from": "Set Settings Data",
      "to": "Create Settings File"
    },
    {
      "from": "Register Placement",
      "to": "Merge Installation info"
    },
    {
      "from": "Extract Credentials",
      "to": "Check Event Type"
    },
    {
      "from": "Has Valid Settings?",
      "to": "Get Task Data"
    },
    {
      "from": "Has Valid Settings?",
      "to": "Error Response"
    },
    {
      "from": "Create Settings File",
      "to": "Save Installation Settings"
    },
    {
      "from": "Merge Installation info",
      "to": "Installation Response"
    },
    {
      "from": "If Installation finished",
      "to": "Installation finished Response"
    },
    {
      "from": "If Installation finished",
      "to": "Register Placement"
    },
    {
      "from": "If Installation finished",
      "to": "Set Settings Data"
    },
    {
      "from": "Read Installation Settings",
      "to": "Extract Installation Settings"
    },
    {
      "from": "Save Installation Settings",
      "to": "Merge Installation info"
    },
    {
      "from": "Extract Installation Settings",
      "to": "Merge request data with installation settings"
    },
    {
      "from": "Merge request data with installation settings",
      "to": "Process Settings"
    }
  ]
}