Have a OR condition in the parameter value used when calling a external API

Thanks to @Sarah_Esteve’s help I managed to use all the data I collect from a user to fill the parameter expected by my partner API.

I’ve got 1 issue still: the way to user flow is designed forces me to calculate the following parameters on 2 differents ways:

  • date_start

  • length

When setting the API call action in the workflow tab, I’m trying to use a OR condition to get the value from one formula or the other:
Screenshot 2024-05-15 at 14.08.16
Screenshot 2024-05-15 at 14.08.30

Unfortunately, it’s not working when looking at the workflow result with debug_mode. The value filled for date_start parameter looks like this:

Am I doing something wrong here?

You cannot use this OR in Bubble sorry
You should do like :
Get fixed_date_start from page URL is not empty format as text
If yes Get fixed_date_start from page URL
If no Get date_approximate_start from page URL

Same for length

2 Likes

:pray: @Sarah_Esteve it works like a charm in both scenarios. You rock!
Can I buy you a coffee somewhere? :smiling_face_with_tear:

1 Like

don’t hesitate to ping if you come near Montpellier ! or in the next nocode summit in Paris !

1 Like

Count on me :slight_smile:

1 Like