Extract PDF and send data to third-party system via Webhook

Hello,

I am working with a client who will be using UiPath to extract specific fields from invoices. We intend to use UiPath’s webhook functionality to send this data to another system for processing.

I’m looking for information about how the payload of the webhook will be formatted, specifically for a scanned PDF with fields.

Hi, @carlton.jacobson For a scanned PDF with extracted fields, the UiPath webhook payload is a JSON object. It includes key-value pairs where keys are the field names like invoice number, date, total and values are the extracted data. If there are tables like line items those are arrays inside the JSON.

So, expect a clean JSON structure with all your extracted fields ready to use.

Thats the exact payload format you get with a scanned invoice extraction webhook.

If you want to see it for your specific invoice running a test webhook in UiPath is the best way.

@carlton.jacobson,

May I know why you are using webhook instead of simple http request activity after pdf extraction?

Webhooks allow external systems to subscribe and listen to different types of Orchestrator events.

Simpler and best approach will be sending the extracted data using an http request to the desired endpoints.

@carlton.jacobson

Welcome to the community

May I know how you intend to use webhook? As ideal case would be to use http request and you have related http requests for the same

And for this case till you send a file you wont have a output so there is no point of webhook here as the trigger is coming from external

Cheers