#Webhook Conversation

1 messages Β· Page 1 of 1 (latest)

bright cloak
#

Hi Community! πŸ‘‹

I'm excited to share a new custom integration I've been working on that bridges the gap between Home Assistant and n8n workflows through conversation agents.

What is n8n Conversation?

This integration allows you to use your n8n workflows as conversation agents in Home Assistant, enabling powerful automation and AI-driven interactions with your smart home. Think of it as a way to create your own custom voice assistant that can interact with both your Home Assistant entities and external services through n8n.

Key Features

πŸ€– Use n8n workflows as conversation agents - Transform your n8n automations into conversational interfaces
πŸ“‘ Rich context sharing - Automatically sends conversation history and exposed entities to your n8n webhooks
🏠 Seamless voice integration - Works with Home Assistant's voice assistant pipeline system
πŸ”§ Easy configuration - Simple webhook setup with configurable response fields

How It Works

  1. Set up the integration in Home Assistant with your n8n webhook URL
  2. Create an n8n workflow that receives conversation data and entity states
  3. Build your logic - Use AI services, process entity data, trigger automations
  4. Return responses that get spoken back through your voice assistant

Installation

Quick install via HACS:
My Home Assistant

Or manually add the repository: https://github.com/eulemitkeule/n8n-conversation

I'd love to hear your thoughts and see what creative automations you build with this! The integration is open source and I'm always open to feedback and contributions.

Links:

Happy automating! 🏠✨

ancient mica
#

(when n8n core integration πŸ‘€?)

bright cloak
# ancient mica (when n8n core integration πŸ‘€?)

Maybe in the future when this is a bit more feature complete and robust I could make it a core integration.
Would you recommend to split up the conversation part and any other features into different integrations or would a single n8n integration be better?

ancient mica
#

Oh I am not sure about the conversation part, but I think n8n would be cool to have in HA to kick off workflows

agile glacier
#

Excited to see where you get to with this. I've been playing around with it in a dev environment to test it out. So far so good 😊

I was already using n8n (and the ollama hack), but now I've had a play with this I'm wondering if it should be called something like "webhook_conversation" and be agnostic to the other platform.

bright cloak
#

I'm wondering if it should be called something like "webhook_conversation"

That's actually a great idea since it doesn't really have anything n8n specific to it. I might rename the project. Thanks for the idea!

agile glacier
#

You're welcome πŸ€—

I've started trying to add auth options to match the webhook options in n8n, but I've not worked on a HA integration before so it's a bit slow going πŸ˜”

dark badge
#

Can somone enlighten me? What is n8n? Tried to figure it out from the website but didn’t really get anywhere.

agile glacier
bright cloak
#

Webhook Conversation

agile glacier
#

I've just seen that you have already added Basic Auth before I could finish my PR. Thanks for getting this done so quickly πŸ™

#

How can I best help you and contribute to this integration?

bright cloak
#

I just added support for TTS and STT.

#

Other notable changes in the latest updates:

  • The integration now uses config subentries
  • Conversation payloads now include more metadata like language and voice satellite device info
  • The example workflow now supports multiple attachments
#

Planned features include:

  • Support for the wakeword platform
  • Support for image generation tasks
  • Support for TTS streaming
runic flame
#

Hello @bright cloak
Could you give a demo of this project and post it on YouTube. It sounds interesting.
Thanks

bright cloak
#

Don't have that time probably. But I can answer questions if you have any πŸ™‚