n8n-nodes-smartlead-v1-6-0
v1.6.0
Published
π SmartLead API v1.6.0 - 20+ Operations for Advanced Email Marketing & Lead Management
Downloads
11
Maintainers
Readme
n8n-nodes-smartlead-test
A test n8n community node for SmartLead API integration.
π Features
This node allows you to interact with the SmartLead API to:
- Campaigns: Get all campaigns or get a specific campaign by ID
- Leads: Get all leads from your entire account
π Prerequisites
- n8n version 0.187.0 or later
- SmartLead account with API access enabled
π§ Installation
Method 1: Via n8n Community Nodes (Recommended)
- Go to Settings β Community Nodes in your n8n instance
- Click Install a community node
- Enter:
n8n-nodes-smartlead-test - Click Install
- Restart n8n
Method 2: Manual Installation (Development)
# Clone and build
git clone <repository-url>
cd n8n-nodes-smartlead-test
npm install
npm run build
# Copy to n8n custom nodes directory
cp -r dist ~/.n8n/nodes/n8n-nodes-smartlead-testπ Setting up Credentials
Get your SmartLead API Key:
- Go to your SmartLead dashboard
- Navigate to Settings β API
- Click Activate API button
- Copy your API key
Create Credentials in n8n:
- In n8n, create new SmartLead API credentials
- Paste your API key
- Test the connection
π Usage
Campaign Operations
Get All Campaigns
- Resource: Campaign
- Operation: Get All
- Description: Retrieves all campaigns in your account
Get Campaign by ID
- Resource: Campaign
- Operation: Get
- Campaign ID: Enter the specific campaign ID
- Description: Retrieves details for a specific campaign
Lead Operations
Get All Leads
- Resource: Lead
- Operation: Get All
- Description: Retrieves all leads from your entire account
π§ Development
Setup
npm install
npm run buildAvailable Scripts
npm run build- Build the projectnpm run dev- Watch mode for developmentnpm run lint- Run ESLintnpm run format- Format code with Prettier
Project Structure
βββ credentials/
β βββ SmartLeadApi.credentials.ts
βββ nodes/
β βββ SmartLead/
β βββ SmartLead.node.ts
βββ dist/ # Built files
βββ package.json
βββ tsconfig.json
βββ README.mdπ API Information
This node integrates with the SmartLead API:
- Base URL:
https://server.smartlead.ai/api/v1 - Authentication: API key via query parameter
- Rate Limit: 60 requests per 60 seconds
For complete API documentation, visit: https://api.smartlead.ai/reference
β οΈ Current Limitations
This is a test version with basic functionality:
- Only supports GET operations
- Limited to campaigns and leads resources
- No batch operations yet
- No advanced filtering options
π Roadmap
Future enhancements planned:
- β Basic Campaign & Lead operations
- π Email Account Management
- π Campaign Creation & Updates
- π Lead Management (Create, Update, Delete)
- π Campaign Statistics
- π Rate limiting handling
- π Batch operations
π Issues & Testing
When testing:
- Ensure your SmartLead API key is valid
- Check rate limits (60 requests/minute)
- Verify campaign/lead IDs exist in your account
π License
MIT
π Support
This is a test node for development purposes. For issues:
- Check the SmartLead API documentation
- Verify your credentials and permissions
- Check n8n logs for detailed error messages
Note: This is a test version to validate the n8n community node approach for SmartLead integration. Production version will include all SmartLead API endpoints.
