I have a bot that performs a GET request to a webhook on the first task. When the webhook returns a 200, I can successfully convert the JSON response into an ‘AppSheet column & type’. I can then dynamically reference that column value in subsequent steps. So far so good.
However, when the webhook returns a 400 or 404, there are deferent return values and therefore nothing will get mapped to the ‘AppSheet column & type’ from my previous example.
I found that the bot will continue to perform subsequent tasks after a 404, but if I use the referenced columns, the bot will completely terminate.
Is there a way to handle webhook response errors?
- If webhook responds with 200 perform steps a, b, c
- If webbook responds with 404 perform steps x, y, z
Using AppSheet Core
Thank you in advance!