Webhooks allow you to receive real-time notifications when workflow events occur. Configure a webhook URL, and yWorkflow will send HTTP POST requests to your endpoint whenever events happen.
Open the main dashboard and select the "Webhook" tab from the navigation.
Provide a valid HTTPS URL for your webhook endpoint. The URL must:
You can add up to 3 custom headers (key-value pairs) that will be included in all webhook requests. This is useful for authentication or custom metadata.
Toggle the "Enabled" switch to activate webhooks. The save button is only enabled when changes are detected.
Click "Save" to store your webhook configuration. Success or error messages will be displayed.
Each webhook configuration has a shared secret that you can use to verify the authenticity of webhook requests. This helps ensure that requests are actually coming from yWorkflow.
The webhook secret is hidden by default for security. Click the "Show" button to reveal it, or "Copy" to copy it to your clipboard.
You can rotate the webhook secret at any time. This generates a new secret and invalidates the old one. Use this for security best practices:
💡 Tip: Use the webhook secret to verify the signature of incoming webhook requests. This ensures the requests are authentic and haven't been tampered with.
The application validates webhook URLs to ensure they meet security requirements:
⚠️ Security Note: IP addresses are not allowed to prevent potential security issues. Always use proper domain names.
Webhook configurations are organization-scoped. This means:
Note: If you belong to multiple organizations, you can configure different webhooks for each one. This allows you to route events to different endpoints based on the organization.
🔐 Verify Webhook Signatures
Always verify webhook signatures using the shared secret to ensure requests are authentic.
⚡ Handle Requests Quickly
Respond to webhook requests quickly (within a few seconds) to avoid timeouts. Process events asynchronously if needed.
🔄 Implement Idempotency
Design your webhook handler to be idempotent. The same event may be delivered multiple times.
📝 Log Webhook Events
Log all incoming webhook events for debugging and audit purposes.
🔄 Rotate Secrets Regularly
Rotate webhook secrets periodically as part of your security practices.