Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

n8n webhook

AstrBot 插件, 用于触发并调用n8n webhook

AstrBot plugin for triggering and calling n8n webhooks.

支持

调用方法

Note

在对话中使用/n8n触发调用n8n, 比如/n8n ob:#创意 #想法 #日志 可以做一个n8n的插件 则会调用n8n webhook,内容是

{ "message": "ob:#创意 #想法 #日志 可以做一个n8n的插件", "senderName": "somebody" }

1. 配置当前插件(同时配置n8n webhook)

Endpoint:
POST https://your-n8n-domain.com/webhook/your-path

Basic Auth:

  • username: 'username-you-need-change'
  • password: 'password-you-need-change'

Request Body (JSON):

{
  "message": "消息内容或base64编码的图片",
  "senderName": "消息发送人"
}

Response:

{
  "success": true,
  "data": "n8n响应的message"
}

可以在n8n导入n8n_webhook_example案例使用本插件对接

About

This is an Astrbot plugin used to call n8n webhooks.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

Generated from Soulter/helloworld