Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to access data in automation returned by an AWS service

Mike Starov
February 9, 2026

The article on using Amazon with automation list steps on how to invoke different action but completely fails to provide info on how to use the data returned by these actions. Can someone please help? In particular how do I access the return Lambda data after calling "Invoke function from Amazon Lambda" action.

https://support.atlassian.com/cloud-automation/docs/use-amazon-with-automation/

2 answers

1 accepted

1 vote
Answer accepted
Mike Starov
February 10, 2026

I finally figured it out (accidentally) that the data can be found in {{triggeredAmazonFunction}} smart value. The data is of the following format:

{payload={statusCode=200, headers={Content-Type=application/json}, body={"message": "Hello", "some": "Thing"}, pathParams={functionName=arn:aws:lambda:us-west-2:123412341234:function:hello}, queryParams={}}}

This does not seem to be documented but it can be found in the UI when you click on the Smart values button: '{ }'

Screenshot 2026-02-10 074541.png

Mike Starov
February 10, 2026

This was probably apparent to everyone else. :) 

2 votes
taylor
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 10, 2026

Hi Mike! When you use the "Invoke function from Amazon Lambda" action in Jira automation, the response data is typically available in the {{webhookResponse.body}} smart value. You can access specific fields using dot notation like {{webhookResponse.body.yourFieldName}}. Try logging the full response first using the "Log action" to see the exact structure of what your Lambda returns. Also make sure your Lambda is returning a properly formatted JSON response with a statusCode and body. Hope this helps!

Mike Starov
February 10, 2026

{{webhookResponse}} does not work for the  "Invoke function from Amazon Lambda" action. I think it only works for the "Send web request" action

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events