#How to response from flow webhook type?
14 messages · Page 1 of 1 (latest)
Thanks for posting! This is a community powered server, so you may or may not get an answer based on available help and expertise. To increase your chances of somebody being able to help you, please help us help you making sure you:
- Adding an explanation of exactly what you're trying to achieve.
- Adding any and all related code or previous attempts.
- Describing the exact issue or error you are facing.
- Posting any screenshots if applicable.
- Reading through https://stackoverflow.com/help/how-to-ask.
When you're done with this thread, please close it. Thanks! ✨
(If you have a support agreement and need help, please contact the core team via email.)
Can you provide some more specific details on what you’re trying to achieve?
There’s not enough context here for us to help
So i created a flow which is triggered by webhook , and im wondering how could I respone to the request which was sent to trigger the flow ?
if im correct, you can use the last operation to return a response
so if the last response returns:
{"id": 1}
that will be the response of the webhook
But what type of "block" should i use
Whatever you want 🙂
I think you dont understan my question, i have a flow which i trigger by webhook ( http request ) how could I send request response using flow
the output of the last operation will be the response of the workflow
so if you have a create record, it will be [id] or the error
if you have a runscript, the return value will be the response
and so on for the other operations
So why i dont get response from my flow , while doing const data = await directus.transport.post(DIRECTUS_UPDATE_GUILDS_ENDPOINT); ?