Keitaro icon

Keitaro

Работа с API Keitaro

Overview

This node interacts with the Keitaro API to manage various resources, including campaigns. Specifically, for the 'Кампания' (Campaign) resource and the 'Удалить' (Delete) operation, it deletes a campaign by its ID. This operation is useful for automating campaign management workflows, such as removing outdated or completed campaigns from Keitaro directly within an n8n workflow.

Use Case Examples

  1. Deleting a campaign by specifying its campaign ID to keep the campaign list up to date.
  2. Automating cleanup of campaigns after a marketing event or promotion ends.

Properties

Name Meaning
ID Кампании The unique identifier of the campaign to be deleted. This is a required string input used to specify which campaign to delete.

Output

JSON

  • json - The JSON response from the Keitaro API after attempting to delete the campaign, including success status and any returned data or error messages.

Dependencies

  • Requires an API key credential for Keitaro API access, including domain and API key.

Troubleshooting

  • Ensure the campaign ID is provided and valid; missing or invalid IDs will cause errors.
  • Verify that the API key and domain credentials are correctly set up; missing credentials will prevent API access.
  • Check for API errors returned by Keitaro, which include status and error messages; these are surfaced in the node output for debugging.

Links

  • Keitaro API Documentation - Official documentation for the Keitaro API, useful for understanding available endpoints and operations.

Discussion