Description
n8n-nodes-richpanel
This is an n8n community node that provides integration with the Richpanel customer support platform.
n8n is a fair-code licensed workflow automation platform.
Richpanel is a customer service platform for e-commerce businesses that combines live chat, helpdesk, and self-service capabilities.
Table of Contents
- Installation
- Prerequisites
- Credentials
- Supported Operations
- Usage Examples
- Compatibility
- Resources
- License
Installation
Follow the installation guide in the n8n community nodes documentation.
Community Node Installation
1. Go to Settings > Community Nodes in your n8n instance
2. Select Install
3. Enter n8n-nodes-richpanel in Enter npm package name
4. Agree to the risks and select Install
After installing the node, you can use it like any other node in n8n.
Manual Installation
To get started, install the package in your n8n root directory:
npm install n8n-nodes-richpanel
For Docker-based deployments, add the following line to your package.json in the n8n custom nodes section:
"n8n-nodes-richpanel": "^1.0.0"
Prerequisites
Credentials
To use this node, you’ll need a Richpanel API key. Here’s how to obtain it:
1. Log in to your Richpanel account
2. Navigate to Settings → Integrations → API Keys
3. Generate a new API key or copy an existing one
4. In n8n, create new Richpanel API credentials
5. Paste your API key in the API Key field
Supported Operations
Conversation
Customer
Order
Subscription
User (Agent)
Tag
Channel
Usage Examples
Example 1: Create a Conversation from Email
This workflow creates a new support ticket when an email is received:
1. Add an Email Trigger node (or any other trigger)
2. Add the Richpanel node
3. Configure:
– Resource: Conversation
– Operation: Create
– Message Body: {{$json.body}}
– Channel: Email
– From: {{$json.from}}
– To: support@yourcompany.com
Example 2: Create or Update Customer
Sync customer data from your e-commerce platform:
1. Add a trigger node (e.g., Webhook, Shopify)
2. Add the Richpanel node
3. Configure:
– Resource: Customer
– Operation: Create or Update
– Customer Fields:
– First Name: {{$json.customer.first_name}}
– Last Name: {{$json.customer.last_name}}
– Email: {{$json.customer.email}}
– Phone: {{$json.customer.phone}}
Example 3: Create Order
Create an order in Richpanel when a purchase is completed:
1. Add a trigger node from your e-commerce platform
2. Add the Richpanel node
3. Configure:
– Resource: Order
– Operation: Create or Update
– App Client ID: Your API Key
– Order ID: {{$json.order.id}}
– Amount: {{$json.order.total}}
– User UID: {{$json.customer.id}}
– Items:
[
{
"id": "{{$json.items[0].id}}",
"price": {{$json.items[0].price}},
"name": "{{$json.items[0].name}}",
"quantity": {{$json.items[0].quantity}}
}
]
Example 4: Add Tags to Conversation
Automatically tag conversations based on keywords:
1. Add a Richpanel Trigger or webhook
2. Add an IF node to check for specific keywords
3. Add the Richpanel node
4. Configure:
– Resource: Conversation
– Operation: Add Tags
– Conversation ID: {{$json.ticket.id}}
– Tags: urgent, billing (comma-separated)
Example 5: Get Customer Information
Retrieve customer details for further processing:
1. Add a trigger node
2. Add the Richpanel node
3. Configure:
– Resource: Customer
– Operation: Get
– Type: Email
– Customer Identifier: customer@example.com
Pagination
For operations that return multiple results (Get Many), pagination is supported:
Example usage:
1. Set “Return All” to true to automatically fetch all pages
2. Or manually control pagination with “Page” and “Per Page” options
API Rate Limiting
Richpanel API has the following rate limits:
– X-RateLimit-Limit: Total allowed requests
– X-RateLimit-Remaining: Remaining requests
– Retry-After: Seconds to wait when rate limited
The node will return rate limit errors if you exceed these limits. Consider adding delay nodes in your workflows to stay within limits.
Compatibility
Resources
Development
To develop and test this node locally:
Clone the repository
git clone https://github.com/yourusername/n8n-nodes-richpanel.git
cd n8n-nodes-richpanelInstall dependencies
npm installBuild the node
npm run buildLink to your local n8n installation
npm link
cd ~/.n8n/nodes
npm link n8n-nodes-richpanel
Support
For issues, questions, or contributions:
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
1. Fork the repository
2. Create your feature branch (git checkout -b feature/AmazingFeature)
3. Commit your changes (git commit -m 'Add some AmazingFeature')
4. Push to the branch (git push origin feature/AmazingFeature)
5. Open a Pull Request