Webhooks
Webhooks allow Notra to receive real-time notifications when events occur in your connected integrations. Instead of polling for changes, webhooks push data to Notra immediately when events happen.How Webhooks Work
When you connect an integration (like GitHub or Linear) to Notra, webhooks are automatically configured to send event notifications to your organization’s webhook endpoint:Supported Providers
Notra currently supports webhooks from the following providers:GitHub
Receive notifications for pushes, releases, and more
Linear
Track issue updates and project changes
Webhook Security
All webhook requests are secured using cryptographic signatures to ensure they originate from legitimate sources.GitHub Signature Verification
GitHub webhooks use HMAC SHA-256 signatures sent in theX-Hub-Signature-256 header. Notra automatically verifies these signatures before processing any webhook payload.
Webhook secrets are automatically generated and managed by Notra when you connect an integration. You don’t need to manually configure them.
Linear Signature Verification
Linear webhooks include aLinear-Signature header for authentication. Notra validates this signature before processing Linear events.
Setting Up Webhooks
Webhooks are automatically configured when you:- Connect an Integration - Navigate to your organization settings and connect GitHub or Linear
- Add a Repository - For GitHub integrations, add specific repositories you want to track
- Enable Event Triggers - Configure which events should trigger workflows
Webhook Delivery
Duplicate Prevention
Notra automatically prevents duplicate webhook processing using the delivery ID:- GitHub: Uses the
X-GitHub-Deliveryheader to track deliveries - Deliveries are cached for 24 hours to prevent reprocessing
- Duplicate deliveries return a success response without reprocessing
Webhook Responses
Success Response
When a webhook is successfully processed:Error Responses
Invalid webhook parameters, missing headers, or malformed payload
Invalid webhook signature - the request could not be authenticated
Integration disabled, or repository doesn’t belong to the integration
Integration or repository not found
Server error while processing the webhook
Webhook Logging
Notra automatically logs all webhook deliveries for debugging and monitoring:- Retention Period: 7 or 30 days depending on your plan
- Log Details: Status, payload, timestamps, error messages
- Access: View logs in your organization dashboard under Integrations
Testing Webhooks
Ping Event
GitHub automatically sends aping event when a webhook is first configured. Notra responds to ping events to confirm the webhook is set up correctly:
Ping Response
You can manually trigger a ping event from your GitHub repository settings under Webhooks to test connectivity.
Next Steps
Event Types
Learn about specific event types and their payloads
Triggers
Configure automated workflows based on webhook events