Back to Library

SalesIQ Bot - ROLLerUP Knowledge Base

salesiq_bot/README.md readme
Updated: 2026-03-07 02:45
# SalesIQ Bot - ROLLerUP Knowledge Base

This Deluge bot connects Zoho SalesIQ to the ROLLerUP knowledge base semantic search API.

## Architecture

```
Visitor Question → SalesIQ → Deluge Bot → KB API → Semantic Search → Response
```

## Setup Steps

1. **Enable KB Website API** on droplet (port 5000)
2. **Create SalesIQ Bot** with Deluge scripting
3. **Configure webhook** to call the API
4. **Test and refine** responses

## API Endpoint

```
GET http://68.183.198.0:5000/api/search?q=your+question&limit=3
```

Returns:
```json
{
  "query": "fire shutter warranty",
  "results": [
    {
      "type": "document",
      "source": "warranty_policy.pdf",
      "content": "Fire shutters carry a 5-year warranty...",
      "category": "warranty_maintenance",
      "similarity": 0.85
    }
  ]
}
```

## Files

- `bot_logic.dg` - Main Deluge bot script
- `fallback_responses.json` - Fallback answers when API unavailable
- `greeting_flow.dg` - Initial greeting and routing