# Sendspark

> Read dynamic video campaigns and generate personalized videos for prospects.

App · 10 actions. Web page: https://docs.lodol.com/docs/integrations/sendspark

## Actions

### Add prospect

Add a prospect and generate their personalized video.

**Inputs**

- Workspace (`workspace_id`, text): Workspace ID from Sendspark.
- Campaign ID (`campaign_id`, text, required): Campaign ID.
- Contact email (`contact_email`, text, required): Contact email.
- Contact name (`contact_name`, text): Contact name.
- Company (`company`, text): Company.
- Job title (`job_title`, text): Job title.
- Background URL (`background_url`, text): Background URL.
- Authorize charge (`authorize_charge`, true/false, required): Confirm that Sendspark may charge for videos above your plan limit.

**Outputs**

- `data` (object): The response from Sendspark.

**Example output**

```json
{
  "data": {}
}
```

### Add prospects

Add multiple prospects and generate their personalized videos.

**Inputs**

- Workspace (`workspace_id`, text): Workspace ID from Sendspark.
- Campaign ID (`campaign_id`, text, required): Campaign ID.
- Prospects (`prospects`, list, required): Prospects.
- Authorize charge (`authorize_charge`, true/false, required): Confirm that Sendspark may charge for videos above your plan limit.

**Outputs**

- `data` (object): The response from Sendspark.

**Example output**

```json
{
  "data": {}
}
```

### Create campaign

Create a blank dynamic video campaign.

**Inputs**

- Workspace (`workspace_id`, text): Leave blank to use the workspace linked to your API key.
- Name (`name`, text, required): Name.

**Outputs**

- `data` (object): The response from Sendspark.

**Example output**

```json
{
  "data": {
    "_id": "example",
    "name": "example",
    "status": "example"
  }
}
```

### Get campaign

Get a dynamic video campaign.

**Inputs**

- Workspace (`workspace_id`, text): Workspace ID from Sendspark.
- Campaign ID (`campaign_id`, text, required): Campaign ID.

**Outputs**

- `data` (object): The response from Sendspark.

**Example output**

```json
{
  "data": {
    "_id": "example",
    "name": "example",
    "status": "example"
  }
}
```

### Get prospect

Get a campaign prospect by email address.

**Inputs**

- Workspace (`workspace_id`, text): Workspace ID from Sendspark.
- Campaign ID (`campaign_id`, text, required): Campaign ID.
- Email (`email`, text, required): Email.

**Outputs**

- `data` (object): The response from Sendspark.

**Example output**

```json
{
  "data": {
    "contactEmail": "example",
    "id": "example",
    "shareUrl": "example",
    "status": "example",
    "valid": true
  }
}
```

### Get transcript

Read a campaign video transcript.

**Inputs**

- Workspace (`workspace_id`, text): Leave blank to use the workspace linked to your API key.
- Campaign ID (`campaign_id`, text, required): Campaign ID.

**Outputs**

- `data` (object): The response from Sendspark.

**Example output**

```json
{
  "data": {}
}
```

### Get transcript status

Check whether a video transcript is ready.

**Inputs**

- Workspace (`workspace_id`, text): Leave blank to use the workspace linked to your API key.
- Campaign ID (`campaign_id`, text, required): Campaign ID.

**Outputs**

- `data` (object): The response from Sendspark.

**Example output**

```json
{
  "data": {
    "campaignId": "example",
    "generatedAt": "example",
    "language": "example",
    "source": "example",
    "status": "example"
  }
}
```

### Get workspace

Get the workspace linked to your API key.

**Inputs**: None.

**Outputs**

- `data` (object): The response from Sendspark.

**Example output**

```json
{
  "data": {
    "workspaceId": "example"
  }
}
```

### List campaigns

List dynamic video campaigns in a workspace.

**Inputs**

- Workspace (`workspace_id`, text): Workspace ID from Sendspark.

**Outputs**

- `data` (object): The response from Sendspark.

**Example output**

```json
{
  "data": {
    "dynamics": [
      {
        "_id": "example",
        "name": "example",
        "status": "example"
      }
    ]
  }
}
```

### List workspaces

List workspaces you can access.

**Inputs**

- Dropdown rendering (`dropdown_rendering`, true/false): Dropdown rendering.

**Outputs**

- `data` (object): The response from Sendspark.

**Example output**

```json
{
  "data": {
    "workspaces": [
      {
        "_id": "example",
        "name": "example"
      }
    ]
  }
}
```
