Skip to content
APIANTdocs
GuidePlatformv1

Emit first non-empty value

Learn how to efficiently evaluate and prioritize multiple conditions in this document. Discover a method to map values from conditional branches, ensuring the first non-empty value is prioritized. Utilize the "emit first non-empty value" action in the Tra

#automation#actions

Consider this diagram, where lots of conditions are evaluated:

Then consider if after all of that you need to map a value that may come from more than one of those conditional branches, where depending on which branch is executed there is a priority order where you want to grab the first non-empty value.

There is a easy way to do that with the "emit first non-empty value" action in the Transform Text app:

Map in a list of values from the preceding actions. The first non-empty value in the list will be emitted when the action runs:

You can also define a default value to emit if all mapped values are empty.

Related docs

CalendarConnect: Calendly → Mindbody
#actions
CRMConnect: DonorPerfect → ActiveCampaign
#automation
Automation Editor
#automation#actions
AppConnect
#automation
APIANT Inline
#automation
Last updated April 4, 2026