n8n-nodes-sendsafely
v1.1.1
Published
n8n node for SendSafely secure file transfer and encryption
Maintainers
Readme
n8n-nodes-sendsafely
This is an n8n community node that integrates with the SendSafely secure file transfer and encryption platform. It allows you to automate secure file sharing workflows within your n8n automation workflows.
Features
- Create and manage secure packages for file sharing
- Upload files with end-to-end encryption
- Download files securely
- Add and remove package recipients
- Full TypeScript support
- Comprehensive error handling
Installation
Community Nodes (Recommended)
- In your n8n instance, go to Settings > Community Nodes
- Click Install a Community Node
- Enter
n8n-nodes-sendsafelyin the npm Package Name field - Click Install
- Restart your n8n instance if required
Manual Installation
If you're self-hosting n8n, you can install this node manually:
npm install n8n-nodes-sendsafelyFor Docker users, add to your Dockerfile:
RUN cd /usr/local/lib/node_modules/n8n && \
npm install n8n-nodes-sendsafelyOr use the N8N_CUSTOM_EXTENSIONS environment variable:
docker run -it --rm \
--name n8n \
-p 5678:5678 \
-e N8N_CUSTOM_EXTENSIONS="/path/to/n8n-nodes-sendsafely" \
n8nio/n8nPrerequisites
- n8n version 2.0 or above
- Node.js version 18 or above
- A SendSafely account with API access
Credentials Setup
Obtaining SendSafely API Credentials
- Log in to your SendSafely account at https://app.sendsafely.com
- Click on your profile icon in the top-right corner
- Select API Keys from the dropdown menu
- Click Generate New API Key
- Copy the API Key and API Secret - you'll need both for n8n
- Note your Host URL (e.g.,
https://company.sendsafely.comorhttps://app.sendsafely.com)
Configuring Credentials in n8n
- In n8n, go to Credentials > New
- Search for and select SendSafely API
- Enter the following information:
- Host: Your SendSafely host URL (e.g.,
https://app.sendsafely.com) - API Key: Your SendSafely API Key
- API Secret: Your SendSafely API Secret
- Host: Your SendSafely host URL (e.g.,
- Click Save
Supported Operations
Package Operations
Create Package: Create a new secure package for file sharing
- Set package description
- Specify package life (expiration)
- Configure notification preferences
Get Package: Retrieve information about an existing package
- Get package details and metadata
- View recipient list
- Check package status
Finalize Package: Finalize a package to make it available to recipients
- Automatically sends notification emails
- Locks the package from further modifications
Delete Package: Delete a package and all associated files
- Permanently removes package
- Revokes recipient access
File Operations
Upload File: Upload a file to a package
- Binary data support
- Automatic encryption
- Progress tracking
Download File: Download a file from a package
- Automatic decryption
- Binary data output
Recipient Operations
Add Recipient: Add a recipient to a package
- Email-based recipient management
- Optional SMS verification
- Custom access permissions
Remove Recipient: Remove a recipient from a package
- Revoke access immediately
- Audit trail maintained
Usage Examples
Example 1: Create Package and Upload File
{
"nodes": [
{
"name": "Create Secure Package",
"type": "n8n-nodes-sendsafely.sendSafely",
"parameters": {
"resource": "package",
"operation": "create",
"description": "Q4 Financial Reports",
"life": 30
}
},
{
"name": "Upload File",
"type": "n8n-nodes-sendsafely.sendSafely",
"parameters": {
"resource": "file",
"operation": "upload",
"packageId": "={{ $json.packageId }}",
"binaryData": true,
"binaryPropertyName": "data"
}
}
]
}Example 2: Send Secure File to Multiple Recipients
- Create a package
- Upload file(s)
- Add recipients
- Finalize package (triggers notifications)
Example 3: Download and Process Files
- Get package details
- Download file from package
- Process the decrypted file data
- Save or forward as needed
Compatibility
- n8n version: 2.0 or above
- Node.js version: 18.0 or above
- SendSafely API: v2.0
Resources
- n8n Community Nodes Documentation
- SendSafely API Documentation
- SendSafely Developer Portal
- n8n Documentation
Development
Setup
# Clone the repository
git clone https://github.com/jedarden/n8n-nodes-sendsafely.git
cd n8n-nodes-sendsafely
# Install dependencies
npm install
# Build the project
npm run build
# Run tests
npm test
# Lint code
npm run lintTesting Locally
- Build the node:
npm run build - Link to your n8n installation:
npm link - In your n8n directory:
npm link n8n-nodes-sendsafely - Restart n8n
Contributing
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Support
- For issues with this node, please open an issue
- For n8n related questions, visit the n8n forum
- For SendSafely API questions, contact SendSafely support
Security
This node handles sensitive data and credentials. Please ensure:
- Never commit API credentials to version control
- Use n8n's credential encryption features
- Keep your n8n instance and this node up to date
- Follow SendSafely's security best practices
To report security vulnerabilities, please email [email protected] instead of using the issue tracker.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
- Built for the n8n workflow automation platform
- Powered by the SendSafely API
- Thanks to the n8n community for support and feedback
Changelog
See CHANGELOG.md for a list of changes and version history.
Made with care by the n8n community
