Hi,
I want to run a PHP code if the automation triggers a webhook call. Thank you @dipro
With the following code I was able to create the automation. So if a column changes the webhook will be triggered.
<?php
$data = json_decode(file_get_contents('php://input'), true);
$message = [
"challenge" => $data["challenge"]
];
file_put_contents("response1.log", print_r(json_encode($data), true));
header('content-type: application/json');
echo json_encode($message);
?>
My problem now is that I don’t know how I can get the value from a specific column to work with this value in my code.
As I can not see the response from the webhook call I even can not test it.
Does anyone have a code for me that shows how I can get the value from the column to work with this data in my PHP code?
Thank you