This repository contains n8n nodes for interacting with the Kipps.AI platform. These nodes allow you to integrate your Kipps.AI chatbots and voicebots into your n8n workflows.
This package includes the following nodes:
- Kipps.AI Chatbot: Interact with a Kipps.AI chatbot.
- Kipps.AI Voicebot: Initiate, interact with, and end calls with a Kipps.AI voicebot.
-
Clone this repository:
git clone https://github.com/KIPPS-AI/n8n-nodes-kipps.git
-
Navigate to the cloned directory:
cd n8n-nodes-kipps
-
Build the package:
npm install npm run build
-
Run the Docker container:
docker run -it --rm -p 5678:5678 ` -v "${env:USERPROFILE}\.n8n:/home/node/.n8n" ` -v "${PWD}:/home/node/.n8n/custom" ` -e N8N_CUSTOM_EXTENSIONS_MODE=paths` -e N8N_CUSTOM_EXTENSIONS=/home/node/.n8n/custom ` n8nio/n8n
On Linux/macOS, use:
docker run -it --rm -p 5678:5678 \ -v "$HOME/.n8n:/home/node/.n8n" \ -v "$(pwd):/home/node/.n8n/custom" \ -e N8N_CUSTOM_EXTENSIONS_MODE=paths \ -e N8N_CUSTOM_EXTENSIONS=/home/node/.n8n/custom \ n8nio/n8n
- Install the package:
npm install n8n-nodes-kipps
- Restart your n8n instance.
If you are running n8n in a Docker container, you can mount the nodes into your container.
- Clone this repository:
git clone https://github.com/KIPPS-AI/n8n-nodes-kipps.git
- Add the following to your
docker-compose.yml
file:volumes: - ./n8n-nodes-kipps:/root/.n8n/custom
- Restart your n8n container.
To use these nodes, you will need a Kipps.AI API key.
-
Obtain your API Key:
- Log in to your Kipps.AI account at https://app.kipps.ai/.
- Navigate to the API settings page (you might find it under "Developers" section).
- Generate a new API key.
-
Add the Kipps.AI Credential in n8n:
- In your n8n instance, go to the "Credentials" section.
- Click on "Add credential".
- Search for "Kipps AI API" and select it.
- Enter your API key in the credential configuration.
- Save the credential.
- Agent ID: The ID of the chatbot agent to use.
- Message: The message to send to the chatbot.
- Session ID: Optional Conversation ID for context management.
- Action: The action to perform.
- Start Call: Initiates a call.
- Send Audio/Text: Sends audio or text to the call.
- End Call: Ends the call.
- Voicebot ID: The ID of the voicebot to use.
- Phone Number: The phone number to call (required for
Start Call
). - Room Name: The room name of the call to interact with.
- Input Type: The type of input to send (
Text
orAudio
). - Text Input: The text to send to the voicebot.
- Audio Input: The path to the audio file to send.
This example shows how to send a message to a Kipps.AI chatbot and receive a response.
- Add the Kipps.AI Chatbot node to your workflow.
- Configure the node with your Agent ID and the message you want to send.
- Execute the workflow.
The node will output the chatbot's response.
This example shows how to initiate a call, send a message, and end the call with a Kipps.AI voicebot.
- Start a call:
- Add the Kipps.AI Voicebot node to your workflow.
- Set the Action to
Start Call
. - Provide the Voicebot ID and the Phone Number to call.
- Send a message:
- Add another Kipps.AI Voicebot node.
- Set the Action to
Send Audio/Text
. - Provide the Room Name from the previous step.
- Set the Input Type to
Text
and enter your message.
- End the call:
- Add a final Kipps.AI Voicebot node.
- Set the Action to
End Call
. - Provide the Room Name.
- 401 Unauthorized: Make sure your API key is correct and has the necessary permissions.
- 404 Not Found: Double-check the Agent ID or Voicebot ID.
- Network Errors: Ensure that your n8n instance can reach the Kipps.AI API (
https://backend.kipps.ai
). - Credential Mistakes: Verify that you have created a Kipps.AI API credential and selected it in the node.