justcall

n8n community node to interact with JustCall Calls API

Package Information

Released: 7 mo ago
Downloads: 20 weeklyĀ /Ā 134 monthly
Latest Version: 1.0.4
Author: JustCall Dev

Documentation

n8n-nodes-justcall

npm version
License: MIT

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:

  1. Go to Settings → Community Nodes
  2. Search for n8n-nodes-justcall
  3. 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-justcall

Or 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/.n8n

Then install the package in the container:

docker exec -it <container-name> npm install n8n-nodes-justcall

Configuration

API Credentials

Before using the JustCall nodes, you need to configure your JustCall API credentials:

  1. In n8n, go to Credentials → Add Credential
  2. Search for JustCall API
  3. 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:

  1. Add a JustCall node
  2. Select Contact → Create
  3. Configure the contact details
  4. Add another JustCall node
  5. Select SMS → Send
  6. 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:

  1. Add a JustCall Trigger node
  2. Select Call Completed event
  3. 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:

  1. Add a JustCall node
  2. Select AI Voice Agent → Initiate Call
  3. Select the agent and provide the phone number
  4. Configure call parameters

Example 4: Sales Dialer – Add Contact to Campaign

Add a contact to a Sales Dialer campaign for power dialing:

  1. Add a JustCall node
  2. Select Sales Dialer → Add Contact to Campaign
  3. Enter the campaign ID and either phone number or contact ID
  4. Optionally add contact details (name, email, custom fields)

Example 5: JustCall AI – Get Call Insights

Retrieve AI-generated summary and insights for a call:

  1. Add a JustCall node
  2. Select JustCall AI → Get Call AI Data
  3. Enter the call ID (JustCall or Sales Dialer)
  4. Optionally enable summary, transcription, smart chapters, or action items

Development

Prerequisites

  • Node.js (v18 or higher)
  • npm or pnpm
  • TypeScript

Setup

  1. Clone the repository:
git clone https://github.com/saaslabsco/n8n-nodes-justcall.git
cd n8n-nodes-justcall
  1. Install dependencies:
npm install
  1. Build the project:
npm run build

Available Scripts

  • npm run build - Compile TypeScript to JavaScript
  • npm run dev - Watch mode for development
  • npm run lint - Run ESLint
  • npm run lintfix - Fix ESLint errors automatically
  • npm run format - Format code with Prettier
  • npm run changeset - Create a new changeset for versioning
  • npm run version - Bump versions based on changesets
  • npm 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 output

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Make your changes
  4. Run tests and linting (npm run lint)
  5. Commit your changes (git commit -m 'Add some amazing feature')
  6. Create a changeset (npm run changeset)
  7. Push to the branch (git push origin feature/amazing-feature)
  8. Open a Pull Request

Versioning

This project uses Changesets for version management. When making changes:

  1. Run npm run changeset to document your changes
  2. Commit the changeset file along with your code changes
  3. When ready to release, maintainers will run npm run version to 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:

Author

JustCall Dev


Made with ā¤ļø by the JustCall team

Discussion