---
title: Infoveave Document Download
description: Download documents from the Infoveave document store using document links in input data.
category: Infoveave Activities
tags: [infoveave, document, download, files]
---

# Infoveave Document Download

## **Description**

The **Infoveave Document Download** activity reads document links from an input data column, downloads each document from the Infoveave document store, and writes the downloaded files to the workflow base working folder.

### **Supported Features**

- **Data-driven downloads**: Reads document links from a configured input column.
- **Multiple document download**: Processes every input row.
- **Missing value handling**: Skips rows where the configured column is missing, null, or empty.
- **File output**: Returns downloaded files with file name, full path, and size.
- **Success count status**: Returns success when at least one document is downloaded.

---

## **Input**

| Type | Required | Description |
| --- | --- | --- |
| Data | Yes | Input rows containing document links in the configured column. |

### **Input Scenarios**

#### **1. Single Document Link**

| DocumentUrl |
| --- |
| `ivdoc://.../document/1234` |

#### **2. Multiple Document Links**

| DocumentUrl |
| --- |
| `ivdoc://.../document/1234` |
| `ivdoc://.../document/5678` |

#### **3. Missing Or Empty Links**

Rows where `ColumnName` is missing, null, or empty are skipped. If no documents are downloaded, the activity returns failure with `Downloaded 0 documents.`

---

## **Output**

| Field | Type | Description |
| --- | --- | --- |
| Files | Array | Downloaded files written to the workflow base working folder. |
| FileName | String | File name returned by the document service. |
| FullPath | String | Local path where the downloaded file was written. |
| Size | Number | Downloaded file size in bytes. |

### **Example Output**

```json
{
  "Files": [
    {
      "FileName": "invoice.pdf",
      "FullPath": "C:/Workflow/invoice.pdf",
      "Size": 45821
    },
    {
      "FileName": "report.xlsx",
      "FullPath": "C:/Workflow/report.xlsx",
      "Size": 22570
    }
  ]
}
```

---

## **Configuration Fields**

| Field Name | Type | Required | Description |
| --- | --- | --- | --- |
| ColumnName | Previous Data Column | Yes | Name of the input data column that contains the Infoveave document link. |

### **Conditional Field Rendering Rules**

No conditional configuration fields are defined for this activity.

---

## **Sample Input**

| DocumentUrl |
| --- |
| `ivdoc://.../document/1234` |
| `ivdoc://.../document/5678` |

---

## **Sample Configuration**

| Field | Value |
| --- | --- |
| ColumnName | `DocumentUrl` |

---

## **Sample Output**

```json
{
  "Files": [
    { "FileName": "1234.pdf", "FullPath": "C:/Workflow/1234.pdf", "Size": 12044 },
    { "FileName": "5678.png", "FullPath": "C:/Workflow/5678.png", "Size": 9033 }
  ]
}
```
