3CX icon

3CX

Interact with 3CX telephony system

Actions462

Overview

This node interacts with the "Prompt Sets" resource of a system (likely related to telephony or IVR prompts) and supports copying an existing prompt set. The copy operation duplicates a prompt set identified by its ID, optionally applying overrides to customize the copied data.

Common scenarios include:

  • Creating a new prompt set based on an existing one but with slight modifications.
  • Quickly duplicating prompt configurations for different languages or departments.
  • Automating prompt set management in telephony systems where prompt sets are reused with variations.

Example: Copying a prompt set with ID 123 and overriding some prompt messages or properties to create a customized version without manually recreating all prompts.

Properties

Name Meaning
Id The numeric identifier of the prompt set to copy. Can be provided directly or via expression like {{$json.Id}}. This is required.
Overrides A JSON object specifying changes to apply to the copied prompt set. Typically includes an array of prompt objects under the key "Prompts". Allows customizing the copied prompt set's content.

Output

The node outputs JSON data representing the newly created prompt set after the copy operation. This typically includes the details of the copied entity, such as its new ID and any updated fields reflecting the applied overrides.

No binary data output is indicated.

Dependencies

  • Requires an API authentication token or OAuth2 credential to connect securely to the target system.
  • The base URL for API requests is configured dynamically from credentials.
  • The node depends on the external service that manages prompt sets (likely a telephony or IVR platform).

Troubleshooting

  • Invalid or missing Id: If the Id property is not provided or invalid, the copy operation will fail. Ensure the Id corresponds to an existing prompt set.
  • Malformed Overrides JSON: The Overrides property must be valid JSON. Syntax errors will cause request failures.
  • Authentication errors: Missing or incorrect API credentials will prevent access to the service.
  • API endpoint issues: Incorrect base URL or network problems can cause connection failures.

To resolve these:

  • Verify the Id input and ensure it matches an existing prompt set.
  • Use a JSON validator for the Overrides field.
  • Confirm API credentials and server URL configuration.
  • Check network connectivity and API availability.

Links and References

  • Refer to the telephony system's API documentation for details on prompt set management and the copy operation.
  • JSON formatting guides for constructing the Overrides property correctly.

Discussion