Package Information
Downloads: 0 weekly / 26 monthly
Latest Version: 2.1.0
Author: Tameem Hezam
Documentation
n8n-nodes-sahabaa
This is an n8n community node for Sahabaa - a cloud file storage platform.
Features
- Trigger Node: Automatically start workflows when file events occur in Sahabaa
- File Operations: Upload, download, delete, list, and move files
- Upload from URL: Import files directly from external URLs
- Folder Management: Create and list folders
- Workspace Support: Work with multiple workspaces
- Sharing: Create and manage shareable links
Nodes
This package includes two nodes:
- Sahabaa - Action node for file operations
- Sahabaa Trigger - Trigger node that starts workflows on file events
Installation
Community Nodes (Recommended)
- Go to Settings > Community Nodes
- Click Install a community node
- Enter
n8n-nodes-sahabaa - Click Install
Manual Installation
cd ~/.n8n/nodes
npm install n8n-nodes-sahabaa
Credentials
To use this node, you need to configure your Sahabaa API credentials:
- Base URL: Your Sahabaa instance URL (e.g.,
https://my.sahabaa.com) - API Token: Your Bearer API token
Getting an API Token
- Log in to your Sahabaa account
- Go to Settings > API Tokens or use the access token endpoint
- Create a new token and copy it
Trigger Events
The Sahabaa Trigger node listens for the following events:
| Event | Description |
|---|---|
| File Uploaded | Triggered when a new file is uploaded |
| File Deleted | Triggered when a file is deleted |
| File Moved | Triggered when a file is moved to a different folder |
| File Renamed | Triggered when a file is renamed |
| File Shared | Triggered when a file is shared with other users |
| Folder Created | Triggered when a new folder is created |
| Folder Deleted | Triggered when a folder is deleted |
| Shareable Link Created | Triggered when a shareable link is created |
Setting up the Trigger
- Add the Sahabaa Trigger node to your workflow
- Configure your Sahabaa credentials (Base URL + API Token)
- Select the events you want to listen to
- Activate your workflow - The webhook is automatically registered!
That's it! No manual webhook URL copying needed. When you activate the workflow, n8n automatically creates a webhook in your Sahabaa account. When you deactivate, it's automatically removed.
Operations
File
| Operation | Description |
|---|---|
| Upload | Upload a file from binary data |
| Upload from URL | Upload a file from a remote URL |
| Download | Download a file |
| Get | Get file details |
| Delete | Delete a file |
| List | List all files |
| Move | Move files to another folder |
Folder
| Operation | Description |
|---|---|
| Create | Create a new folder |
| List | List all folders for a user |
| Get Path | Get the full path of a folder |
Workspace
| Operation | Description |
|---|---|
| List | List all workspaces |
| Get | Get workspace details |
Share
| Operation | Description |
|---|---|
| Create Link | Create a shareable link |
| Get Link | Get shareable link details |
| Delete Link | Delete a shareable link |
Usage Examples
Upload a File from Previous Node
- Add a node that outputs binary data (e.g., HTTP Request, Read Binary File)
- Add the Sahabaa node
- Select Resource: File and Operation: Upload
- Set the Binary Property name (default:
data)
Upload from URL
- Add the Sahabaa node
- Select Resource: File and Operation: Upload from URL
- Enter the URL of the file to upload
- Optionally set a parent folder ID
List Files in a Workspace
- Add the Sahabaa node
- Select Resource: File and Operation: List
- Enter the Workspace ID (0 for personal drive)
Development
# Clone the repository
git clone https://github.com/tamemway/n8n-nodes-sahabaa.git
cd n8n-nodes-sahabaa
# Install dependencies
npm install
# Build the node
npm run build
# Link for local development
npm link
cd ~/.n8n/nodes
npm link n8n-nodes-sahabaa
License
MIT
Author
Tameem Hezam - tttt20142024@gmail.com