Description
We are experiencing an issue with the Incoming Webhook trigger in Confluence Cloud Automation (Webhook version 2.0).
The webhook endpoint successfully receives the HTTP POST request and returns HTTP 200, and the automation flow is triggered successfully. However, the request payload is not available within the automation flow through the documented <span>{{webhookData}}</span> smart value.
Environment
- Confluence Cloud – Enterprise
- Confluence Automation / Flows
- Trigger: Incoming Webhook
- Audit log reports: Webhook version 2.0
- Endpoint:
<span>api-private.atlassian.com/automation/webhooks/confluence/...</span>
Request
We send the following JSON payload:
<span>{
"repository": "ndt_fe",
"content": "Test Frontend documentation from webhook"
}</span>Request headers include:
<span>Content-Type: application/json
X-Automation-Webhook-Token: <secret></span>
The webhook returns:
<span>HTTP/2 200</span>
and the automation is successfully triggered.
Expected behaviour
The following smart values should resolve from the incoming POST payload:
<span>{{webhookData}}
{{webhookData.repository}}
{{webhookData.content}}</span>For example:
<span>{{webhookData.repository}}</span>should return:
<span>ndt_fe</span>
Actual behaviour
All webhook smart values resolve to empty values.
A Log action produces:
<span>webhookData=[]
repository=[]
content=[]</span>
As a result, conditions such as:
<span>{{webhookData.repository}} equals ndt_fe</span>fail because the first value resolves to empty.
Troubleshooting already performed
We have verified that:
- The webhook endpoint returns HTTP 200.
- The Confluence automation flow is triggered successfully.
- The Audit Log identifies the trigger as Webhook version 2.0.
<span>curl --trace-ascii</span> confirms that the JSON request body is actually transmitted to Atlassian.<span>Content-Type: application/json</span> was explicitly specified.<span>{{webhookData}}</span>, <span>{{webhookData.repository}}</span>, and <span>{{webhookData.content}}</span> were tested.<span>{{webhookResponse.body}}</span> was also tested and resolves empty.- We also tested
<span>application/x-www-form-urlencoded</span> using <span>--data-urlencode</span>; the webhook still triggers but the values remain empty. - The Incoming Webhook audit-log entry does not display the request payload; it only displays Webhook version 2.0.