Koskamo

Agent use case: Query database and generate alert workflows

Document v1 · published by Koskamo · updated 2026-10-18

Original source

The user receives immediate answers to natural language data questions and sets up automated email or webhook alerts for specific data conditions without writing SQL manually.

The agent first uses list_connections to verify available databases. It then uses ask_database or run_query to answer user questions about data, ensuring queries are read-only. Finally, it uses create_workflow to define a SQL check that triggers alerts (email/webhook) when specific conditions are met, such as open tickets exceeding a threshold.

Prompt: Check my database connections. Then, tell me how many customers we have on each plan. After that, create a workflow that emails me every Monday if any support ticket has been open for more than 7 days.

Source and provenance

Original source
www.aifordatabase.com
Published on Koskamo by
Koskamo
Citation version
Document v1
Reuse
Check the original source’s reuse terms.

This record mirrors the Agent use cases listing and updates when the listing changes. To correct it, suggest an edit on the listing.

Version history

  1. Synced from the directory

    Version 1