Skip to content

外部钩子环境变量(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 会执行这些钩子。有关可用钩子的示例,请参阅 Backend hooks;有关文件格式的信息,请参阅 Hook files

🌐 You can define external hooks that n8n executes whenever a specific operation runs. Refer to Backend hooks for examples of available hooks and Hook files for information on file formatting.

变量 类型 描述
EXTERNAL_HOOK_FILES 字符串 包含后端外部钩子的文件。多个文件请以冒号分隔的列表形式提供(":")。
EXTERNAL_FRONTEND_HOOKS_URLS 字符串 包含前端外部钩子的文件的 URL。多个 URL 请以冒号分隔的列表形式提供(":")。