-
Self Checks
1. Is this request related to a challenge you're experiencing? Tell me about your story.I've built a webhook-triggered workflow that attempts to read the However, after publishing the workflow and calling it via the workflow API, I found that the webhook is receiving empty input, causing subsequent workflow nodes to behave unexpectedly. I want to check if there are any errors in my request body. I think my current request body has been formatted according to the documentation. 2. Additional context or commentsNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
|
Hi @LHB6540! I'm Dosu and I’m helping the dify team. The root cause is that in published workflows, the webhook trigger node expects its input fields (like To fix this, structure your API call like this: {
"inputs": {
"webhook_data": {
"body": {
"doc_content": "updateInfo:20251216215706 - clientVersion:202512301554153",
"requests": "{\"version\": 20251216215706}"
}
}
},
"user": "dify"
}This way, the webhook node will correctly extract If you still see empty inputs, double-check that your workflow is deployed (not just in draft), the webhook trigger is enabled, and the HTTP method/content-type matches your node configuration (source). This input wrapping requirement is not always obvious in the documentation, so it's a common stumbling block. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.




I understand what's going on.
Webhook triggers provide dedicated endpoints for triggering workflows, rather than using the workflow API.
However, the "Access (Request) API" instructions accompanying each workflow interface can easily mislead users into thinking that this method can be used to drive workflows. In fact, workflow API access is only applicable to workflows that begin with "user input" type input.