# Wisepops

WisePops helps you design smart pop-ups for your website to increase sign-ups and conversions

- **Category:** marketing
- **Auth:** API_KEY
- **Composio Managed App Available?** N/A
- **Tools:** 5
- **Triggers:** 0
- **Slug:** `WISEPOPS`
- **Version:** 00000000_00

## Tools

### Create Webhook

**Slug:** `WISEPOPS_CREATE_WEBHOOK`

Tool to create a webhook to receive real-time data updates when forms are collected in Wisepops. Use when you need to set up automated data synchronization for sign-up, phone, or survey form submissions. Note: Wisepops includes an X-Wisepops-Signature header for verification.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `event` | string ("email" | "phone" | "survey") | Yes | The event that triggers the webhook. 'email' for sign-up blocks, 'phone' for phone blocks, 'survey' for survey blocks. |
| `target_url` | string | Yes | The URL that will receive the collected forms via HTTP POST. Wisepops will send data to this endpoint when the event occurs. |
| `wisepop_id` | string | No | Optional. The ID of a specific popup campaign to transmit forms from. Leave empty to sync leads from all campaigns. ID is visible in /api2/wisepops endpoint or in the Popups builder URL. |

#### 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 |

### Delete User Data for Privacy Compliance

**Slug:** `WISEPOPS_DATA_PRIVACY_DELETE_USER_DATA`

Tool to automatically delete and suppress data about end-users for GDPR and CCPA compliance. Use when you need to remove user data from the system. Requires at least one identifier (email or phone). When both are supplied, records matching either field are deleted.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `email` | string | No | Email address of the end-user whose data should be deleted. |
| `phone` | string | No | Phone number of the end-user in international format with leading + and no spaces (e.g., +33612345678). |

#### 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 |

### Delete Webhook

**Slug:** `WISEPOPS_DELETE_WEBHOOK`

Tool to delete an existing webhook by its hook_id. Use when you need to remove a webhook that is no longer needed or should be deactivated.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `hook_id` | string | Yes | The unique identifier of the webhook to delete. This is the ID returned when the webhook was created. |

#### 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 Wisepops Performance Data

**Slug:** `WISEPOPS_GET_WISEPOPS_PERFORMANCE_DATA`

Tool to retrieve a list of your Wisepops with display and conversion metrics. Use when you need to analyze pop-up performance data including display counts, clicks, and email collections.

#### 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 |

### Retrieve Collected Contacts

**Slug:** `WISEPOPS_RETRIEVE_COLLECTED_CONTACTS`

Tool to retrieve contacts collected through Wisepops opt-in forms. Use when you need to fetch contact information with their custom fields and metadata.

#### Input Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `page_size` | integer | No | Number of contacts per query. Range: 1-1000. Default: 100. |
| `wisepop_id` | integer | No | Retrieve emails from a specific pop-up by its ID. |
| `collected_after` | string | No | Retrieve emails collected after the specified date (UTC). Must be in ISO 8601 format (e.g., 2017-03-01T01:00:00Z). |

#### 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 |
