3CX icon

3CX

Interact with 3CX telephony system

Actions462

Overview

This node is designed to interact with the 3CX telephony system, specifically allowing users to set a default email template within that system. The "Set Default" operation under the "Email Template" resource lets users specify which email template should be marked as the default by providing its template path. This can be useful in scenarios where automated communications or notifications need to use a consistent email template managed centrally in 3CX.

Practical examples include:

  • Automatically setting a newly created or updated email template as the default for outbound notifications.
  • Switching default templates based on dynamic input data during workflow execution.

Properties

Name Meaning
Template Path The key or identifier of the email template to set as default. Supports expressions, e.g., {{$json.TemplatePath}}.

Output

The node outputs JSON data representing the result of the "set default" operation on the email template. This typically includes confirmation details such as success status or metadata about the updated default template. There is no indication that binary data is output by this node.

Dependencies

  • Requires an API authentication token credential to connect securely to the 3CX telephony system.
  • Needs the base URL of the 3CX server configured in credentials.
  • The node sends requests to the 3CX API endpoint /xapi/v1.

Troubleshooting

  • Common issues:

    • Incorrect or missing API credentials will cause authentication failures.
    • Providing an invalid or non-existent template path may result in errors from the 3CX API.
    • Network connectivity problems to the 3CX server can prevent successful requests.
  • Error messages and resolutions:

    • Authentication failed: Verify that the API key or OAuth2 token is correctly configured and has necessary permissions.
    • Template not found: Check that the provided template path exists and is correctly formatted.
    • Network error: Ensure the 3CX server URL is reachable and correct in the credentials.

Links and References

Discussion