activepieces / activepieces

Your friendliest open source all-in-one automation tool ✨ Workflow automation tool 100+ integration / Enterprise automation tool / Zapier Alternative

Home Page:https://www.activepieces.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Test URL for Webhook Trigger

abuaboud opened this issue · comments

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.

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