I am looking for the topic mention about how web hook call the script but no result. I was try to modify the ‘ottoreceiver’ script but nothing happen when test firing the web hook. Can someone guide me to the web hook script and parameter, please?
Did you get any response at all when using the test webhook?
If not then the webhook is not set up properly
If you did then the OttoReceiver script in the file the webhook is registered to has an exit script step at the end, make sure that has something in it to return. Does that make it to your test response?
If so then the script is working fine.
You should also see a record in the file you are using with a channel that you set in the webhook and a payload of {“ok”:true,“message”:“This is a test message”}
If not then your file is not set up properly in the first place. Make sure it is a layout called OttoReceiver with a table of OttoData
Did you get any response at all when using the test webhook?
: Yes, I did
If I want to call the other script , what I need to do with the exit script parameter?
The script is called as soon as the record is created, what response did you get?
Did you make sure that there was a value in the exit script step? what response did you get?
If you can show that the test is receiving the value passed out from the script then all is working and there is nothing you need to do to ‘call’ the script, it is already happening.
Once that has been determined, then inside that script you need some logic for what to do based on the channel, so a series of If/Else If statements based on the Channel field, and some steps which run your logic with the data in the Payload.
After that you might need to share a bit more about what you are trying to do…
OK, understood. Thank you very much.