# Create New Variable Within Trigger

**URL:** <https://community.tulip.co/t/create-new-variable-within-trigger/481>\
**Category:** Product Suggestions\
**Created:** [June 18, 2020, 11:45pm UTC](https://community.tulip.co/t/create-new-variable-within-trigger/481 "2020-06-18T23:45:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![justin.mai](https://avatars.discourse-cdn.com/v4/letter/j/67e7ee/32.png) [@justin.mai](https://community.tulip.co/u/justin.mai)\
**Post date:** [June 18, 2020, 11:45pm UTC](https://community.tulip.co/t/create-new-variable-within-trigger/481/1 "2020-06-18T23:45:33Z")

</div>

Hey All!

I think it would be pretty useful to be able to create a new variable when you go to do a data manipulation in an If/Then/Else clause of a trigger:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/agilemfg/original/1X/172d414446939535f77da4ca1516e120b2d7468e.jpeg)

---

<div class="post-metadata">

**Author:** ![kevin.kononenko](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/kevin.kononenko/32/32_2.png) [@kevin.kononenko](https://community.tulip.co/u/kevin.kononenko)\
**Post date:** [July 10, 2020, 5:56pm UTC](https://community.tulip.co/t/create-new-variable-within-trigger/481/2 "2020-07-10T17:56:12Z")

</div>

Hey Justin, you can actually do this! Check out the screenshot below:

![image](https://us1.discourse-cdn.com/flex020/uploads/agilemfg/original/1X/6c02755a1aea03aabbbbd022b38f66ff5c58d305.png)

---

<div class="post-metadata">

**Author:** ![justin.mai](https://avatars.discourse-cdn.com/v4/letter/j/67e7ee/32.png) [@justin.mai](https://community.tulip.co/u/justin.mai)\
**Post date:** [July 10, 2020, 11:18pm UTC](https://community.tulip.co/t/create-new-variable-within-trigger/481/3 "2020-07-10T23:18:06Z")

</div>

Thanks, Kevin! The workflow I was trying was: make the new variable while making the trigger steps. It’s a subtle difference between our screenshots but I see no reason why I can’t just do it your way, or create the variable before editing the trigger.

Thanks again!

---

<div class="post-metadata">

**Author:** ![kevin.kononenko](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/kevin.kononenko/32/32_2.png) [@kevin.kononenko](https://community.tulip.co/u/kevin.kononenko)\
**Post date:** [July 10, 2020, 11:30pm UTC](https://community.tulip.co/t/create-new-variable-within-trigger/481/4 "2020-07-10T23:30:17Z")

</div>

Great, happy to help.
