You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Send processed data from Unstructured to local storage.
6
+
7
+
This local destination connector is supported only for REST API clients such as `curl` and Postman. It is currently not supported by the Unstructured user interface (UI) or the Unstructured Python SDK.
8
+
9
+
The local destination connector works only with the [local source connector](/api-reference/workflow/sources/local). You cannot use the local destination connector with any other source connector.
10
+
11
+
For details, see the following:
12
+
13
+
1.[Create a workflow](/api-reference/workflow/workflows#create-a-workflow) that uses a local destination and local source.
14
+
2.[Run a workflow as a job](/api-reference/workflow/overview#run-a-workflow) that uses a local destination and local source.
15
+
3.[Download a processed local file from the workflow's completed job run](/api-reference/workflow/overview#download-a-processed-local-file-from-a-job).
Copy file name to clipboardExpand all lines: api-reference/workflow/overview.mdx
+18-3Lines changed: 18 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1760,15 +1760,18 @@ the `POST` method to call the `/workflows/<workflow-id>/run` endpoint (for `curl
1760
1760
- `<filename.extension>` with the filename of the local file to upload.
1761
1761
- `<local-file-media-type>` with the local file's media type. For a list of available media types, such as `application/pdf`, see [Media Types](https://www.iana.org/assignments/media-types/media-types.xhtml).
1762
1762
1763
+
To upload multiple files, add additional `--form` entries, one per file.
--form "input_files=@</full/path/to/local/filename.extension>;filename=<filename.extension>;type=<local-file-media-type>"# For each additional file to be uploaded.
1771
1772
```
1773
+
1774
+
To access the processed files' data, [download a processed local file](#download-a-processed-local-file-from-a-job) from the workflow's job run.
1772
1775
</Accordion>
1773
1776
<Accordiontitle="Postman (remote source and remote destination)">
1774
1777
1. In the method drop-down list, select **POST**.
@@ -1810,12 +1813,24 @@ the `POST` method to call the `/workflows/<workflow-id>/run` endpoint (for `curl
1810
1813
4. On the **Body** tab, select **form-data**, and specify the settings for the workflow run:
1811
1814
1812
1815
-**Key**: `input_files`, **File**, **Value**: Click the **Value** box, then click **New file from local machine**, and select the file to upload.
1816
+
1817
+
To upload multiple files, add additional `input_files` entries after this one, one entry per additional file to upload.
1818
+
1813
1819
-**Key**: `filename`, **Text**, **Value**: Type the name of the file that you just uploaded.
1820
+
1821
+
To upload multiple files, add additional `filename` entries after this one, one entry per additional file to upload. Make sure the order of these
1822
+
`filename` entries matches the order of the `input_files` entries, respectively.
Ingest your files into Unstructured from local storage.
6
+
7
+
This local source connector is supported only for REST API clients such as `curl` and Postman. It is currently not supported by the Unstructured user interface (UI) or the Unstructured Python SDK.
8
+
9
+
The local source connector works only with the [local destination connector](/api-reference/workflow/destinations/local). You cannot use the local source connector with any other destination connector.
10
+
11
+
For details, see the following:
12
+
13
+
1.[Create a workflow](/api-reference/workflow/workflows#create-a-workflow) that uses a local source and local destination.
14
+
2.[Run a workflow as a job](/api-reference/workflow/overview#run-a-workflow) that uses a local source and local destination.
15
+
3.[Download a processed local file from the workflow's completed job run](/api-reference/workflow/overview#download-a-processed-local-file-from-a-job).
0 commit comments