# Using Variables in Rules with Gmail Integration

**URL:** <https://forum.asana.com/t/using-variables-in-rules-with-gmail-integration/748706>\
**Category:** App Integrations\
**Tags:** rules\
**Created:** [20 March 2024 20:47 UTC](https://forum.asana.com/t/using-variables-in-rules-with-gmail-integration/748706 "2024-03-20T20:47:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sarah\_Cavanaugh](https://luna1.co/8d76cd.png) [@Sarah\_Cavanaugh](https://forum.asana.com/u/Sarah_Cavanaugh)\
**Post date:** [20 March 2024 20:47 UTC](https://forum.asana.com/t/using-variables-in-rules-with-gmail-integration/748706/1 "2024-03-20T20:47:16Z")

</div>

Hello,

I’m setting up a rule for Asana to send an email (via the Gmail integration) once a particular task is complete.

Is there a way to use variables to pull data from the task that will trigger the rule into the email body copy? Similar to the capabilities available if the “Do this” action were to “Add comment”.

---

<div class="post-metadata">

**Author:** ![Larry\_Berger\_lpb](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/larry_berger_lpb/32/276017_2.png) [@Larry\_Berger\_lpb](https://forum.asana.com/u/Larry_Berger_lpb)\
**Post date:** [21 March 2024 00:49 UTC](https://forum.asana.com/t/using-variables-in-rules-with-gmail-integration/748706/2 "2024-03-21T00:49:35Z")

</div>

Not with the Asana Send Gmail rule, but maybe with [Flowsana.net](http://Flowsana.net) (@Phil_Seeman).

Thanks,

Larry

---

<div class="post-metadata">

**Author:** ![Phil\_Seeman](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/phil_seeman/32/81525_2.png) [@Phil\_Seeman](https://forum.asana.com/u/Phil_Seeman)\
**Post date:** [22 March 2024 04:37 UTC](https://forum.asana.com/t/using-variables-in-rules-with-gmail-integration/748706/3 "2024-03-22T04:37:42Z")

</div>

Hi @Sarah_Cavanaugh,

Yes, you can do this using the “Send email” rule action in our [Flowsana](https://flowsana.net) integration. It supports our [Variable Substitution](https://help.flowsana.net/general/variable-substitution-in-flowsana) feature which lets you pull lots of info from the triggering task into the email subject and/or body.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/system/32/276370_2.png) [@system](https://forum.asana.com/u/system)\
**Post date:** [30 May 2025 19:00 UTC](https://forum.asana.com/t/using-variables-in-rules-with-gmail-integration/748706/4 "2025-05-30T19:00:00Z")

</div>

Closed on 30 May 2025 19:00 UTC


