How to access raw request body fields in custom app webhooks

I am developing a custom app, and need to handle the incoming body.

I have set up the webhook and an instant trigger module, and receiving the webhooks is working properly.

In the payload body, I have a field as “current_status” whose values can be “started”, “processing” & “processed”.

For my custom app, I want to include only those webhook events that have “current_status” as “processed”.

{
    "response": {
        "valid": "{{body.current_status == 'processed'}}"
    }
}

But even on doing this, I receive all “current_status” webhook events. I want the module to receive only the “current_status” == “processed” event.

Also, is there a way to put debug in the communication jsonc tab content?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.