# Campaign Cleaner

Campaign Cleaner is a tool designed to optimize email campaigns by ensuring compatibility across email clients, improving deliverability, and enhancing overall performance.

- **Category:** email
- **Auth:** API_KEY
- **Composio Managed App Available?** N/A
- **Tools:** 5
- **Triggers:** 0
- **Slug:** `CAMPAIGN_CLEANER`
- **Version:** 20260223_00

## Tools

### Delete Campaign

**Slug:** `CAMPAIGN_CLEANER_DELETE_CAMPAIGN`

Tool to delete a saved campaign by ID. Use when you need to remove a campaign after confirming its ID.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `campaign` | object | Yes | Wrapper object containing the campaign ID to delete. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Campaign List

**Slug:** `CAMPAIGN_CLEANER_GET_CAMPAIGN_LIST`

Tool to list all campaigns in the account. Use when you need to retrieve campaign listings for reporting or management.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Download Campaign PDF Analysis

**Slug:** `CAMPAIGN_CLEANER_GET_CAMPAIGN_PDF_ANALYSIS`

Download a PDF analysis report for a processed campaign. The report includes deliverability analysis, spam score assessment, and optimization recommendations. Use this after a campaign has been submitted via send_campaign and processing is complete.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `campaign` | object | Yes | Campaign object containing the campaign ID to retrieve the PDF analysis for |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Campaign Status

**Slug:** `CAMPAIGN_CLEANER_GET_CAMPAIGN_STATUS`

Tool to check the processing status of a submitted campaign. Use after submitting a campaign to monitor its progress.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `campaign` | object | Yes | Campaign object containing the unique identifier of the campaign to check. |

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |

### Get Credits

**Slug:** `CAMPAIGN_CLEANER_GET_CREDITS`

Tool to retrieve the number of available credits in your Campaign Cleaner account. Credits are consumed when calling the send_campaign API.

#### Output

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `data` | string | Yes | Data from the action execution |
| `error` | string | No | Error if any occurred during the execution of the action |
| `successful` | boolean | Yes | Whether or not the action execution was successful or not |
