Package Information
Downloads: 0 weekly / 3 monthly
Latest Version: 0.1.0
Author: Sensay Team
Available Nodes
Documentation
n8n-nodes-sensay
This is an n8n community node package that allows you to interact with the Sensay API. It provides nodes to manage replicas (virtual assistants), their knowledge base, chat completions, and chat history.
Prerequisites
- n8n v1.0+
- Sensay API Key
Installation
Community Nodes (Recommended Setup)
For users unfamiliar with Node.js:
- Open your n8n instance
- Go to Settings > Community Nodes
- Select Install
- Enter
n8n-nodes-sensayin the Enter npm package name field - Agree to the risks of using community nodes and click Install
Manual Installation
If you wish to install this package manually:
cd YOUR_N8N_FOLDER
npm install n8n-nodes-sensay
Configuration
- In your n8n instance, go to Credentials > New
- Search for "Sensay API" in the credential type dropdown
- Enter your Sensay API key
- Click "Save"
Features
This package includes the following functionality:
Replica (Virtual Assistant) Management
- Get Many Replicas: List and filter available replicas
- Create Replica: Create a new replica with customizable name, description, and greeting
Knowledge Base Management
- Create Knowledge Base Entry: Add new training content to a replica
- Update Knowledge Base Entry: Modify existing training content
- Get Knowledge Base Entry: Retrieve a specific training item
- Get Many Knowledge Base Entries: List and filter training items
- Delete Knowledge Base Entry: Remove training items
Chat Completions
- Complete: Generate chat responses with your replica
Chat History (Web Platform)
- Get Chat History: Retrieve conversation history
- Create Chat History: Add new messages to the chat history
Example Workflows
Create a Replica and Train It
- Start with a "Sensay" node
- Select "Replica" as the resource and "Create" as the operation
- Enter a name and description for your replica
- Use the UUID from the response in a subsequent "Sensay" node
- Select "Training" as the resource and "Create" as the operation
- Add your training content
Chat with a Replica
- Start with a "Sensay" node
- Select "Chat" as the resource and "Complete" as the operation
- Enter your replica UUID and the messages array
- Process the response