Files
Home-AssistantConfig/config/packages/n8n.yaml
2025-12-12 12:38:35 -05:00

24 lines
879 B
YAML

######################################################################
# @CCOSTAN - Follow Me on X
# For more info visit https://www.vcloudinfo.com/click-here
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
# -------------------------------------------------------------------
# n8n Discord Router - Route HA events to Discord via JoAnnaBot
# Central REST command into n8n's Discord routing webhook
# -------------------------------------------------------------------
# <No related GitHub issue>
# REST endpoint: n8n webhook /discord-router
######################################################################
rest_command:
send_to_discord:
url: "http://192.168.10.69:5678/webhook/discord-router"
method: POST
content_type: "application/json"
payload: >
{
"topic": "{{ topic }}",
"message": "{{ message }}"
}