# Adobe PDF Services

> Create, convert and prepare PDFs with Adobe PDF Services.

App · 12 actions. Web page: https://docs.lodol.com/docs/integrations/adobe-pdf-services

## Actions

### Compress PDF

Compress PDF.

**Inputs**

- Asset ID (`asset_id`, text, required): Asset ID from Upload asset.
- Compression level (`compression_level`, text): Amount of compression. One of: `LOW`, `MEDIUM`, `HIGH`.

**Outputs**

- `data` (object): The response from Adobe PDF Services.

**Example output**

```json
{
  "data": {
    "job_id": "example",
    "operation": "example"
  }
}
```

### Create PDF

Create PDF.

**Inputs**

- Asset ID (`asset_id`, text, required): Asset ID from Upload asset.

**Outputs**

- `data` (object): The response from Adobe PDF Services.

**Example output**

```json
{
  "data": {
    "job_id": "example",
    "operation": "example"
  }
}
```

### Delete asset

Remove a PDF Services asset you no longer need.

**Inputs**

- Asset ID (`asset_id`, text, required): Asset ID from Upload asset.

**Outputs**

- `data` (object): The response from Adobe PDF Services.

**Example output**

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

### Export PDF

Export PDF.

**Inputs**

- Asset ID (`asset_id`, text, required): Asset ID from Upload asset.
- Target format (`target_format`, text, required): Output file format. One of: `docx`, `doc`, `pptx`, `xlsx`, `rtf`.

**Outputs**

- `data` (object): The response from Adobe PDF Services.

**Example output**

```json
{
  "data": {
    "job_id": "example",
    "operation": "example"
  }
}
```

### Get asset download URL

Get asset download URL.

**Inputs**

- Asset ID (`asset_id`, text, required): Asset ID from Upload asset or Get PDF job status.

**Outputs**

- `data` (object): The response from Adobe PDF Services.

**Example output**

```json
{
  "data": {
    "downloadUri": "example",
    "size": 1,
    "type": "example"
  }
}
```

### Get asset metadata

Read the file type and size of a PDF Services asset.

**Inputs**

- Asset ID (`asset_id`, text, required): Asset ID from Upload asset.

**Outputs**

- `data` (object): The response from Adobe PDF Services.

**Example output**

```json
{
  "data": {
    "entity": {},
    "size": 1,
    "type": "example"
  }
}
```

### Get PDF job status

Get PDF job status.

**Inputs**

- Operation (`operation`, text, required): Operation returned by the PDF processing step. One of: `compresspdf`, `ocr`, `createpdf`, `exportpdf`, `linearizepdf`, `protectpdf`, `removeprotection`.
- Job ID (`job_id`, text, required): Job ID returned by the PDF processing step.

**Outputs**

- `data` (object): The response from Adobe PDF Services.

**Example output**

```json
{
  "data": {
    "asset": {
      "downloadUri": "example",
      "size": 1,
      "type": "example"
    },
    "status": "example"
  }
}
```

### Optimize PDF for web

Optimize PDF for web.

**Inputs**

- Asset ID (`asset_id`, text, required): Asset ID from Upload asset.

**Outputs**

- `data` (object): The response from Adobe PDF Services.

**Example output**

```json
{
  "data": {
    "job_id": "example",
    "operation": "example"
  }
}
```

### Protect PDF

Protect PDF.

**Inputs**

- Asset ID (`asset_id`, text, required): Asset ID from Upload asset.
- User password (`user_password`, text, required): Password required to open the PDF.
- Encryption algorithm (`encryption_algorithm`, text, required): Encryption strength. One of: `AES_256` (Aes 256), `AES_128` (Aes 128).

**Outputs**

- `data` (object): The response from Adobe PDF Services.

**Example output**

```json
{
  "data": {
    "job_id": "example",
    "operation": "example"
  }
}
```

### Recognize text in PDF

Recognize text in PDF.

**Inputs**

- Asset ID (`asset_id`, text, required): Asset ID from Upload asset.
- Locale (`locale`, text): Text language and locale, such as en-US.

**Outputs**

- `data` (object): The response from Adobe PDF Services.

**Example output**

```json
{
  "data": {
    "job_id": "example",
    "operation": "example"
  }
}
```

### Remove PDF protection

Remove PDF protection.

**Inputs**

- Asset ID (`asset_id`, text, required): Asset ID from Upload asset.
- Password (`password`, text, required): Password of the secured PDF.

**Outputs**

- `data` (object): The response from Adobe PDF Services.

**Example output**

```json
{
  "data": {
    "job_id": "example",
    "operation": "example"
  }
}
```

### Upload asset

Upload asset.

**Inputs**

- File (`file`, text, required): File to upload as a PDF Services asset.

**Outputs**

- `data` (object): The response from Adobe PDF Services.

**Example output**

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