Actions29
Overview
This node allows you to manage campaigns within the BookedIn platform via its API. Specifically, the Delete Campaign operation deletes a campaign identified by its unique ID. This is useful for cleaning up outdated or completed campaigns that are no longer needed.
Typical use cases include:
- Automating campaign lifecycle management by removing campaigns after completion.
- Integrating campaign deletion into workflows that maintain data hygiene.
- Programmatically managing campaigns without manual intervention in the BookedIn UI.
Example: Automatically delete a campaign once all leads have been processed or when a campaign is canceled.
Properties
| Name | Meaning |
|---|---|
| Campaign ID | The unique identifier of the campaign to delete (e.g., camp_1234567890). This is required to specify which campaign to remove. |
Output
The output JSON contains the response from the BookedIn API after attempting to delete the specified campaign. Typically, this will be an empty object or confirmation message indicating successful deletion.
If the deletion fails, the output may contain an error message describing the failure.
No binary data is produced by this operation.
Dependencies
- Requires an active API key credential for authenticating with the BookedIn API.
- The node uses HTTP requests to the BookedIn API endpoints.
- Ensure the API key has sufficient permissions to delete campaigns.
- No additional environment variables are required beyond the configured API authentication.
Troubleshooting
Common issues:
- Providing an invalid or non-existent Campaign ID will result in an error.
- Insufficient API permissions can cause authorization failures.
- Network connectivity problems may prevent the request from completing.
Error messages and resolutions:
"Campaign not found": Verify the Campaign ID is correct and exists."Unauthorized"or"Forbidden": Check that the API key credential is valid and has delete permissions."Invalid Campaign ID": Ensure the Campaign ID format matches expected patterns (e.g., starts withcamp_).- JSON parsing errors are unlikely here since the input is a simple string, but ensure the Campaign ID is provided.
Links and References
- BookedIn API Documentation (for detailed API endpoint info)
- n8n HTTP Request Node Documentation (for understanding HTTP calls in n8n)
- BookedIn Platform (official site)
This summary covers the Delete operation for the Campaign resource based on static analysis of the node's source code and provided property definitions.