Search code examples
actionformio

Formio Webhook. What form variables are available to use as query parameters for the webhook url?


In the OpenSource version of formio, is it possible to add query parameters to the webhook URL using form data field values?

Example URL: http://10.211.55.40:53130/sms?to={{ data.telNo }}

I am 100% certain that data.telNo is the correct API for the field, yet the webhook shows: "POST /sms?to=undefined HTTP/1.1"

If the data variables are unavailable, are there other variables that can be used?

Thanks, Alan.


Solution

  • Turns out I was being an idiot. The whole submission is passed as JSON, so it's easy to get the values.