I created PHP webhook and used https service to call the intent response, but when user says unknow intent name it must give the response sorry.
but I didn't get the response.
My code
if(intent->name="name of intent") {
echo response
}
else if(intent->name="name of intent") {
echo response
}
else{
echo response
}
But I'm not getting into else part