Saltar al contenido principal
Guides

Database Connectors

Connect your data sources to WorkFlows. Once connected, the AI engine has full context of your schema and data to answer questions in natural language.

Setup via Dashboard

The easiest way to add a connector is through the Dashboard:

  1. Go to Dashboard → Data
  2. Click Add Connection
  3. Select your database type and fill in the connection details
  4. Click Test Connection to verify
  5. Save. WorkFlows will read your schema automatically.

PostgreSQL

Available

Connect to any PostgreSQL 12+ database. WorkFlows reads your schema and uses it as context for AI queries.

Connection fields

FieldExampleRequired
Hostdb.example.comRequired
Port5432Required
DatabaseanalyticsRequired
Usernameworkflows_readerRequired
Password••••••••Required
SSLEnabled (recommended)Optional

Connection string format

Connection String
postgresql://workflows_reader:password@db.example.com:5432/analytics?sslmode=require

Create via API

cURL
curl -X POST https://www.workflows.com.es/api/v1/connections \
  -H "Authorization: Bearer wf_live_your_key" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Production Analytics DB",
    "dbType": "postgresql",
    "host": "db.example.com",
    "port": 5432,
    "database": "analytics",
    "username": "workflows_reader",
    "password": "your_password",
    "ssl": true
  }'
Create a read-only user for WorkFlows to limit access
Enable SSL/TLS for connections over the internet
Whitelist WorkFlows IP addresses in your firewall if needed
WorkFlows reads schema metadata on connection to provide better AI context

MySQL

Available

Connect to MySQL 8.0+ or MariaDB 10.5+ databases. Same AI-powered querying capabilities as PostgreSQL.

Connection fields

FieldExampleRequired
Hostmysql.example.comRequired
Port3306Required
DatabaseoperationsRequired
Usernameworkflows_readerRequired
Password••••••••Required
SSLEnabled (recommended)Optional

Connection string format

Connection String
mysql://workflows_reader:password@mysql.example.com:3306/operations

Create via API

cURL
curl -X POST https://www.workflows.com.es/api/v1/connections \
  -H "Authorization: Bearer wf_live_your_key" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Operations MySQL",
    "dbType": "mysql",
    "host": "mysql.example.com",
    "port": 3306,
    "database": "operations",
    "username": "workflows_reader",
    "password": "your_password",
    "ssl": true
  }'
Grant SELECT-only permissions: GRANT SELECT ON operations.* TO 'workflows_reader'@'%'
Enable SSL with require_secure_transport = ON on the server side
WorkFlows supports MySQL 8.0+ and MariaDB 10.5+

REST API

Available

Connect external REST APIs as data sources. WorkFlows can query your API endpoints and use the responses as context for AI analysis.

Connection fields

FieldExampleRequired
Base URLhttps://api.example.com/v1Required
Auth HeaderAuthorization: Bearer tokenOptional
NameCRM APIRequired

Create via API

cURL
curl -X POST https://www.workflows.com.es/api/v1/connections \
  -H "Authorization: Bearer wf_live_your_key" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "CRM API",
    "dbType": "rest_api",
    "host": "https://api.example.com/v1",
    "headers": {
      "Authorization": "Bearer your_api_token"
    }
  }'
The REST API connector forwards requests through WorkFlows' backend
Configure authentication headers to access protected endpoints
Response data is used as context for AI-powered analysis

Security

  • All credentials are encrypted at rest with AES-256-GCM
  • Connections are tested server-side; credentials never leave the backend
  • We recommend creating read-only database users for WorkFlows
  • SSL/TLS is supported and recommended for all database connections

Coming Soon

MongoDB

NoSQL document database support

Soon

Snowflake

Cloud data warehouse

Soon

BigQuery

Google Cloud analytics data warehouse

Soon

Redshift

Amazon cloud data warehouse

Soon

CSV / Excel upload

You can also upload CSV and Excel files directly from the Dashboard. Go to Dashboard → Dataand drag & drop your files. WorkFlows will parse and index them for AI queries.