Actions24
- Account Actions
- Analytics Actions
- Campaign Actions
- Lead Actions
Overview
This node integrates with the Instantly API to manage marketing campaigns. Specifically, the Delete Campaign operation allows users to remove a campaign from their Instantly account by specifying the campaign either from a selectable list or directly by its ID.
Common scenarios for this node include:
- Automating cleanup of outdated or completed campaigns.
- Integrating campaign lifecycle management into broader workflows.
- Removing test or duplicate campaigns programmatically.
For example, a user might set up an automation that deletes campaigns older than a certain date or those that have reached a specific status, helping maintain an organized campaign environment without manual intervention.
Properties
| Name | Meaning |
|---|---|
| Campaign | The campaign to delete. You can select a campaign from a searchable list or specify its ID. |
The "Campaign" property supports two modes:
- From List: Choose a campaign from a dropdown list populated dynamically via the Instantly API.
- By ID: Enter the unique identifier of the campaign manually.
Output
The node outputs JSON data representing the result of the delete operation for each input item. Typically, this will include confirmation of deletion or error information if the operation failed.
The output structure is an array of JSON objects, each corresponding to an input item processed. If an error occurs and the node is configured to continue on failure, the output JSON will contain an error field with the error message.
No binary data is produced by this node.
Dependencies
- Requires an API key credential for authenticating with the Instantly API.
- The node depends on the Instantly API endpoints, specifically
/api/v2/campaignsfor campaign management. - Proper network access to Instantly's API servers is necessary.
- No additional external dependencies beyond the Instantly API and n8n's standard HTTP request capabilities.
Troubleshooting
Common Issues:
- Invalid Campaign ID: If the specified campaign ID does not exist or is malformed, the API will return an error.
- Authentication Failure: Missing or invalid API credentials will cause authentication errors.
- Network Errors: Connectivity issues may prevent the node from reaching the Instantly API.
Error Messages:
"error": "Campaign not found"— Verify the campaign ID or selection."error": "Unauthorized"— Check that the API key credential is correctly configured and valid.- Timeout or network-related errors — Ensure stable internet connection and that Instantly API is reachable.
Resolution Tips:
- Use the "From List" mode to select campaigns to avoid typos in IDs.
- Confirm API credentials are up to date and have sufficient permissions.
- Enable "Continue On Fail" in the node settings to handle errors gracefully within workflows.
Links and References
- Instantly API Documentation (general reference for API endpoints)
- n8n Documentation on Creating Custom Nodes
- n8n Community Forum for troubleshooting and examples: https://community.n8n.io/
This summary is based solely on static analysis of the provided source code and property definitions.