外部钩子环境变量(External hooks environment variables)#
File-based configuration
You can add _FILE to individual variables to provide their configuration in a separate file. Refer to Keeping sensitive data in separate files for more details.
你可以定义 n8n 在每次特定操作运行时执行的外部钩子。有关完整参考,包括可用钩子和文件格式,请参阅 外部钩子。
🌐 You can define external hooks that n8n executes whenever a specific operation runs. Refer to External hooks for the full reference, including available hooks and file formatting.
| 变量 | 类型 | 默认值 | 描述 |
|---|---|---|---|
EXTERNAL_HOOK_FILES |
字符串 | - | 包含后台外部钩子的文件。提供多个文件时,请使用 EXTERNAL_HOOK_FILES_SEPARATOR 中定义的字符分隔 |
EXTERNAL_HOOK_FILES_SEPARATOR |
字符串 | : |
EXTERNAL_HOOK_FILES 的分隔字符。在 Windows 上使用 ; 以避免与驱动器字母路径(如 C:\)冲突 |
EXTERNAL_FRONTEND_HOOKS_URLS |
字符串 | - | 包含前端外部钩子的文件 URL。提供多个 URL 时,请使用冒号分隔列表(":") |