3CX icon

3CX

Interact with 3CX telephony system

Actions462

Overview

This node interacts with the 3CX telephony system, specifically allowing users to delete a Prompt Set resource. A Prompt Set in 3CX typically contains audio prompts used for call handling and IVR menus. Deleting a Prompt Set is useful when you want to remove outdated or unused audio prompts from your telephony configuration.

Common scenarios include:

  • Cleaning up old or deprecated prompt sets to maintain an organized telephony system.
  • Automating the removal of prompt sets as part of a larger workflow that manages telephony resources dynamically.
  • Integrating with external systems to synchronize prompt sets by deleting those no longer needed.

Example: Automatically delete a prompt set after a campaign ends to free up resources.

Properties

Name Meaning
Id The unique identifier of the Prompt Set to delete. Can be provided directly or via expression (e.g., {{$json.Id}}). Must be a number.
If Match Optional ETag header value for concurrency control. Used to ensure the Prompt Set has not changed since last retrieval before deletion.

Output

The node outputs JSON data representing the response from the 3CX API after attempting to delete the Prompt Set. Typically, this will confirm successful deletion or provide error details if the operation failed.

No binary data output is expected from this operation.

Dependencies

  • Requires an active connection to a 3CX telephony system.
  • Needs an API authentication credential (OAuth2 token) configured in n8n to authorize requests.
  • The base URL of the 3CX server must be specified in the credentials.

Troubleshooting

  • Invalid or missing Id: Ensure the Id property is correctly set and corresponds to an existing Prompt Set.
  • ETag mismatch error: If using the "If Match" property, the ETag value must match the current version of the Prompt Set; otherwise, the deletion will be rejected to prevent accidental overwrites.
  • Authentication errors: Verify that the OAuth2 credentials are valid and have sufficient permissions to delete Prompt Sets.
  • Network or server errors: Check connectivity to the 3CX server and ensure the base URL is correct.

Links and References

Discussion