Validate variable names to avoid confusing errors



image avatar

Ahmed Zaid

Zendesk LuminaryUser Group LeaderCommunity Moderator

Posted Jun 19, 2025

I faced some issues during implementation and wanted to share the results of a lengthy troubleshooting so that no one else gets stuck on it.

I had an action where I named the outputs to start with numbers. Let's say 1_foo and 2_bar. This was accepted and the action was tested successfully.

When I used the action in an action flow, I ran into the following errors:

  1. I could not pass the output as inputs to subsequent actions. It simply failed with no error

  2. Using these outputs in Branch step crashes the flow and makes it inaccessible as soon as you click save

Error was only indicated in console

The solution to both problems is to not start output names or any variables with numbers and simply use JavaScript naming convention. I recommend validating this in the action itself.


0

1

1 comment

Thanks so much for taking the time to document this Ahmed!

0


Sign in to leave a comment.

Didn't find what you're looking for?

New post