Workflow not running when triggered via query

I have a simple workflow that fetches data from an api.

It works perfectly fine when i run it from the workflow screen with the big button at top right, however when i trigger it via a query in my app, the first code won’t even launch, and the query ends in a success.

I have no logs showing, but the data from my code shows this when triggering from app. (First screenshot when triggering from app, second when running manually).

Hello @Noe_Madranges! Welcome to the community.

I believe you need to publish your changes (big blue button in the upper right) and then refresh the app page. The second screenshot is showing the results as you expect because you are actively editing. The first screenshot shows the default code block from when you first created the workflow which is what the app is triggering.

thanks a lot !

1 Like