Description

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 for integrating with Recombee's recommendation engine:
User Management Nodes
Add User API Ref
Adds a new user to the database with the given userId. Users are specified using unique string identifiers that can contain digits, Latin letters, underscores, colons, minus signs, at signs, and dots. This operation is essential for building user profiles and enabling personalized recommendations.
Delete User API Ref
Deletes a user of the given userId from the database. If there are any purchases, ratings, bookmarks, cart additions or detail views made by the user present in the database, they will be deleted in cascade.
Get User Values API Ref
Gets all the current property values of the given user.
List Users API Ref
Gets a list of IDs of users currently present in the catalog.
Set User Values API Ref
Sets/updates (some) property values of the given user. The properties (columns) must be previously created by Add user property. This operation is essential for maintaining up-to-date user profiles.
Item Management Nodes
Add Item API Ref
Adds new item of the given itemId to the items catalog. Items are specified using unique string identifiers with the same format as user IDs. This operation is fundamental for building your recommendation catalog and enabling item-based recommendations.
Delete Item API Ref
Deletes an item of the given itemId from the catalog. If there are any purchases, ratings, bookmarks, cart additions, or detail views of the item present in the database, they will be deleted in cascade as well. Also, if the item is present in some series, it will be removed from all the series where present. If an item becomes obsolete/no longer available, it is often meaningful to keep it in the catalog (along with all the interaction data, which are very useful) and only exclude the item from recommendations using a filter.
Get Item Values API Ref
Gets all the current property values of the given item.
List Items API Ref
Gets a list of IDs of items currently present in the catalog.
Set Item Values API Ref
Sets/updates (some) property values of the given item. The properties (columns) must be previously created by Add item property. This operation is essential for maintaining an up-to-date item catalog.
Interaction Tracking Nodes
Add Bookmark API Ref
Adds a bookmark of the given item made by the given user. Bookmarks indicate strong user interest and help improve recommendation accuracy. This operation is useful for tracking saved or favorited(liked) items.
Add Cart Addition API Ref
Adds a cart addition of the given item made by the given user. Cart additions indicate purchase intent and help improve recommendation accuracy. This operation is essential for tracking shopping behavior.
Add Detail View API Ref
Adds a detail view of the given item made by the given user. Detail views are crucial for understanding user behavior and improving recommendation accuracy.
Add Purchase API Ref
Adds a purchase of the given item made by the given user. Purchases are strong signals for recommendation algorithms and help improve recommendation accuracy. This operation is essential for tracking successful transactions.
Add Rating API Ref
Adds a rating of the given item made by the given user. Ratings are strong signals for recommendation algorithms and help improve recommendation accuracy. This operation is essential for collecting user feedback.
Delete View Portion API Ref
Deletes an existing view portion uniquely specified by userId, itemId, sessionId and timestamp or all the view portions with the given userId, itemId and sessionId if timestamp is omitted.
Set View Portion API Ref
Sets viewed portion of an item (for example a video or article) by a user (at a session). If you send a new request with the same (userId, itemId, sessionId), the portion gets updated.
List Interaction Nodes
List Item View Portions API Ref
Lists all the view portions of the given item ever made by different users (with different sessionIds).
List User View Portions API Ref
Lists all the view portions of different items ever made by the given user (at given sessionId).
Recommendation Nodes
Recommend Item Segments To User API Ref
Recommends set of item segments that are the most relevant for a given user.
Recommend Items To Item API Ref
Recommends set of items that are somehow related to one given item, X. Typical scenario is when the user looks at a page of item X and you want to display items somehow related to X to the user on this page. The returned items are sorted by relevance (first item being the most relevant).
Recommend Items To User API Ref
Recommends set of items for a given user (not user segment). Generates personalized item recommendations for a specific user based on their interaction history and preferences. This is the core recommendation operation that powers personalized suggestions.
Recommend Next Items API Ref
Returns items that shall be shown to a user as next recommendations when the user browsed some items already. It can be used in a scenario when the user watches some TV series, and you want to recommend another episode or movie to the user.
Recommend Users To Item API Ref
Recommends set of users that are somehow related to a given item.
Recommend Users To User API Ref
Recommends set of users that are somehow related to a given user.
Search Nodes
Search Item Segments API Ref
Full-text personalized search for item segments. The results are based on the provided searchQuery and additionally personalized for the given userId.
Search Items API Ref
Full-text personalized search. The results are based on the provided searchQuery and additionally personalized for the given userId. It searches only among items that were already at least once uploaded with Set item values or Add item. It does not perform any structural filtering like the recommendation endpoints do, so you have to use the filter parameter to restrict the items to those you want to search in.
Series Management Nodes
Add Series API Ref
Adds new series of the given seriesId. Series are interpreted in Recombee as (possibly ordered) sequences of items.
Database Management Nodes
Reset Database API Ref
Completely erases all your data, including items, item properties, series, user database, user properties, and all kinds of interactions (purchases, ratings, bookmarks, detail views, and cart additions).
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.96
- Tested with n8n versions: 1.96
- 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": "john@example.com", "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
scenarioparameter to specify recommendation context - Use
filterto 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
targetUserIdto personalize based on user history - Use
filterto 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
scenarioto specify different recommendation strategies - Use
filterto 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
scenarioto specify platform-specific recommendations - Use
filter
- Use