# Can you use env from workflow-surveys in custom notifications?

**URL:** <https://forum.ansible.com/t/can-you-use-env-from-workflow-surveys-in-custom-notifications/7033>\
**Category:** Get Help\
**Tags:** awx\
**Created:** [July 4, 2024, 8:36am UTC](https://forum.ansible.com/t/can-you-use-env-from-workflow-surveys-in-custom-notifications/7033 "2024-07-04T08:36:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gothsome](https://avatars.discourse-cdn.com/v4/letter/g/278dde/32.png) [@gothsome](https://forum.ansible.com/u/gothsome)\
**Post date:** [July 4, 2024, 8:36am UTC](https://forum.ansible.com/t/can-you-use-env-from-workflow-surveys-in-custom-notifications/7033/1 "2024-07-04T08:36:33Z")

</div>

Hello again!

Id like to add in a workflow a text from the executor/requesor with a reason+name with the env: {{ user\_reason }} and like to add it to the “Workflow pending message”, but i cant save it then, when i add the var without anything else, with “” and with ‘’ i cant safe the settings and dont get any error.  
I saw some requests in the Git for adding all enviroment variables as whitelisted in the custom messages but they didnt see the use of it and i m still not shure if the env user\_reason is the same as those they requested to include.  
I read the [docs](https://docs.ansible.com/automation-controller/latest/html/userguide/notifications.html#create-custom-notifications) and see there is the extra\_vars included, but cant use: {{ job.extra\_vars.user\_reason }} or #{{ job.extra\_vars.user\_reason }}

Thank you again for you valuable input!
