Package Information
Available Nodes
Documentation
n8n-nodes-recombee
This is an n8n community node that lets you integrate Recombee's AI-powered recommendation engine into your n8n workflows. Recombee provides powerful personalization capabilities for various use cases including e-commerce, content recommendations, and more.
n8n is a fair-code licensed workflow automation platform.
Installation
Operations
Credentials
Compatibility
Usage
Resources
Installation
Follow the installation guide in the n8n community nodes documentation.
Operations
This package includes the following nodes:
User Management Nodes
Add User
Creates a new user in your Recombee database. Users are specified using unique string identifiers that can contain digits, Latin letters, underscores, colons, minus signs, at signs, and dots.
Delete User
Removes a user from your Recombee database. If the user has any interactions (purchases, ratings, bookmarks, cart additions, or detail views), they will be deleted in cascade.
Set User Values
Sets or updates properties for a specific user. Properties can include any user-related information like preferences, demographics, or behavioral data.
Item Management Nodes
Add Item
Adds a new item to your Recombee catalog. Items are specified using unique string identifiers with the same format as user IDs.
Delete Item
Removes an item from your catalog. All associated interactions and series entries will be deleted in cascade. For items that are no longer available but should be kept for historical data, use ReQL filters instead of deletion.
Set Item Values
Sets or updates properties for a specific item. Properties can include product details, categories, prices, and any other item-related information.
Interaction Tracking Nodes
Add Detail View
Records when a user views an item. This is used to track user interest and build viewing history.
Add Purchase
Records when a user purchases an item. This is a strong signal for recommendation algorithms.
Add Rating
Records a user's explicit rating for an item. Ratings can be used to improve recommendation accuracy.
Add Cart Addition
Records when a user adds an item to their shopping cart. This helps track purchase intent.
Recommendation Nodes
Recommend Items to User
Generates personalized item recommendations for a specific user based on their interaction history and preferences.
Recommend Items to Item
Finds items similar to a given item, useful for "similar items" or "you might also like" features.
Recommend Items to Item Segment
Recommends items to users based on item segments, useful for category-based recommendations.
Recommend Next Items
Suggests the next items in a sequence, useful for content consumption or learning paths.
Search Nodes
Search Items
Performs a search across your item catalog with support for filtering and boosting.
Search Item Segments
Searches through item segments with similar capabilities to item search.
Batch Operations
Batch
Executes multiple requests in a single API call. Limited to 10,000 requests server-side and 30 requests client-side.
Credentials
To use these nodes, you need:
- A Recombee account (sign up at recombee.com)
- Your Recombee database ID
- Your Recombee secret token
You can find these credentials in your Recombee dashboard under the API section.
Compatibility
- Latest n8n version: 1.93
- Tested with n8n versions: 1.93
- Requires Node.js version 20 or higher
Usage
Basic Data Synchronization
User Synchronization
This workflow syncs user data from your system to Recombee:
- Trigger: Schedule (daily sync) or Webhook (when user data changes)
- Set User Values
{ "userId": "user123", "values": { "name": "John Doe", "email": "[email protected]", "preferences": ["electronics", "books"], "lastActive": "2024-03-20T10:00:00Z", "subscriptionTier": "premium" } }
Product/Item Synchronization
This workflow syncs product catalog from your system to Recombee:
- Trigger: Schedule (daily sync) or Webhook (when product data changes)
- Set Item Values
{ "itemId": "product123", "values": { "name": "Wireless Headphones", "category": "electronics", "price": 199.99, "brand": "TechBrand", "inStock": true, "tags": ["audio", "wireless", "bluetooth"], "lastUpdated": "2024-03-20T10:00:00Z" } }
Basic Recommendation Workflow
- Add a Recombee credential
- Use the "Add User" node to create a user
- Use the "Add Item" node to add items to your catalog
- Use interaction nodes to record user behavior
- Use recommendation nodes to get personalized suggestions
Example Workflows
1. Content Recommendation System
This workflow helps an AI agent recommend relevant content to users:
- Trigger: Webhook (when user requests content recommendations)
- Get User (retrieve user profile)
- Recommend Items to User (get personalized content suggestions)
- Use
scenario
parameter to specify recommendation context - Use
filter
to exclude already viewed content
- Use
- HTTP Request (send recommendations to AI agent)
- AI Agent processes recommendations and generates personalized response
2. E-commerce Product Discovery
This workflow enables an AI shopping assistant to help users find products:
- Trigger: Webhook (when user views a product page)
- Add Detail View (record current product view)
- Recommend Items to Item (find related products)
- Use
targetUserId
to personalize based on user history - Use
filter
to exclude out-of-stock items
- Use
- AI Agent combines results to provide comprehensive recommendations
3. Content Personalization Engine
This workflow helps an AI agent personalize content delivery:
- Trigger: Schedule (daily content update)
- Recommend Items to Item Segment (find content for specific segments)
- Use
scenario
to specify different recommendation strategies - Use
filter
to apply business rules
- Use
- AI Agent analyzes trends and generates personalized content strategy
4. User Behavior Analysis
This workflow helps an AI agent understand user preferences:
- Trigger: Webhook (when user interacts with content)
- Add Detail View (record the interaction)
- Add Rating (if user provides feedback)
- List User Detail Views (analyze user behavior)
- AI Agent analyzes behavior patterns and adjusts recommendations
5. Multi-Channel Recommendation System
This workflow enables an AI agent to provide consistent recommendations across platforms:
- Trigger: Webhook (when user interacts on any platform)
- Add Detail View (record the interaction)
- Recommend Items to User (get personalized suggestions)
- Use
scenario
to specify platform-specific recommendations - Use
filter
to ensure content availability
- Use
- HTTP Request (sync recommendations across platforms)
- AI Agent ensures consistent user experience
6. Dynamic Content Curation
This workflow helps an AI agent curate content based on real-time trends:
- Trigger: Schedule (hourly updates)
- Recommend Items to Item Segment (get segment-specific content)
- Use
scenario
to specify curation strategy - Use
filter
to apply content rules
- Use
- AI Agent combines trends with user preferences for content curation
7. Personalized Learning Path
This workflow helps an AI educational assistant recommend learning materials:
- Trigger: Webhook (when user completes a lesson)
- Add Detail View (record completed content)
- Add Rating (record user feedback)
- Recommend Next Items (find next learning materials)
- Use
scenario
to specify learning path - Use
filter
to ensure proper difficulty level
- Use
- AI Agent creates personalized learning path
8. Smart Product Bundle Creation
This workflow helps an AI agent create personalized product bundles:
- Trigger: Webhook (when user views a product)
- Recommend Items to Item (find complementary products)
- Use
scenario
to specify bundle strategy - Use
filter
to ensure product compatibility
- Use
- AI Agent creates optimized product bundles
Best Practices
Interaction Tracking:
- Use
Add Detail View
to record when users view items - Use
Add Purchase
to record completed transactions - Use
Add Rating
to collect explicit feedback - Use
Add Cart Addition
to track shopping behavior
- Use
Recommendation Generation:
- Use
Recommend Items to User
for personalized suggestions - Use
Recommend Items to Item
for related items - Use
Recommend Items to Item Segment
for segment-based recommendations - Use
Recommend Next Items
for sequential recommendations
- Use
Rate Limiting: Implement appropriate delays between API calls to respect Recombee's rate limits
Error Handling: Always include error handling nodes in your workflows
Data Validation: Validate user and item data before sending to Recombee
Caching: Consider caching recommendations for frequently accessed items
Monitoring: Set up monitoring for your workflows to track performance
Integration Tips
- User Identification: Maintain consistent user IDs across your system
- Item Properties: Include relevant metadata with items for better recommendations
- Interaction Tracking: Record all relevant user interactions for better personalization
- A/B Testing: Use different recommendation strategies to optimize results
- Feedback Loop: Implement mechanisms to collect user feedback on recommendations