Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test URL for Webhook Trigger #4629

Closed
abuaboud opened this issue May 4, 2024 · 1 comment · Fixed by #4635
Closed

Test URL for Webhook Trigger #4629

abuaboud opened this issue May 4, 2024 · 1 comment · Fixed by #4635
Assignees
Labels
🌟 announcement this feature needs announcement 🐛 bug Something isn't working

Comments

@abuaboud
Copy link
Contributor

abuaboud commented May 4, 2024

Description:

  1. 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.
  2. 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.

Display the two url usiing the markdown snippet and release new version of webhook trigger.

@abuaboud abuaboud added 🐛 bug Something isn't working 🌟 announcement this feature needs announcement labels May 4, 2024
@abuaboud abuaboud changed the title Test Webhook URL Test URL for Webhook Trigger May 4, 2024
Copy link

github-actions bot commented May 9, 2024

⚠️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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌟 announcement this feature needs announcement 🐛 bug Something isn't working
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

2 participants