Test URL for Webhook Trigger
abuaboud opened this issue · comments
Mohammed Abu Aboud commented
Description:
- Problem: When a scheduled flow is published and then changed to draft trigger, the webhook test functionality breaks. This prevents users from testing the flow with sample data.
- Problem: Users should be able to regenerate sample data without triggerinig the published version.
Solution:
- Introduce two webhook URLs within the trigger configuration:
- Test URL:
- Always saves the provided test data to the trigger event table.
- Does not trigger the actual flow execution.
- Production URL:
- Saves the data to the trigger event table.
- Checks for a published version of the flow.
- If no published version exists, returns a "Not Found" error.
- If a published version exists, triggers the published flow execution.
- Test URL:
Display the two url usiing the markdown snippet and release new version of webhook trigger.
github-actions commented
⚠️ COMMENT VISIBILITY WARNING⚠️
Comments on closed issues are hard for our team to see.
If this issue is continuing with the latest stable version of Activepieces, please open a new issue that references this one.