Passing Webhook Payload to a Process

Hi,

My current system consists of a webhook that triggers any time any process is faulted in orchestrator. This webhook, in turn triggers an automation. Now this works as it should, but I need to pass the details of the webhook to the process to act accordingly. This payload, when tested with https://webhook.site/, is present, so the webhook is correctly passing this information.
The issue is that in the process, I am not sure on how to fetch this data. I tried using the webhook trigger within the process as attached, but the body is empty. Any ideas?

Thanks

Hi @Leonel_Bonnici

If your question is about being able to send a webhook into your process and debug with “live” data this way, then I will have to disappoint you because that isn’t currently possible.

You can, however, insert your sample JSON structure in the Debug body property of the Webhook activity, which will be used to populate the Body or Headers output for you to work with your process.

I believe the team behind the HTTP Webhook trigger is looking how to further improve this experience.

Maybe @Ramsay_Grove will be able to provide more context.

I see. So if I want a webhook to send data from a faulted job, for another automation to pick it up, this is only achievable through a middle-man such as gsheets, text file, etc…, right? Is there an ‘ideal’ way or best practice for this?

Hi @Leonel_Bonnici

this is my understanding correct me if I am wrong.

Any of your job faults will send a request to the webhook with a payload containing some info. Your webhook will then trigger another automation which does certain processing

Your issue is the body of your webhook trigger is blank when you receive a request?

So does your header contain some info and is it different from what you see in webhook.site?

Also, as @loginerror pointed out you wont be able to debug the process but I believe it should execute.

Hi, the header is also empty.
I tested it live and this was the case, so it was not just for debugging.
Does the webhook payload of info needs to be ‘connected’ in any way to be access in the triggered process?

not so sure about that. Could you query the url with postman and pass some sample payload and see what you receive in UiPath.