3CX icon

3CX

Interact with 3CX telephony system

Actions462

Overview

This node interacts with the 3CX telephony system, specifically allowing users to configure update settings for the system. The "Set Update Settings" operation under the "Updates" resource lets users send custom JSON configuration data to control how updates are managed or scheduled in 3CX.

Common scenarios include automating update schedules, customizing update parameters, or integrating 3CX update management into broader workflows. For example, a user might automate enabling or disabling automatic updates during off-hours by sending appropriate JSON settings through this node.

Properties

Name Meaning
Settings A JSON object representing the update settings to apply. This can include scheduling and other update-related configurations.

The property expects a JSON string that will be parsed and sent as the request body. Users should provide valid JSON matching the expected structure of 3CX update settings.

Output

The node outputs the response from the 3CX API after applying the update settings. The output is structured as JSON data reflecting the result of the operation, such as confirmation of applied settings or error details if the request failed.

No binary data output is involved.

Dependencies

  • Requires an active connection to a 3CX telephony system.
  • Needs an API authentication token (OAuth2) configured in n8n credentials to authorize requests.
  • The base URL for the 3CX server must be provided in the credentials configuration.
  • The node sends HTTP requests with JSON payloads to the 3CX API endpoint /xapi/v1.

Troubleshooting

  • Invalid JSON in Settings: If the JSON provided in the "Settings" property is malformed, the node will fail to parse it, resulting in an error. Ensure the JSON syntax is correct before running the node.
  • Authentication Errors: If the OAuth2 credential is missing, expired, or invalid, the node will return authorization errors. Verify the API key/token and refresh if necessary.
  • Incorrect Server URL: If the base URL is incorrect or unreachable, the node will fail to connect. Confirm the server URL in credentials is accurate and accessible.
  • API Response Errors: If the 3CX API rejects the settings due to invalid parameters or unsupported configurations, the node will output the error message returned by the API. Review the API documentation for valid update settings formats.

Links and References

Discussion