# After user update automation: can it trigger from one required field, while optionally including other profile/custom fields if present?

**URL:** https://meta.discourse.org/t/after-user-update-automation-can-it-trigger-from-one-required-field-while-optionally-including-other-profile-custom-fields-if-present/404595
**Category:** Support
**Tags:** automation
**Created:** [June 5, 2026, 10:42am UTC](https://meta.discourse.org/t/after-user-update-automation-can-it-trigger-from-one-required-field-while-optionally-including-other-profile-custom-fields-if-present/404595 "2026-06-05T10:42:56Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [June 5, 2026, 4:42pm UTC](https://meta.discourse.org/t/after-user-update-automation-can-it-trigger-from-one-required-field-while-optionally-including-other-profile-custom-fields-if-present/404595/6 "2026-06-05T16:42:35Z")

</div>

Sure, so `{{foo}}` is the field itself, and the `{{#foo}} {{/foo}}` around it is a conditional block. So if `foo` isn’t filled out, nothing between `{{#foo}} {{/foo}}` will render.

So if you did

```markdown
My name is {{foo}}

```

and foo wasn’t defined, you’d get “My name is” in a post

but if you use

```markdown
{{#foo}}My name is {{foo}}{{/foo}}

```

and foo is not defined, “My name is” will also be excluded from the post

---

_[View the full topic](https://meta.discourse.org/t/after-user-update-automation-can-it-trigger-from-one-required-field-while-optionally-including-other-profile-custom-fields-if-present/404595)._
