Databases
Database queries are read-only by enforcement: a statement other than a read is refused before it reaches your database, so agents cannot change your data. Reads do not wait for approval.
SQL Database takes a Dialect (postgresql or mysql) with the host, port, database, username and password. PostgreSQL and MongoDB have their own connections. Credentials are stored encrypted.
Built-in tools
| System | Tool | What it does | Waits for a person? |
|---|---|---|---|
| PostgreSQL | postgresQuery | Execute a parameterised SELECT query against a PostgreSQL database | No, it only reads |
| SQL Database (PostgreSQL or MySQL) | sqlQuery | Execute a parameterised SQL SELECT query against the configured on-prem database (PostgreSQL or MySQL) | No, it only reads |
| MongoDB | mongoQuery | Query a MongoDB collection with a filter document | No, it only reads |
| Tally ERP | tallyXmlQuery | Fetch data from Tally ERP via its XML/HTTP gateway | No, it only reads |
Tally runs on your own PC; see Tally for the Tally Connector that reaches it from the hosted service, and for posting approved entries. To keep database and Tally records on your own network, with only computed results sent, see the Site Agent.
Which of these an agent has depends on the agent: each agent is given the tools its work needs. Connect a system on the step that uses it, from the step's Integrations tab. See Connecting Systems.