Automation: can't use smart value {{webResponse}}

Adan Zeng March 5, 2023

I use web request in if/else block:

image.pngThis is my response body.

image.pngBut in the following step, when I want to use {{webResponse}}, it shows the value is empty, no matter I use {{webResponse.body.message}} or {{webResponse.body}}, even {{webResponse}}, it shows empty.


2 answers

1 vote
Kristopher Perez
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 10, 2023

Hey @Adan Zeng ,

Before complicating the automation with If/Else blocks, make sure you are getting the responses that you expect.  The best way to do this is with the "Log Action" action.

There shouldn't be anything that stops the web request body or status from being reported in the If/Else block.

This works fine for me with an automation I am already using to monitor for new Public Filters.

Your next step would be to add a Log Action right after the request and keep working at it until you get the responses you are expecting.  The one "Gotcha" is making sure to have the check marks under "Wait for responses."  Based on what you are looking for you would need both.







1 vote
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 6, 2023

Hi @Adan Zeng, welcome to the community!

Have you tried the smart value {{webhookResponse.body}}?



Adan Zeng March 8, 2023

It didn't work for me. I think the root cause is I use web request in if/else block, and I can only get the response inside block.

Thomas Wolfe February 25, 2024

Thanks Melo

Had similar problem. Replaced webResonse with webhookResponse and it worked

Like Melo likes this

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events