Partilhar via


Docparser

Extract data from PDF files & automate your workflow with our reliable document parsing software.

This connector is available in the following products and regions:

Service Class Regions
Logic Apps Standard All Logic Apps regions except the following:
     -   Azure Government regions
     -   Azure China regions
     -   US Department of Defense (DoD)
Power Automate Premium All Power Automate regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Power Apps Premium All Power Apps regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Connector Metadata
Publisher Docparser
Find out more about the Docparser API. https://docs.microsoft.com/connectors/docparser

Creating a connection

The connector supports the following authentication types:

Default Parameters for creating connection. All regions Not shareable

Default

Applicable: All regions

Parameters for creating connection.

This is not shareable connection. If the power app is shared with another user, another user will be prompted to create new connection explicitly.

Name Type Description Required
API Key securestring The API Key for this api True

Throttling Limits

Name Calls Renewal Period
API calls per connection 100 60 seconds

Actions

Fetch document from a URL

If your files are stored under a publicly accessible URL, you can also import a document by providing the URL to our API. This method is really straight forward and you just need to perform a simple POST or GET request with url as the parameter.

Upload a document to Docparser

Uploading a document to Docparser works like uploading a file with a HTML form. All you need to do is to send a form-data request to the API endpoint containing the document in the form field file.The return value of a successful upload is the ID of the newly created document, the filesize of the imported document as well as account usage data.

Fetch document from a URL

If your files are stored under a publicly accessible URL, you can also import a document by providing the URL to our API. This method is really straight forward and you just need to perform a simple POST or GET request with url as the parameter.

Parameters

Name Key Required Type Description
Your Document Parser
parser_id True string

Enter parser id.

Url
url True string

The location of a publicly accessible document.

Remote Id
remote_id string

Optional parameter to pass through your own document ID.

Returns

Name Path Type Description
Id
id string

Unique identifier of the document.

Size
file_size integer

File size of the fetched document.

Quota Used
quota_used integer

Part of the quota used.

Quota Left
quota_left integer

Part of the quota left.

Quota Refill
quota_refill string

Updated date-time of the quota.

Upload a document to Docparser

Uploading a document to Docparser works like uploading a file with a HTML form. All you need to do is to send a form-data request to the API endpoint containing the document in the form field file.The return value of a successful upload is the ID of the newly created document, the filesize of the imported document as well as account usage data.

Parameters

Name Key Required Type Description
Your Document Parser
parser_id True string

Enter parser id.

File Content
file True file

The file to upload.

Remote Id
remote_id string

Optional parameter to pass through your own document ID.

Returns

Name Path Type Description
Id
id string

Unique identifier of the document.

Size
file_size integer

File size of the uploaded document.

Quota Used
quota_used integer

Part of the quota used for file upload.

Quota Left
quota_left integer

Part of the quota left after file upload.

Quota Refill
quota_refill string

Updated date-time of the quota.

Triggers

New parsed document data is available

Creates a Docparser webhook.

New parsed document data is available

Creates a Docparser webhook.

Parameters

Name Key Required Type Description
Your Document Parser
parser_id True string

Enter parser id.

Returns

The outputs of this operation are dynamic.