🛠 We are currently running final tests on the desktop application and completing setup adjustments to ensure a smooth experience from day one. Full access and official installers for Windows, macOS, and Linux will be available again shortly.

External automations & connectors

Python, Node or Bash scripts to generate PDF and Excel files, send SMTP email or connect to your company APIs.

To query a service from the chat, a connector is the quickest option. For everything else, in Agent Mode DevFlow AI can write, run and debug scripts in Python, Node.js or Bash that generate documents, send emails or call your company's APIs. The script stays in your project, so you can review it, version it and reuse it (even as a scheduled task).

How it works

  1. You describe the automation: what data goes in, what it must produce and where.
  2. The agent creates the script, installs the dependencies it needs (pip install, npm install) and runs it.
  3. If something fails, it reads the error and fixes the script until it works.
  4. Optional: schedule it in ⏰ Tasks so it runs on its own.

The agent uses the interpreters installed on your machine (Python, Node.js, Bash). If one is missing, DevFlow AI offers to install it.

Generating documents (PDF and Excel)

Create scripts/sales_report.py that reads data/sales.csv and generates
reports/sales.xlsx with one sheet per month and a totals row, and
reports/sales.pdf with a summary and a table. Use openpyxl and reportlab.
Run it to check that it works.

Common libraries the agent knows how to use:

FormatPythonNode.js
Excel (.xlsx)openpyxl, pandasexceljs
PDFreportlab, weasyprintpdfkit, puppeteer
Word (.docx)python-docxdocx
CSV / JSONStandard libraryStandard library

Sending emails (SMTP)

Create scripts/send_report.js with nodemailer that sends reports/sales.pdf
as an attachment to the list in data/recipients.txt. Read the SMTP server,
user and password from environment variables (.env file) and add a
.env.example without real values.

Connecting to your company's APIs

Create scripts/sync_customers.py that downloads the customers from
https://erp.mycompany.com/api/customers (token in the ERP_TOKEN variable),
compares them with data/customers.json and shows additions, removals and
changes. Handle pagination and HTTP errors with retries.

Give the agent the API documentation (an excerpt, the OpenAPI specification or a sample response) so the script uses the right fields.

Bash scripts for operations

Create scripts/backup.sh that compresses the storage/ folder with the date in
the name, copies it to /mnt/backups and deletes copies older than 14 days.

On Windows, the agent can write the PowerShell equivalent or ask you to run it with Git Bash or WSL.

Scheduling them

Once tested, create a task in ⏰ Tasks with a tool block that runs the script directly: it runs with no AI and no tokens.

```tool
{"tool": "execute_command", "command": "python scripts/sales_report.py"}
```

Security best practices

  • Credentials out of the code: always ask the script to read passwords and tokens from environment variables or a .env file, and add that .env to .gitignore. Do not paste real keys in the chat.
  • Test in a staging environment first: especially with scripts that send emails or write to external systems. Ask for a --dry-run mode that shows what it would do without doing it.
  • Review before running against production: use Guided Mode to read the script before launching it.
  • DevFlow AI does not post to social networks or send anything on its own: everything is done by the script you see and control, from your machine.
  • You do not need a script to publish your project: use the deployment assistant.

Last updated: November 26, 2026