Scheduled Report Generator - Create, schedule, and deliver automated reports combining data from multiple Nex tools.
Use this skill when the user asks about:
Trigger phrases: "create a report", "morning briefing", "weekly summary", "schedule a report", "automated report", "report briefing", "compile data", "overzicht", "samenvatting", "dagrapport", "wekelijk rapport"
bash setup.sh
This creates the data directory, initializes the database, and checks for nex-* command availability.
nex-reports create "Monday Morning" \
--schedule "0 8 * * 1" \
--modules health,crm,deliverables,domains \
--output markdown \
--output-target file
Schedule presets: DAILY_MORNING, DAILY_EVENING, WEEKLY_MONDAY, WEEKLY_FRIDAY, MONTHLY_FIRST
nex-reports run "Monday Morning"
nex-reports run --all
nex-reports list
nex-reports show "Monday Morning"
nex-reports edit "Monday Morning" --modules health,crm,expenses
nex-reports delete "Monday Morning"
nex-reports history "Monday Morning" --limit 20
nex-reports modules
nex-reports test health
nex-healthcheck checknex-crm pipelinenex-expenses summary monthlynex-deliverables overduenex-domains expiringnex-vault alertsSet via environment variables:
export IMAP_HOST=imap.gmail.com
export IMAP_USER=your.email@gmail.com
export IMAP_PASS=your-app-password
export IMAP_PORT=993
export TELEGRAM_TOKEN=your-bot-token
export TELEGRAM_CHAT_ID=your-chat-id
Reports and database stored in: ~/.nex-reports/
reports.db - SQLite databasereports/ - Generated report filestemplates/ - (Reserved for future use)Morning briefing combining health, CRM, and deliverables:
nex-reports create "Daily Standup" \
--schedule "0 9 * * 1-5" \
--modules health,crm,deliverables \
--output telegram \
--output-target telegram
Weekly summary to file (every Friday 5pm):
nex-reports create "Weekly Summary" \
--schedule WEEKLY_FRIDAY \
--modules health,crm,expenses,deliverables,domains,vault \
--output markdown \
--output-target file
Custom command in report:
nex-reports create "Git Status" \
--schedule "0 10 * * *" \
--modules custom \
--output markdown
View the last run:
nex-reports show "Daily Standup"
Reports are created with cron expressions. Use an external scheduler (systemd timer, crontab, etc.) to execute:
nex-reports run "Daily Standup"
on a schedule.
Nex Reports by Nex AI | nex-ai.be
共 1 个版本