-
Notifications
You must be signed in to change notification settings - Fork 46.2k
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Problem
When updating an agent to a new version, webhook trigger URLs do not migrate to the new version. This creates a poor user experience because:
- New URL required for each version: When an agent is updated (v1 → v2), triggering the old webhook URL still calls v1, not the updated v2
- External integrations break: Users who have configured external services (e.g., Telegram bots, third-party webhooks) to call the agent's webhook URL must manually update the URL every time they publish a new agent version
- No way to preserve URLs: Even removing and re-adding a webhook trigger generates a new URL
Current Behavior
As reported in testing on dev:
- Build agent v1, set up webhook trigger → webhook URL works ✅
- Update agent to v2, trigger the same webhook → v1 is called (not v2) ❌
- Creating a new trigger → generates a new URL
- Removing original trigger and creating new one → also generates a new URL
Expected Behavior
Users should be able to migrate/preserve webhook trigger URLs when updating their agent to a new version, so that:
- External integrations continue working without reconfiguration
- The same webhook URL can invoke the latest (or a specified) agent version
Proposed Solution
- Automatic migration (default): When publishing a new agent version, automatically migrate compatible webhook triggers by updating the
AgentPresetto reference the new graph version - Manual migration: For cases where auto-migration isn't possible or the user has opted out, provide a UI option to manually migrate an existing webhook trigger to a newer agent version
Impact
This is particularly problematic for integrations like Telegram bots and other external services where changing the webhook URL requires reconfiguration on the external platform.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request