Building the Dify Scheduler
Last updated
Last updated
Author: , creator of and
Tired of manually running Dify Workflows? Missing scheduled task support? With Dify Schedule Assistant, you can easily add scheduling capabilities to Dify Workflows. Using GitHub Actions, you can set up automated task execution with real-time notifications to optimize your workflow efficiency.
Note: This tool only supports Dify Workflow applications
🔄 Parallel execution of multiple Workflows
⏰ Flexible scheduling (Default: UTC+8 06:30)
📱 Multi-channel notifications
Enterprise: WeCom, DingTalk, Feishu
Personal: WeChat, Email, Server Chan, Pushplus
🔒 Secure execution via GitHub Actions
🐲 Support for QingLong Panel deployment
Two deployment options available:
Online (GitHub Actions)
Local (QingLong Panel)
Configure Secrets Go to Settings -> Secrets -> New repository secret and add:
DIFY_BASE_URL
Dify API URL (Default: https://api.dify.ai/v1)
No
DIFY_TOKENS
Dify Workflow API keys (separate with ;
)
Yes
DIFY_INPUTS
Workflow variables (JSON format)
No
Notification Settings (Optional)
EMAIL_USER
Sender email (SMTP enabled)
EMAIL_PASS
SMTP password
EMAIL_TO
Recipient emails (separate with ,
)
PUSHPLUS_TOKEN
SERVERPUSHKEY
DINGDING_WEBHOOK
DingTalk bot webhook
DingTalk
WEIXIN_WEBHOOK
WeCom bot webhook
WeCom
FEISHU_WEBHOOK
Feishu bot webhook
Feishu
AIBOTK_KEY
AIBOTK_ROOM_RECIVER
WeChat group name
Group chat
AIBOTK_CONTACT_RECIVER
WeChat contact nickname
Private chat
Enable Workflow Go to Actions tab and enable workflows.
Add Subscription Run:
Install Dependencies
Go to【Dependencies】->【NodeJS】
Install axios
Configure Environment Variables
DIFY_TOKENS
: Workflow API keys (Required)
DIFY_BASE_URL
: API URL (Optional)
Separate multiple tokens with ;
Notifications
Use QingLong's built-in notification system
Login to Dify console
Access target Workflow
Visit API Reference page
Get API key
Connection Issues
Ensure private Dify instances have internet access
Verify network and firewall settings
Execution Errors
Verify application type is Workflow
Check DIFY_INPUTS
JSON format
Review logs for missing variables
Report other issues on GitHub (remove sensitive information).
Welcome community contributions:
Feature suggestions
Bug fixes
Documentation improvements
New features
Participate via Pull Requests or Issues.
Fork Repository Visit and fork it.
token
key
API Key
QingLong Panel is an open-source task scheduler.
Install QingLong Panel Follow instructions at .