How do I send a response to client from a flow?
Hello, I have created a simple flow that accepts a string as an input, calls a ts action to do some operation on the string. I then tried to call this flow via postman. The flow execute perfectly but I noticed that it returns a GUID, instead of the string returned by the custom action. How do I configure the flow to return the string to postman?
2 Replies
You have to call the
sync
type endpoint.
The async one returns a UUID of the job that you can use to query the results afterwards.Hello @Tiago Serafim, Thanks for this. I see, ok I just tried the sync and it works. If I keep it async, I would I go about querying the job
found it, https://app.windmill.dev/openapi.html#/operations/getJob @Tiago Serafim Thanks again for the help