Actions58
- Lead Management Actions
- User Agent Management Actions
- Campaign Management Actions
- Phone DID Management Actions
- List Management Actions
- Reporting Monitoring Actions
- System Info Actions
- Other Operations Actions
Overview
This node interacts with the VICIdial Non-Agent API to manage phone numbers on a Do Not Call (DNC) list. Specifically, the "Delete Dnc Phone" operation removes a specified phone number from the DNC list associated with a campaign. This is useful in scenarios where a phone number was previously marked as DNC but needs to be re-allowed for calling, such as when a customer changes their preferences or an error was made.
Practical examples:
- Removing a phone number from the DNC list after a customer opts back into calls.
- Cleaning up DNC entries that were added mistakenly.
- Managing campaign-specific DNC lists dynamically based on external triggers.
Properties
| Name | Meaning |
|---|---|
| Function | The API function to call; fixed to "Delete Dnc Phone" for this operation. |
| User | API user credential used for authentication. |
| Pass | API password credential used for authentication. |
| Source | Description of what originated the API call; defaults to "n8n". |
| Phone Number | The phone number to remove from the DNC list; must be 6-16 digits. |
| Campaign Id | The ID of the campaign from which to delete the phone number from the DNC list. |
Output
The node outputs JSON data representing the response from the VICIdial API after attempting to delete the phone number from the DNC list. The exact structure depends on the API response but typically includes success status and any relevant messages.
No binary data output is produced by this node.
Dependencies
- Requires an API key credential with username and password for authenticating against the VICIdial Non-Agent API.
- Needs the base URL of the VICIdial API server configured in credentials.
- Uses HTTP query parameters to send the request.
Troubleshooting
- Authentication errors: Ensure the provided API user and password are correct and have sufficient permissions.
- Invalid phone number format: Phone number must be between 6 and 16 digits; verify input formatting.
- Campaign ID issues: Confirm the campaign ID exists and is valid in the VICIdial system.
- API connectivity problems: Check network access to the VICIdial API endpoint and that the base URL is correctly set.
- Unexpected API responses: Review the raw API response for error messages; consult VICIdial API documentation for details.
Links and References
- VICIdial Official Documentation
- VICIdial Non-Agent API Reference (for detailed API functions and parameters)