Prepare the receiver
Use your own receiver or clone the webhook example. The example listens on port3001 and uses /webhooks/ofauth.
Expose it over HTTPS
Installcloudflared and start a Quick Tunnel:
/webhooks/ofauth to the end of its generated HTTPS URL. For example, https://example.trycloudflare.com becomes https://example.trycloudflare.com/webhooks/ofauth.
Start and verify the receiver
Follow Set up webhooks to add the URL in the environment you want to test. Copy the destination’s signing secret into your receiver’s environment, then start the receiver. For the example, run:YOUR_DESTINATION_SIGNING_SECRET in .env with the secret you copied. Run npm start.
Select Verify in the dashboard. Then trigger an event in that environment. Confirm that the receiver prints the event’s ID and type.
Quick Tunnel URLs change when the tunnel restarts. Update and verify the destination when the URL changes. Stop the tunnel when you finish.
For a Test environment, lifecycle events can describe real designated accounts while still carrying test: true. Keep Test data separate from Live data. See Test deliveries.