# How to get $(item.interactionStepId) in workflow

**URL:** https://community.brightpattern.com/t/how-to-get-item-interactionstepid-in-workflow/24
**Category:** Product Q&A
**Tags:** workflow, salesforce
**Created:** [September 4, 2020, 5:29am UTC](https://community.brightpattern.com/t/how-to-get-item-interactionstepid-in-workflow/24 "2020-09-04T05:29:34Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jeneva.meares](https://avatars.discourse-cdn.com/v4/letter/j/f08c70/32.png) [@jeneva.meares](https://community.brightpattern.com/u/jeneva.meares)
#### Post date: [September 4, 2020, 5:29am UTC](https://community.brightpattern.com/t/how-to-get-item-interactionstepid-in-workflow/24/1 "2020-09-04T05:29:34Z")

</div>

Hello Team,  
We would like to know how to get item.interactionStepId in workflow, just as we can do in scenario.  
Our customer would like to insert records into Salesforce for outbound calls just as they do for inbound calls.  
They insert (item.interactionStepId) into salesforce record in inbound scenario. However since it is not possible to configure scenario for manual outbound calls, they have to use workflow to insert the record instead. So they want to get (item.interactionStepId) in workflow to insert into salesforce.

---

<div class="post-metadata">

### Author: ![ivan.malyshkin](https://sea2.discourse-cdn.com/flex020/user_avatar/community.brightpattern.com/ivan.malyshkin/32/8_2.png) [@ivan.malyshkin](https://community.brightpattern.com/u/ivan.malyshkin)
#### Post date: [September 4, 2020, 5:33am UTC](https://community.brightpattern.com/t/how-to-get-item-interactionstepid-in-workflow/24/2 "2020-09-04T05:33:16Z")

</div>

It is (item.globalInteractionId) for scenario and (global\_interaction\_id) for workflow  
[https://help.brightpattern.com/5.3:Workflow-builder-reference-guide/Variables](https://help.brightpattern.com/5.3:Workflow-builder-reference-guide/Variables)
