# Use automation step results in automation scripting

**URL:** <https://community.fibery.io/t/use-automation-step-results-in-automation-scripting/4364>\
**Category:** Get Help\
**Created:** [April 23, 2023, 11:23pm UTC](https://community.fibery.io/t/use-automation-step-results-in-automation-scripting/4364 "2023-04-23T23:23:50Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Tommy\_Hedley](https://sea2.discourse-cdn.com/flex020/user_avatar/community.fibery.io/tommy_hedley/32/6468_2.png) [@Tommy\_Hedley](https://community.fibery.io/u/Tommy_Hedley)\
**Post date:** [April 27, 2023, 5:46pm UTC](https://community.fibery.io/t/use-automation-step-results-in-automation-scripting/4364/6 "2023-04-27T17:46:23Z")

</div>

@Chr1sG Thanks for the info! I’m still not sure that I’m able to get the correct entity info from the first step. When I log args.steps[1] it only returns the entity that the automation has triggered for, not the linked entity. Apologies if I’m just totally messing up the syntax.

 ![Automation Steps](https://us1.discourse-cdn.com/flex020/uploads/fibery/original/2X/4/4929f33987b13c1646b909c0c5597f63ab56c012.png)

 ![Automation Steps Results](https://us1.discourse-cdn.com/flex020/uploads/fibery/original/2X/0/00de45dbcef96e3014b44fcfae2bf7669d9ac97d.png)

---

_[View the full topic](https://community.fibery.io/t/use-automation-step-results-in-automation-scripting/4364)._
