How do I extract just part of a 'webResponse'
I have the following from a 'Send Web Request'
WebhookResponseBean{status=200, statusCategory=SUCCESS, headers={Connection=[keep-alive], Content-Length=[350], Content-Type=[application/json], Date=[Mon, 30 Dec 2024 23:01:01 GMT], Server=[Werkzeug/3.1.3 Python/3.13.0], Via=[1.1 ip-10-125-126-85 (squid)], X-Cache=[MISS from ip-10-125-126-85]}, body={message=To archive......
I just want to extract anything after the message=
How do I do this ( So I can add it as a comment on an issue )
Thanks in advance
Hi @SGC Associates Ltd and welcome to the Community!
You'll want to use:
{{webResponse.body.message}}
Darryl
Thanks for that
But doesnt seem to work, I have tried variations but to no avail
Is there a way to use something like javascript etc ?
Many Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I was trying to find documentation for this, but it's embarrassingly scant:
Probably the best documentation is from Automation itself:
To access the response data you will need to select the 'Delay execution' checkbox above.
On successful web request, you will be able access response data using the following smart values:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @SGC Associates Ltd, I'm sorry to hear you're having issues. If you can, it'd be helpful if you can take a screenshot of your rule or at least the parts with the web request and the part for the Comment.
This is an example of what should work in your case:
Hmmmm, actually, considering what you posted includes Webhook... maybe you're on Data Center (on-prem)? Sorry my bad for ASSuming you were on Cloud.
If you are on Data Center, you would want to use:
{{webhookResponse.body.message}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, It does work,
Just takes a few seconds to add !
Many Thanks
Truly appreciated
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.