Webhook guide
You can use webhooks to receive real-time notifications when your documentation updates or when specific repository events occur. This guide helps you connect your external systems to the DocuBot synchronization pipeline to automate your documentation workflows.
Configure the webhook endpoint
In your dashboard settings, navigate to the Webhooks section to provide a destination for event notifications.
- Enter the destination URL for your webhook endpoint.
- Save the configuration to generate a unique secret key.
- Copy the secret key to a secure location; you need this to verify that incoming requests originate from DocuBot.
Select event triggers
Define which repository or system actions should trigger a documentation refresh or notification.
- Review the list of available event triggers, such as code pushes or manual sync requests.
- Select the checkboxes for the events you want to monitor.
- Update your settings to subscribe the webhook to these specific actions.
Verify the payload signature
To maintain security, you must ensure that incoming requests are authentic and originate from the authorized source.
- Locate the signature header in the incoming request.
- Use your secret key to compute the HMAC signature of the request payload.
- Compare your computed signature with the value in the header.
- Only process the request if the signatures match.
Test the connection
Confirm that your endpoint is reachable and responding correctly by sending a test event.
- Click the Test webhook button in the dashboard.
- Check your server logs to confirm receipt of the test payload.
- Verify that a successful status code is returned and logged in the webhook history within the dashboard.
Handle delivery failures
Configure how your system responds to timeouts or error codes to ensure reliable integration.
- Monitor the delivery status logs in the dashboard to identify failed attempts.
- Ensure your server responds within the required timeout period to prevent delivery errors.
- Review the automated retry schedule if your endpoint returns an error code.
Support
If you encounter issues during setup or verification, contact our support team at support@ademero.com or visit https://www.ademero.com. You can also reach us by phone at 863-937-0272.