When I set up Bots to perform a webhook, the response is as follows:
If successful:
"response": {"data": "success"}
If failed:
"response": {"error": "error reason...."}
I want to use the next automation step 'Branch on a condition' to determine true or false and take different actions accordingly.
How should I set my webhook's "Specific Type" field and the expression for 'Branch on a condition'?
Here is my current setup:
If the API call is successful or error, it encounters an issue.
response error
The AppSheet Bots Monitor shows the error: Failed Webhook type translation: Key 'data' not found in returned object.
response successful
The AppSheet Bots Monitor shows the error: Failed Webhook type translation: Key 'error' not found in returned object.
Does anyone know how to configure this correctly? Thank you!
User | Count |
---|---|
33 | |
11 | |
3 | |
2 | |
2 |