{
  "openruna_format": "flow-graph-v1",
  "title": "Bitrix24 Chatbot Application Workflow example with Webhook Integration",
  "slug": "bitrix24-chatbot-application-workflow-example-with-webhook-integration",
  "source_filename": "1354_HTTP_Respondtowebhook_Automate_Webhook.json",
  "nodes": [
    {
      "id": "Bitrix24 Handler",
      "name": "Bitrix24 Handler",
      "integration": "webhook",
      "kind": "trigger"
    },
    {
      "id": "Credentials",
      "name": "Credentials",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Validate Token",
      "name": "Validate Token",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Route Event",
      "name": "Route Event",
      "integration": "switch",
      "kind": "logic"
    },
    {
      "id": "Process Message",
      "name": "Process Message",
      "integration": "function",
      "kind": "action"
    },
    {
      "id": "Process Join",
      "name": "Process Join",
      "integration": "function",
      "kind": "action"
    },
    {
      "id": "Process Install",
      "name": "Process Install",
      "integration": "function",
      "kind": "action"
    },
    {
      "id": "Register Bot",
      "name": "Register Bot",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Send Message",
      "name": "Send Message",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Send Join Message",
      "name": "Send Join Message",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Process Delete",
      "name": "Process Delete",
      "integration": "noOp",
      "kind": "logic"
    },
    {
      "id": "Success Response",
      "name": "Success Response",
      "integration": "respondToWebhook",
      "kind": "action"
    },
    {
      "id": "Error Response",
      "name": "Error Response",
      "integration": "respondToWebhook",
      "kind": "action"
    }
  ],
  "edges": [
    {
      "from": "Credentials",
      "to": "Validate Token"
    },
    {
      "from": "Route Event",
      "to": "Process Message"
    },
    {
      "from": "Route Event",
      "to": "Process Join"
    },
    {
      "from": "Route Event",
      "to": "Process Install"
    },
    {
      "from": "Route Event",
      "to": "Process Delete"
    },
    {
      "from": "Process Join",
      "to": "Send Join Message"
    },
    {
      "from": "Register Bot",
      "to": "Success Response"
    },
    {
      "from": "Send Message",
      "to": "Success Response"
    },
    {
      "from": "Process Delete",
      "to": "Success Response"
    },
    {
      "from": "Validate Token",
      "to": "Route Event"
    },
    {
      "from": "Validate Token",
      "to": "Error Response"
    },
    {
      "from": "Process Install",
      "to": "Register Bot"
    },
    {
      "from": "Process Message",
      "to": "Send Message"
    },
    {
      "from": "Bitrix24 Handler",
      "to": "Credentials"
    },
    {
      "from": "Send Join Message",
      "to": "Success Response"
    }
  ]
}