I am building an automation for my team. In that automation, I plan to first send a web request, save the result, then send another. I noticed that the log overwrote the first web request's result when I received the result of the second web request.
Is there a way to save both the requests' result? Because in my following actions, I need to use the results from both requests. In some posts, it mentioned that I can create variables to save the information. But I did not find it in the "action" section.
Any help would be appreciated!
To access the response data you will need to select the 'Delay execution' checkbox in the web request component.
On successful web request, you will be able to access response data using the following smart values:
You can also use the `Create variable` component to set any of the values in the response to a variable and use it as a smart value later in the rule.
Thank you! I didn't find "Create variable" in "New action" part. Do you know why?
The web response one did help! I used {{webhookResponses.last.body.result}} and {{webhookResponses.first.body.result}} and it worked. Is there a difference between webhookResponses and webResponses?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do you know how should I find the result for some responses in webResponses? I tried webhookResponses.first.body, webhookResponses.last.body, it all worked. But webhookResponses.second.body didn't return anything.
Thank you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Discover how Atlassian is revolutionizing service management with cutting-edge solutions for AI-powered support, HR Service Management, or DevOps connectivity.
Register here ⬇️Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.