#Introduction to Flows

2 messages · Page 1 of 1 (latest)

warm sparrow
#

Hello world. I'm new to Directus and have never been using Flows before. It seems like setting up a Flow does not work as expected when I try to follow the documentation. But is there some kind of a tutorial step-by-step guide somewhere available (YouTube or blog post or whatever) that helps with initially setting up and understanding the different possibilities I have with Flows? It's especially hard for me to understand conditions and how the payload is structured and can be accessed correctly. Thanks for pointing me in the right direction!

warm sparrow
#

Okay, I got a bit further now. Workflow (to create a "slug" based on the "title" field - only if the "slug" field is not yet set) is working now as expected with one exception: If the trigger payload contains an empty slug ("slug": null), i.e. the value of the "slug" field has been manually removed, and I then set a new (automatically generated) slug in an operation of the same flow, the new slug does not get persisted. What can I do to override the "slug": null in the payload of a triggering change action?