Actions462
- Users Actions
- Download Greeting
- Batch Delete
- Get Call Log
- Get Phone Registrars
- Reboot Phone
- Reprovision Phone
- Upgrade Phone
- Generate Prov Link
- Has Duplicated Email
- Get Duplicated Emails
- Send Welcome Email
- List Groups
- List Forwarding Profiles
- Get Phone Secret
- Regenerate
- Regenerate Passwords
- Export Extensions
- Get Phone Registrar
- Bulk Update
- Get User
- Update User
- Delete User
- List Greetings
- Make Call User Record Greeting
- Make Call
- Get Monitor Status
- Set Monitor Status
- Multi User Update
- Reprovision All Phones
- Get Multi Edit Greetings
- Multi Delete Greeting
- Get User By Number
- List User
- Create User
- Active Calls Actions
- Activity Log Actions
- Anti Hacking Settings Actions
- Backups Actions
- Black List Numbers Actions
- Blocklist Actions
- Call Cost Settings Actions
- Call Flow Apps Actions
- Call Flow Scripts Actions
- Call History View Actions
- Call Parking Settings Actions
- Call Types Settings Actions
- CDR Settings Actions
- Chat History View Actions
- Chat Log Settings Actions
- Contacts Actions
- Chat Messages History View Actions
- Codecs Settings Actions
- Conference Settings Actions
- Console Restrictions Actions
- Countries Actions
- Country Codes Actions
- CRM Integration Actions
- Crm Templates Actions
- Custom Prompts Actions
- Data Connector Settings Actions
- Defs Actions
- Device Infos Actions
- Dial Code Settings Actions
- Did Numbers Actions
- DN Properties Actions
- E 164 Settings Actions
- Email Template Actions
- Emergency Geo Locations Actions
- Fax Actions
- Fax Server Settings Actions
- Firewall Actions
- Firmwares Actions
- Fxs Actions
- General Settings For Pbx Actions
- Google Settings Actions
- Emergency Notifications Settings Actions
- Event Logs Actions
- Fxs Templates Actions
- General Settings For Apps Actions
- Groups Actions
- Holidays Actions
- Hotel Services Actions
- Microsoft 365 Integration Actions
- My Group Actions
- Inbound Rules Actions
- Last Cdr And Chat Message Timestamp Actions
- License Status Actions
- Logging Settings Actions
- Microsoft 365 Teams Integration Actions
- Music On Hold Settings Actions
- My Tokens Actions
- My User Actions
- Network Interfaces Actions
- Network Settings Actions
- Notification Settings Actions
- Office Hours Actions
- Outbound Rules Actions
- Parameters Actions
- Parkings Actions
- Peers Actions
- Phone Book Settings Actions
- Phone Logos Actions
- Phones Settings Actions
- Phone Templates Actions
- Playlists Actions
- Prompt Sets Actions
- Purge Settings Actions
- Queues Actions
- Receptionists Actions
- Report Queue Failed Callbacks Actions
- Recordings Actions
- System Status Actions
- Remote Archiving Settings Actions
- Report Abandoned Chats Statistics Actions
- Report Abandoned Queue Calls Actions
- Report Agent Login History Actions
- Report Agents In Queue Statistics Actions
- Report Audit Log Actions
- Report Average Queue Waiting Time Actions
- Report Breaches Sla Actions
- Report Call Cost By Extension Group Actions
- Report Call Distribution Actions
- Report Call Log Data Actions
- Report Detailed Queue Statistics Actions
- Report Extensions Statistics By Ring Groups Actions
- Report Extension Statistics By Group Actions
- Report Extension Statistics Actions
- Report Inbound Rules Actions
- Report Queue Agents Chat Statistics Actions
- Report Queue Agents Chat Statistics Totals Actions
- Report Queue Answered Calls By Wait Time Actions
- Report Queue An Un Calls Actions
- Report Queue Callbacks Actions
- Report Queue Chat Performance Actions
- Report Statistic Sla Actions
- Report Queue Performance Overview Actions
- Report Queue Performance Totals Actions
- Report Ring Group Statistics Actions
- Sbcs Actions
- Secure Sip Settings Actions
- Report Team Queue General Statistics Actions
- Scheduled Reports Actions
- Ring Groups Actions
- Security Tokens Actions
- Service Principals Actions
- Services Actions
- Sip Devices Actions
- Directories Actions
- Tenant Properties Actions
- Trunks Actions
- Trunk Templates Actions
- Updates Actions
- Voicemail Settings Actions
- Website Links Actions
- Report Inbound Calls Actions
- Report Outbound Calls Actions
- Report User Activity Actions
Overview
The node interacts with the 3CX telephony system, specifically allowing users to retrieve details of a single Trunk Template by its unique identifier. This operation is useful when you want to fetch configuration or metadata about a specific trunk template within your 3CX environment, for example, to display its settings, verify its properties, or use its data in further workflow steps.
Practical examples include:
- Fetching a trunk template's details to validate its configuration before applying changes.
- Retrieving trunk template information to synchronize with an external system.
- Using trunk template data dynamically in call routing or reporting workflows.
Properties
| Name | Meaning |
|---|---|
| Id | The unique identifier of the trunk template to retrieve. Supports expressions like {{$json.Id}}. |
| Options | Additional query options: - Select: Specify which properties of the trunk template to return (e.g., Id,Name). - Expand: Expand related entities to include their data inline (e.g., RelatedEntity1,RelatedEntity2). |
Output
The node outputs JSON data representing the requested trunk template entity. The structure corresponds to the properties of the trunk template as returned by the 3CX API, potentially filtered or expanded based on the provided options.
If the user specifies $select, only those selected properties will be present in the output JSON. If $expand is used, related entities' data will be included inline.
No binary data output is indicated for this operation.
Dependencies
- Requires an active connection to a 3CX telephony system via an OAuth2-based API credential.
- The node expects the base URL of the 3CX server to be configured in the credentials.
- The node sends requests to the 3CX API endpoint
/xapi/v1.
Troubleshooting
- Missing or invalid Id: The operation requires a valid trunk template ID. Ensure the
Idproperty is set and correctly references an existing trunk template. - Authentication errors: Verify that the API authentication token or OAuth2 credentials are correctly configured and have sufficient permissions.
- Network or connectivity issues: Confirm that the 3CX server URL is reachable from n8n and that no firewall or network restrictions block access.
- Invalid $select or $expand values: Providing incorrect property names in these options may result in empty or error responses. Use valid property names as defined by the 3CX API documentation.
Links and References
- 3CX API Documentation (for detailed info on trunk templates and query parameters)
- n8n Documentation on Credentials (for setting up API authentication)