Different webhook URL depending on select field
-
Hi there, I am trying to use a different webhook URL depending on the option selected by the user from a select / dropdown field named "Sector". I have three sectors and three slightly different webhook URLs, which are as follows: Sector 1: https://webhookurl.com/crm/portal/api/callback_wp.jsp?schema=companyname Sector 2: https://webhookurl.com/crm/portal/api/callback_wp.jsp?schema=companyname®ion=sector2 Sector 3: https://webhookurl.com/crm/portal/api/callback_wp.jsp?schema=companyname®ion=sector3 I used the pipe feature on the select / dropdown field, which makes it look like the following: [select* Choosesector "Choose sector|schema=businessname" "Sector 1|schema=businessname" "Sector 2|schema=businessname®ion=sector2" "Sector 3|schema=pvgeneration®ion=sector3"] I then set the webhook URL to the following: https://webhookurl.com/crm/portal/api/callback_wp.jsp?[Choosesector] But this doesn't seem to work. If I add the above to the email body and fill in the contact form and view the email, it displays the URL perfectly. Do you have any idea how I can get this working? Please note, the issue isn't with the URLs, they all work fine. If I create separate forms for each sector instead of just using one and a select / dropdown field, and then put the full webhook URL on to each of the separate forms, it works with no issues. But now I need to go with one form instead of multiple separate ones. Thanks.
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Different webhook URL depending on select field’ is closed to new replies.