Monitoring Bot Tasks
Every Flexus bot has a kanban board that shows its current work. This guide explains how to read the board, understand task states, and troubleshoot issues.
Accessing the Kanban Board
Multiple ways to view a bot’s kanban:
- Click the board icon next to the bot in the sidebar
- Open the bot and click the “Tasks” tab
- From chat — click “View Tasks” in the toolbar
Understanding the Board
┌─────────────┬─────────────┬─────────────┬─────────────┐│ INBOX │ TODO │ IN PROGRESS │ DONE │├─────────────┼─────────────┼─────────────┼─────────────┤│ │ │ │ ││ ┌───────┐ │ ┌───────┐ │ ┌───────┐ │ ┌───────┐ ││ │Task 3 │ │ │Task 1 │ │ │Task 2 │ │ │Task 0 │ ││ └───────┘ │ └───────┘ │ └───────┘ │ └───────┘ ││ │ │ │ ││ ┌───────┐ │ │ │ ││ │Task 4 │ │ │ │ ││ └───────┘ │ │ │ ││ │ │ │ │└─────────────┴─────────────┴─────────────┴─────────────┘Columns
| Column | Purpose | Who Moves Tasks Here |
|---|---|---|
| Inbox | New tasks arrive here | External events, messages, webhooks |
| Todo | Prioritized, ready to work | Bot (during task sort schedule) |
| In Progress | Currently being processed | Scheduler (automatically) |
| Done | Completed tasks | Bot (when finished) |
Task Flow
External Event ──► INBOX ──► TODO ──► IN PROGRESS ──► DONE │ │ │ │ │ │ (sort) (assign) (complete) by bot by sched by botReading Task Cards
Each task card shows:
┌─────────────────────────────────┐│ Task Title ││ Short description of the task │├─────────────────────────────────┤│ Created: 2 hours ago ││ Source: Slack #support │└─────────────────────────────────┘Click a card to see full details:
- Complete description
- Payload data (JSON)
- Resolution (for done tasks)
- Associated thread (if any)
Task States Explained
Inbox
Tasks in inbox are:
- New and unprocessed
- Waiting for the bot to prioritize them
- May be merged with similar tasks
Common sources:
- Slack/Discord messages
- Email received
- Webhook triggers
- Manual creation
Todo
Tasks in todo are:
- Reviewed and prioritized by the bot
- Ready to be worked on
- Waiting for the scheduler to assign
In Progress
Tasks in progress are:
- Actively being worked on
- Have an associated conversation
- Limited by concurrency (usually 3-5 max)
Done
Tasks in done are:
- Completed successfully
- Have a resolution message
- Kept for history (auto-cleaned after time)
Monitoring Bot Activity
Is the Bot Working?
Check these indicators:
- Tasks moving — Cards should flow left to right
- In Progress count — Should have tasks if todo has items
- Last activity — Recent timestamps on done tasks
- Bot status — Online indicator in sidebar
Understanding Timing
Bots work on schedules, not instantly:
| Schedule | Typical Frequency |
|---|---|
| Task Sort | Every 5-10 minutes |
| Todo Processing | Every 5 minutes |
| Custom Tasks | As configured |
A new task might sit in inbox for up to 10 minutes before being sorted, then another 5 minutes before being assigned. This is normal.
Common Issues
Tasks Stuck in Inbox
Possible causes:
- Bot isn’t running
- Bot has no task sort schedule
- Bot is over budget
Solutions:
- Check bot status (online?)
- Verify bot has
SCHED_TASK_SORTin its schedule - Check budget in workspace settings
Tasks Stuck in Todo
Possible causes:
- All in-progress slots are full
- Scheduler isn’t running
- Bot is paused
Solutions:
- Wait for in-progress tasks to complete
- Check scheduler service (self-hosted)
- Verify bot is not paused
Tasks Stuck in Progress
Possible causes:
- Bot crashed mid-task
- Task is taking very long
- LLM is rate-limited
Solutions:
- Check bot logs (self-hosted)
- Wait longer for complex tasks
- Check API status of LLM provider
No Tasks Appearing
Possible causes:
- No events triggering task creation
- Integration not configured
- Messages going to wrong bot
Solutions:
- Test the integration (send a message)
- Verify integration credentials
- Check which bot handles which channels
Manual Task Management
Creating a Task Manually
- Click ”+” in the inbox column
- Enter title and description
- Click “Create”
Moving Tasks
Some operations are manual:
- Drag tasks to reorder within a column
- Some systems allow manual column moves
Generally, let the bot manage its own kanban. Manual intervention can confuse the workflow.
Viewing Task Details
Click any task card to open the detail view:
┌─────────────────────────────────────────────────────────┐│ Task: Support request from John │├─────────────────────────────────────────────────────────┤│ Status: Done ││ Created: Jan 15, 2024 10:30 AM ││ Completed: Jan 15, 2024 10:45 AM │├─────────────────────────────────────────────────────────┤│ Description: ││ Customer asking about pricing for enterprise plan │├─────────────────────────────────────────────────────────┤│ Resolution: ││ Responded with pricing information and scheduled call │├─────────────────────────────────────────────────────────┤│ Payload: ││ { "source": "slack", "channel": "#support", ... } │├─────────────────────────────────────────────────────────┤│ [View Conversation] [Close] │└─────────────────────────────────────────────────────────┘Associated Conversation
If a task has an associated thread, click “View Conversation” to see:
- The full chat history
- Tool calls made
- Bot’s responses
Best Practices
- Check daily — Quick glance at board health
- Monitor done tasks — Verify quality of completions
- Watch inbox growth — If it grows, bot may be struggling
- Review resolutions — Ensure bot is doing good work
- Clear old done tasks — They auto-clear, but manual cleanup helps