Actions not executing after successful API call

Actions & Logic

I was going to say hi Flutterflowers...

I've built several apps in flutterflow over the past year and experienced some small bugs along the way but this one is being a pain I the a**.

I'm building an "AI chat app" to be short.

I'm receiving data through an API call from my n8n server. In flutterflow I have the paths set for the incoming JSON data.

Incoming data: { "modelResponse": "", "orderDiscription": "", "orderCreated": bool }

If the model creates an order, I get back { ... "orderCreated": true }.

The action flow in flutterflow is: API call -> if successful -> if orderCreated -> navigate to orderPage

I'm well aware that this is fairly simple but the "if orderCreated" condition after the API call is never executed no matter what I try.

I've played around with this over the last week and it seems that not only the conditional isn't executing aswell as other actions within the "apiCall -> successfull" condition aren't being executed.

This feature is critical, as it assures that actions can be triggered by the model.

Also, this is a silent error/ bug, the actions just don't execute...

In the image I'm sending as an example, nothing bellow the red line is executing, whatever it might be. Even having the API Call and update page state been executed successfully.

What have you tried so far?

Everything and then more.

Did you check FlutterFlow's Documentation for this topic?
Yes
4
7 replies