cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

How do i perform a formula on a list input?

jarh15
Deputy Chef II
Deputy Chef II

Screenshot 2025-05-07 at 9.54.00โ€ฏPM.png

Screenshot 2025-05-07 at 9.53.54โ€ฏPM.png

โ€ƒ

Hi,

I am trying to see if a list is present and if it's not, then use another list. I'm using this in a list input step for a modal. I would use a formula but there is no button for formula mode on list input.โ€ƒ See screenshots

 

 

1 ACCEPTED SOLUTION

1dheeraj2
Deputy Chef III
Deputy Chef III

Hi @jarh15 

As far as i know, list input fields don't support formula mode functionality.

Since you're querying the same sheet with different values, I assume you're working with consistent column structures.

I would use below two approach ( if columns are same )

  1. Using Collections:
  • Collections support formula mode
  • You can check for data existence using expressions
  • Query data from collection. Use Query output in your slack action.
  • Drawback: Requires 2 additional tasks in your flow

    2. Python Connector Approach:
  • Create a custom Python script to handle the logic.
  • Performs all necessary checks internally
  • Returns a consolidated output list
  • Drawback: Requires basic Python knowledge

Please share if you discover an even better solution, as this is a common scenario many of us encounter.

View solution in original post

1 REPLY 1

1dheeraj2
Deputy Chef III
Deputy Chef III

Hi @jarh15 

As far as i know, list input fields don't support formula mode functionality.

Since you're querying the same sheet with different values, I assume you're working with consistent column structures.

I would use below two approach ( if columns are same )

  1. Using Collections:
  • Collections support formula mode
  • You can check for data existence using expressions
  • Query data from collection. Use Query output in your slack action.
  • Drawback: Requires 2 additional tasks in your flow

    2. Python Connector Approach:
  • Create a custom Python script to handle the logic.
  • Performs all necessary checks internally
  • Returns a consolidated output list
  • Drawback: Requires basic Python knowledge

Please share if you discover an even better solution, as this is a common scenario many of us encounter.