Dear community, I’m running into a situation where webhooks don’t work for my macro app.
Current Behaviour
The page_copied
and page_removed
events do not seem to trigger in my macro app.
Expected Behaviour
page_copied
and page_removed
events should be fired.
Steps to reproduce
- Clone this repo GitHub - mhsiungw/webhooks-tutorial
git clone https://github.com/mhsiungw/webhooks-tutorial.git
cd webhooks-tutorial
-
Run
npm install
-
Start a NGROK server
docker run --net=host -it -e NGROK_AUTHTOKEN="your-token" ngrok/ngrok:latest http --domain="your-ngrok-domain" host.docker.internal:3000
- start project
AC_LOCAL_BASE_URL="your-ngrok-domain" npx nodemon start
-
Register this macro app on Confluence
-
Create a page and insert this app
-
When you view the page, terminal will show
/page_viewed
event fired, but when you copy it,/page_copied
event fired is not shown.
I’d appreciate any guidance and information. Has anyone else encountered this issue? Thanks!