You can create a workflow rule in your AppSheet app that will post a JSON payload to a PHP service that you write.
To do this:
- Create a webhook workflow rule.
- Add a JSON payload template to the workflow rule. The template controls the format of the JSON data sent in the body of the webhook post.
- Your PHP code that is invoked by the webhook post can retrieve the post body data by specifying:
$postdata = json_decode(file_get_contents("php://input")); - After successfully processing the webhook request, your PHP code should return a JSON object containing {"Status":"Success"}.