n8n-nodes-justcall
v1.0.4
Published
n8n community node to interact with JustCall Calls API
Maintainers
Readme
n8n-nodes-justcall
An n8n community node package that provides seamless integration with the JustCall API, enabling you to automate calls, SMS, contact management, AI voice agents, Sales Dialer campaigns, and JustCall AI insights within your n8n workflows.
Features
This package includes two main nodes:
1. JustCall Node
A comprehensive node for interacting with the JustCall API, supporting the following resources:
📞 Call
- Get - Retrieve a specific call by ID
- Get Many - List and filter calls with pagination support
- Update - Update call notes, disposition, and rating
- Download Call Recording - Download the recording of a completed call
- Get Call Journey - Get journey details of a completed call (available after call has ended)
- Get Voice Agent Data - Get voice agent insights and metadata for a completed call
💬 SMS
- Send - Send SMS or MMS messages
- Get - Retrieve a specific SMS by ID
- Get Many - List and filter SMS messages
👤 Contact
- Create - Create a new contact
- Get - Retrieve a specific contact
- Get Many - List and filter contacts
- Update - Update an existing contact
📱 Phone Number
- Get - Retrieve a specific phone number
- Get Many - List all phone numbers
🤖 AI Voice Agent
- List Agents - List all available AI voice agents
- Initiate Call - Initiate a call with an AI voice agent
📋 Sales Dialer
- List All Calls - List all Sales Dialer calls with filters (campaign, agent, date range, etc.)
- Get a Call - Get a specific Sales Dialer call by ID
- List All Campaigns - List all Sales Dialer campaigns
- Get a Campaign - Get a specific Sales Dialer campaign by ID
- List Campaign Contacts - List contacts in a Sales Dialer campaign
- Add Contact to Campaign - Add a contact to a Sales Dialer campaign (by phone number or contact ID)
- List All Contacts - List all Sales Dialer contacts
- Get a Contact - Get a specific Sales Dialer contact by ID
🧠 JustCall AI
- List Calls AI Data - List AI-generated analysis for JustCall and Sales Dialer calls (summary, transcription, insights, action items)
- Get Call AI Data - Get AI-generated analysis for a specific call
- List Meetings AI Data - List AI-generated analysis for meeting instances
- Get Meeting AI Data - Get AI-generated analysis for a specific meeting instance
2. JustCall Trigger Node
A webhook trigger node that automatically starts workflows when JustCall events occur:
- Call Answered - Triggered when a call is answered
- Call Completed - Triggered when a call is completed
- Call Initiated - Triggered when a call is initiated
- Call Missed - Triggered when a call is missed
- Call Updated - Triggered when a call is updated
- Incoming Call - Triggered when an incoming call is received
- SMS Received - Triggered when an SMS is received
- SMS Sent - Triggered when an SMS is sent
- Voicemail Received - Triggered when a voicemail is received
Installation
For n8n Cloud Users
This node is available in the n8n community nodes catalog. You can install it directly from the n8n interface:
- Go to Settings → Community Nodes
- Search for
n8n-nodes-justcall - Click Install
For Self-Hosted n8n
If you're running a self-hosted instance of n8n, install this package in your n8n installation directory:
npm install n8n-nodes-justcallOr if you're using n8n via Docker, add this to your docker-compose.yml:
services:
n8n:
environment:
- N8N_USER_FOLDER=/home/node/.n8n
volumes:
- n8n_data:/home/node/.n8nThen install the package in the container:
docker exec -it <container-name> npm install n8n-nodes-justcallConfiguration
API Credentials
Before using the JustCall nodes, you need to configure your JustCall API credentials:
- In n8n, go to Credentials → Add Credential
- Search for JustCall API
- Enter your JustCall API key
- You can find your API key in your JustCall dashboard under Profile → APIs and Webhooks
Usage Examples
Example 1: Send SMS on Contact Creation
Create a workflow that automatically sends a welcome SMS when a new contact is created:
- Add a JustCall node
- Select Contact → Create
- Configure the contact details
- Add another JustCall node
- Select SMS → Send
- Use the contact's phone number from the previous node
Example 2: Trigger Workflow on Call Completion
Set up a workflow that processes call data when a call is completed:
- Add a JustCall Trigger node
- Select Call Completed event
- Add subsequent nodes to process the call data (e.g., save to database, send notification)
Example 3: AI Voice Agent Outbound Call
Initiate an outbound call using an AI voice agent:
- Add a JustCall node
- Select AI Voice Agent → Initiate Call
- Select the agent and provide the phone number
- Configure call parameters
Example 4: Sales Dialer – Add Contact to Campaign
Add a contact to a Sales Dialer campaign for power dialing:
- Add a JustCall node
- Select Sales Dialer → Add Contact to Campaign
- Enter the campaign ID and either phone number or contact ID
- Optionally add contact details (name, email, custom fields)
Example 5: JustCall AI – Get Call Insights
Retrieve AI-generated summary and insights for a call:
- Add a JustCall node
- Select JustCall AI → Get Call AI Data
- Enter the call ID (JustCall or Sales Dialer)
- Optionally enable summary, transcription, smart chapters, or action items
Development
Prerequisites
- Node.js (v18 or higher)
- npm or pnpm
- TypeScript
Setup
- Clone the repository:
git clone https://github.com/saaslabsco/n8n-nodes-justcall.git
cd n8n-nodes-justcall- Install dependencies:
npm install- Build the project:
npm run buildAvailable Scripts
npm run build- Compile TypeScript to JavaScriptnpm run dev- Watch mode for developmentnpm run lint- Run ESLintnpm run lintfix- Fix ESLint errors automaticallynpm run format- Format code with Prettiernpm run changeset- Create a new changeset for versioningnpm run version- Bump versions based on changesetsnpm run release- Publish the package
Project Structure
n8n-nodes-justcall/
├── nodes/
│ └── JustCall/
│ ├── descriptions/ # Node property descriptions
│ ├── handlers/ # Operation handlers
│ ├── utils/ # Utility functions
│ ├── JustCall.node.ts # Main JustCall node
│ └── JustCallTrigger.node.ts # Trigger node
├── credentials/ # Credential definitions
└── dist/ # Compiled outputContributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Make your changes
- Run tests and linting (
npm run lint) - Commit your changes (
git commit -m 'Add some amazing feature') - Create a changeset (
npm run changeset) - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
Versioning
This project uses Changesets for version management. When making changes:
- Run
npm run changesetto document your changes - Commit the changeset file along with your code changes
- When ready to release, maintainers will run
npm run versionto update versions and changelog
Changelog
See CHANGELOG.md for a list of changes and version history.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Support
For issues, questions, or contributions, please visit:
- GitHub Issues: https://github.com/saaslabsco/n8n-nodes-justcall/issues
- JustCall API Documentation: https://developer.justcall.io/reference/initiate_outbound_call_v21
Author
JustCall Dev
- Email: [email protected]
- GitHub: @saaslabsco
Made with ❤️ by the JustCall team
