N8NHow to use click to call in ALOHUB node on N8N

How to use click to call in ALOHUB node on N8N

Tạ Quốc Thắng·6/9/2026

Voice: Click to Call

Make an outbound call by connecting the customer's phone number with the internal IP Phone through Alohub.

Requirements: Node has been installed n8n-nodes-alohuband API Key credential has been set up. See Installation guide if not done yet.

Configuration

  1. Drag the node Alohub into the canvas

  2. Select Credential : Alohub account created

  3. Select Resource : Voice

  4. Select Operation : Make a Call

  5. Fill in the parameters below

Parameter

Parameter

Type

Required

Example

Description

Phone Number

string

Yes

0912345678

The phone number to call

IP Phone

string

Yes

6688

The internal IP Phone extension

Note: The system automatically generates transactionIda unique identifier for each call for tracking and reconciliation.

Sample Response

On success:

{
  "success": true,
  "httpStatus": 200,
  "transactionId": "ah_n8n_a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "resource": "voice",
  "operation": "makeACall",
  "timestamp": "2026-04-15T09:00:00.000Z",
  "error_code": "SUCCESS",
  "error_message": "SUCCESS"
}

On error:

{
  "success": false,
  "httpStatus": 200,
  "transactionId": "ah_n8n_...",
  "error_code": "0",
  "error_message": "HỆ THỐNG OUTBOUND GẶP SỰ CỐ",
  "errorCode": "0",
  "errorMessage": "HỆ THỐNG OUTBOUND GẶP SỰ CỐ"
}

Example Workflow

Simple Workflow — Manual Call

[Manual Trigger] → [Alohub: Voice > Make a Call]
                     Phone Number: 0912345678
                     IP Phone: 6688

Advanced Workflow — Call from Google Sheets list

[Schedule Trigger] → [Google Sheets: Get Rows] → [Alohub: Voice > Make a Call]
                                                    Phone Number: {{ $json.phone }}
                                                    IP Phone: {{ $json.extension }}

Use with AI Agent

Click to Call can be used as a tool for AI Agent — AI will automatically extract the phone number and extension from the chat message.

Setup

  1. Drag the node When chat message received → connect to AI Agent

  2. Add Chat Model (OpenAI / Claude / Gemini)

  3. Add Tool : select Alohub Tool

  4. Configure Alohub Tool:

Field

Value

Explanation

Resource

Voice

Operation

Make a Call

Phone Number

{{ $fromAI('phoneNumber', 'Số điện thoại cần gọi', 'string') }}

AI automatically extracts from the chat message

IP Phone

{{ $fromAI('ipPhone', 'Số extension IP Phone', 'string') }}

AI automatically extracts from the chat message

Example chat

# Người dùng gõ:
"Gọi cho khách hàng 0912345678 qua máy nhánh 6688"

# AI Agent tự động:
# 1. Nhận diện cần gọi Voice > Make a Call
# 2. Trích xuất phoneNumber = "0912345678", ipPhone = "6688"
# 3. Gọi Alohub Tool → thực hiện cuộc gọi
# 4. Trả kết quả cho người dùng
Was this article helpful?
Updated: 6/9/2026
để chuyển bài