Hi there,
I am also trying to use a webhook within a flow to have Twilio send an SMS
In Twilio Studio, I am trying to connect to their REST API
https://studio.twilio.com/v2/Flows/MYFLOWIDHERE/Executions
In the message for the Body (within twilio), I have:
{{flow.data.parameters.message}}
In the message for From, I have:
{{flow.data.parameters.From}}
In the message for To, I have:
{{flow.data.parameters.To}}
Now back to klayvio - as mentioned, I am trying to send the webhook to that URL (I have also tried sending it to their webhook URL and I have been unsuccessful).
Originally, I was passing my AccountSID and Auth Token as base64 encoded, but then I noticed Klayvio was ##### a lot of the numbers. Upon further checking with Klayvio, they said they hash it….so I tried sending it without it being encoded.
Ultimately, every time it gets to the webhook in my flow it skips it. I have tried doing it via postman and was able to do it when its x-www-form-urlencoded but ultimately, when sending by JSON (which I believe is what Klayvio does) I can’t get it to work.
This is new to me and I am of course using GPT to help me (although as mentioned, I was able to make it work through postman in certain scenarios).
Anyway if anyone cna provide some input on how to properly send a webhook to Twilio to send an SMS, that would be very much appreciated.
Thank you,
Shane