Want to create addon/ integrate webMethods.io to receive notifications like slack.

Hi,
I am trying to create a plugin that receives data as soon as some event in performed in confluence basically that acts as webhook so I raised a ticket for the same.
https://community.atlassian.com/t5/Confluence-questions/Does-confluence-Cloud-supports-Webhooks/qaq-p/1229110#M160678

The response was received saying that this can be achieved through macros.
https://developer.atlassian.com/cloud/confluence/getting-started/?_ga=2.99411352.72052748.1574662864-2100942594.1546942994

I went through the above link and still confused can I get instant notifications through macros.
If yes please guide me the proper steps to create one through node.js
If no then let me know how can we get live data of the event performed.

Regards,
Kuldeep

Hi @webmethodsintegratio - the developer docs on Confluence Cloud webhooks can be found here:

https://developer.atlassian.com/cloud/confluence/modules/webhook/

That doc might seem a bit confusing, because it mentions both Jira Cloud and Confluence Cloud webhooks. Just scroll down to the section titled: Confluence Webhook events

1 Like

Hi,
Thanks for your reply.
I already went through the link you have mentioned above.
My concern is I am using an Oauth2 Access token to make Confluence Cloud API calls but there is no proper URL specified to register webhooks in the Confluence webhooks link. So I raised a ticket for the same.
Below is the mentioned ticket link

Oauth2 creation link
https://developer.atlassian.com/cloud/jira/platform/oauth-2-authorization-code-grants-3lo-for-apps/

If Confluence Cloud supports webhook that would be wonderful.
It would be really helpful if you can provide me with a proper example along with the URL to register webhooks.
If not, can you provide me with a different way to achieve this?

Regards,
Kuldeep Kushwaha

Hi,
Create an addon in confluence by using macros.
But still I am unable to get webhook notifications even though I have added my webhook object in atlassian-connect.json. Below is the webhook object
“modules”: {
“webhooks”: [
{
“event”: “page_created”,
“url”: <webhook_notification url>
}
}
I have even added credentials in my credentials.json file
Am I missing something is there someting more to be added.
Can you please help me with this.

Regards,
Kuldeep Kushwaha